

          * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            overflow-x: hidden;
            background-color: #000;
            color: #fff;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .planets-container {
            position: relative;
            width: 100%;
            max-width: 1200px;
            padding: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 3rem;
            z-index: 2;
        }

        .stars-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="2000" viewBox="0 0 2000 2000"><rect width="100%" height="100%" fill="transparent"/><circle cx="100" cy="150" r="1" fill="white" opacity="0.8"/><circle cx="300" cy="450" r="1.2" fill="white" opacity="0.6"/><circle cx="700" cy="250" r="1.5" fill="white" opacity="0.9"/><circle cx="900" cy="50" r="1" fill="white" opacity="0.5"/><circle cx="1500" cy="350" r="1.3" fill="white" opacity="0.7"/><circle cx="1200" cy="500" r="1" fill="white" opacity="0.8"/><circle cx="400" cy="700" r="1.2" fill="white" opacity="0.6"/><circle cx="800" cy="900" r="1.5" fill="white" opacity="0.9"/><circle cx="1600" cy="650" r="1" fill="white" opacity="0.5"/><circle cx="200" cy="950" r="1.3" fill="white" opacity="0.7"/><circle cx="600" cy="1200" r="1" fill="white" opacity="0.8"/><circle cx="1000" cy="1500" r="1.2" fill="white" opacity="0.6"/><circle cx="1400" cy="1100" r="1.5" fill="white" opacity="0.9"/><circle cx="1800" cy="850" r="1" fill="white" opacity="0.5"/><circle cx="200" cy="1300" r="1.3" fill="white" opacity="0.7"/><circle cx="500" cy="1600" r="1" fill="white" opacity="0.8"/><circle cx="900" cy="1800" r="1.2" fill="white" opacity="0.6"/><circle cx="1300" cy="1400" r="1.5" fill="white" opacity="0.9"/><circle cx="1700" cy="1200" r="1" fill="white" opacity="0.5"/></svg>');
            z-index: 1;
            animation: twinkle 100s linear infinite;
        }

        @keyframes twinkle {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .planet {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            cursor: pointer;
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.5s ease;
            animation: pulse 6s infinite ease-in-out;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
            overflow: hidden;
            z-index: 2;
        }

        .planet::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, 
                      rgba(255,255,255,0.8) 0%, 
                      rgba(255,255,255,0.1) 70%);
            opacity: 0.3;
        }

        .planet-text {
            position: relative;
            font-size: 1.2rem;
            font-weight: bold;
            text-align: center;
            color: rgb(161, 160, 230);
            text-shadow: 0 0 10px rgba(0,0,0,0.5);
            z-index: 3;
            padding: 1rem;
            transition: all 0.3s ease;
            
        }

        .planet:hover .planet-text {
            transform: scale(1.1);
        }

        .planet-1 {
            animation-delay: 0.3s;
        }

        .planet-2 {
            animation-delay: 0.6s;
        }

        .planet-3 {
            animation-delay: 0.9s;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
            }
            50% {
                transform: scale(1.1);
                box-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
            }
        }

        .planet-info {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 1);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 100;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease;
            padding: 2rem;
            text-align: center;
            overflow-y: auto;
justify-content: flex-start;

        }

        .planet-info.active {
            opacity: 1;
            pointer-events: all;
        }

        .planet-info h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: #fff;
            text-shadow: 0 0 10px rgba(255,255,255,0.3);
        }

        .planet-info p {
            font-size: 1.2rem;
            max-width: 600px;
            line-height: 1.6;
            margin-bottom: 2rem;
        }

        .back-btn {
            padding: 0.8rem 2rem;
            background: transparent;
            color: white;
            border: 2px solid white;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .back-btn:hover {
            background: white;
            color: black;
        }

        .side-menu {
            position: fixed;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 70px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 20px 0 0 20px;
            padding: 15px 5px;
            z-index: 1000;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .menu-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            background: transparent;
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.5s ease;
            text-align: center;
        }

        .menu-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .menu-btn svg {
            margin-bottom: 5px;
        }

        .contact-form {
            position: fixed;
            right: -400px;
            top: 50%;
            transform: translateY(-50%);
            width: 350px;
            max-width: calc(100vw - 80px);
            background: rgba(0, 0, 0, 0.9);
            padding: 20px;
            border-radius: 10px 0 0 10px;
            z-index: 1001;
            transition: right 0.7s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .contact-form.active {
            right: 70px;
        }

        .contact-form h3 {
            color: white;
            margin-bottom: 15px;
            text-align: center;
        }

        .contact-form input, 
        .contact-form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            color: white;
        }

        .contact-form button {
            width: 100%;
            padding: 10px;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .contact-form button:hover {
            background: #ff5f03;
        }

        .privacy-checkbox {
            display: flex;
            align-items: center;
            margin: 10px 0;
            font-size: 12px;
            color: #ccc;
        }

        .privacy-checkbox input {
            width: auto;
            margin-right: 10px;
        }

        .social-button {
            position: fixed;
            right: -200px;
            top: 50%;
            transform: translateY(-50%);
            width: 200px;
            background: rgba(0, 0, 0, 0.9);
            padding: 20px;
            border-radius: 10px 0 0 10px;
            z-index: 1001;
            transition: right 0.7s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .social-button.active {
            right: 70px;
        }

        .social-btn {
            display: block;
            width: 100%;
            padding: 12px;
            color: white;
            text-align: center;
            text-decoration: none;
            border-radius: 5px;
            transition: all 0.3s ease;
            font-size: 16px;
            margin-bottom: 10px;
        }

        .social-btn:last-child {
            margin-bottom: 0;
        }

        .social-btn:hover {
            transform: scale(1.05);
        }

        .telegram {
            background: #0088cc;
        }

        .whatsapp {
            background: #25D366;
        }

        .vk {
            background: #4a76a8;
        }

        .notification {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.9);
            padding: 20px 30px;
            border-radius: 10px;
            border: 1px solid #ff5f03;;
            color: white;
            z-index: 1002;
            opacity: 0;
            transition: opacity 1s ease;
            pointer-events: none;
            max-width: 80%;
            text-align: center;
            box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
        }

        .notification.active {
            opacity: 1;
        }



        @media (max-width: 768px) {
            .planets-container {
                flex-direction: column;
                align-items: center;
                gap: 2rem;
            }
              #contact-form {
    right: -1400px;
  }
  #contact-form.active {
    right: 70px;
  }
            
            .planet {
                width: 180px;
                height: 180px;
            }
            
            .planet-text {
                font-size: 1.5rem;
            }
            
            .planet-info h2 {
                font-size: 2rem;
            }
            
            .planet-info p  {
                font-size: 1.3rem;
            }
   .planet-info p.reklama {
                font-size: 1.2rem;
                text-align: left;
            }
            .side-menu {
                width: 60px;
                padding: 10px 3px;
            }

            .menu-btn {
                font-size: 10px;
                padding: 8px;
            }

            .contact-form {
                width: calc(100vw - 80px);
                padding: 15px;
            }

            .contact-form.active {
                right: 60px;
            }

            .social-button {
                width: 180px;
            }

            .social-button.active {
                right: 60px;
            }
        }

        @media (max-width: 480px) {
            .contact-form h3 {
                font-size: 1.2rem;
            }
            
            .contact-form input, 
            .contact-form textarea,
            .contact-form button {
                padding: 8px;
                font-size: 14px;
            }
            
            .privacy-checkbox {
                font-size: 10px;
            }
            
            .notification {
                padding: 15px 20px;
                font-size: 14px;
            }
        }

        /* печатющий эффект */
/* Контейнер для карточек (Flexbox) */
.cards-container {
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Стили карточки */
.card {
    flex: 1 1 300px; /* Гибкая ширина, но не меньше 300px */
    max-width: 400px; /* Максимальная ширина */
    min-height: 500px; /* Фиксированная высота (или auto + flex-grow) */
    display: flex;
    flex-direction: column;
    background-color: #2a2b3d;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #ff5f03;
}

.card:hover {
    transform: translateY(-5px);
}

/* Фиксированный размер изображения */
.card-image {
    width: 100%;
    height: 200px; /* Одинаковая высота */
    object-fit: cover; /* Обрезает фото, сохраняя пропорции */
    flex-shrink: 0; /* Запрещает уменьшение */
}

/* Контент карточки (гибкий контейнер) */
.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Растягивается на всё свободное место */
}

/* Текст занимает доступное пространство */
.card-description {
    flex-grow: 1; /* Прижимает кнопку к низу */
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.4;
}

/* Кнопка всегда внизу */
.card-button {
    margin-top: auto; /* Автоматический отступ сверху */
    display: inline-block;
    padding: 8px 15px;
    background-color: #ff5f03;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.card-button:hover {
    background-color: #e05500;
}

/* Остальные стили (цвета, шрифты) */
.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.card-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff5f03;
    margin-bottom: 15px;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
    .card {
        flex: 1 1 100%; /* На мобильных — 1 карточка в ряд */
        min-height: auto; /* Можно убрать, если не нужно фиксировать высоту */
    }
}