/* ===== ЦВЕТА ===== */
:root {
    --yellow: #FFEB00;
    --black: #000000;
    --white: #FFFFFF;
    --green: #008209;
    --gray: #94a3b8;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== НАВИГАЦИЯ (ОБЩАЯ ДЛЯ ВСЕХ СТРАНИЦ) ===== */
.navbar {
    background: var(--black);
    padding: 16px 0;
    border-bottom: 2px solid var(--yellow);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo-icon {
    font-size: 24px;
}

.brand-name {
    color: var(--green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--yellow);
}

/* ===== КНОПКИ ===== */
.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
}

.btn-primary:hover {
    background: #e6d400;
    transform: translateY(-2px);
}

.btn-small {
    padding: 6px 16px;
    font-size: 12px;
}

/* ===== МЕНЮ (три полоски) ===== */
.menu-container {
    position: relative;
    display: inline-block;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--yellow);
    transition: color 0.2s;
    line-height: 1;
}

.menu-btn:hover {
    color: #e6d400;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: var(--black);
    min-width: 200px;
    border-radius: 12px;
    border: 1px solid #333;
    padding: 8px 0;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #1a1a1a;
    color: var(--yellow);
}

.dropdown-menu hr {
    margin: 6px 0;
    border: none;
    border-top: 1px solid #333;
}

/* ===== ФУТЕР (ОБЩИЙ ДЛЯ ВСЕХ СТРАНИЦ) ===== */
.footer {
    background: var(--black);
    color: var(--gray);
    padding: 16px 0;
    width: 100%;
    border-top: 2px solid var(--green);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: var(--gray);
    text-decoration: none;
}

.footer a:hover {
    color: var(--white);
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    margin: 0;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-text .logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--yellow);
}

.hero-text .logo span {
    color: var(--white);
}

.hero-text .slogan {
    font-size: 20px;
    color: var(--gray);
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-free {
    background: var(--green);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-free:hover {
    background: #006a07;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 130, 9, 0.3);
}

.btn-vip {
    background: var(--yellow);
    color: var(--black);
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-vip:hover {
    background: #e6d400;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 235, 0, 0.3);
}

/* ===== ПУЗЫРЬКИ-ФОТОГРАФИИ ===== */
.bubbles-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 235, 0, 0.15);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.9);
        opacity: 0.7;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-110vh) rotate(15deg) scale(1);
        opacity: 0;
    }
}

/* ======================================== */
/* ===== СТИЛИ ДЛЯ FREE И VIP СТРАНИЦ ===== */
/* ======================================== */

/* ===== ОБЩАЯ СТРУКТУРА ===== */
.free-section,
.vip-section {
    min-height: 80vh;
    padding: 60px 20px;
    background: var(--black);
    color: var(--white);
}

.free-section .container,
.vip-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.free-section h1,
.vip-section h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 8px;
}

.free-section .subtitle,
.vip-section .subtitle {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 40px;
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

/* ===== АВТОРИЗАЦИЯ (ЛОГИН / РЕГИСТРАЦИЯ) ===== */
.auth-prompt {
    text-align: center;
    padding: 80px 20px;
}

.auth-prompt .lock-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.auth-prompt h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.auth-prompt p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text .slogan {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .bubbles-container {
        height: 300px;
    }

    .bubble {
        width: 80px !important;
        height: 80px !important;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}