:root {
    --bg-dark: #2d3436;
    --racing-green: #1b4d3e;
    --bronze: #b08d57;
    --bronze-light: #d4af37;
    --white: #ffffff;
    --text-muted: #636e72;
    --light-grey: #f5f6fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--bg-dark); background: var(--white); scroll-behavior: smooth; }
h1, h2, h3, em { font-family: 'Playfair Display', serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* AGE GATE STYLES */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}
.age-gate-modal {
    background: white;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-radius: 12px;
}
.gate-logo { height: 80px; margin-bottom: 30px; }
.age-gate-modal h2 { font-size: 28px; margin-bottom: 15px; }
.gate-btns { display: flex; gap: 15px; justify-content: center; margin: 30px 0; }
.btn-confirm { background: var(--racing-green); color: white; border: none; padding: 15px 30px; font-weight: 700; border-radius: 5px; cursor: pointer; }
.btn-deny { background: #eee; color: #666; text-decoration: none; padding: 15px 30px; border-radius: 5px; }
.gate-disclaimer { font-weight: 800; color: var(--racing-green); font-size: 13px; text-transform: uppercase; border-top: 1px solid #eee; padding-top: 20px; }

/* PERMIT STRIP */
.permit-strip { background: var(--bg-dark); color: var(--white); text-align: center; font-size: 12px; padding: 12px; letter-spacing: 0.5px; }
.permit-strip strong { color: var(--white); }

/* NAVBAR */
.main-nav { height: 90px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #eee; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.nav-logo { height: 50px; }
.brand-name { font-weight: 800; font-size: 22px; color: var(--bg-dark); }
.brand-name span { color: var(--racing-green); }
.nav-links a { text-decoration: none; color: var(--bg-dark); margin: 0 15px; font-weight: 600; font-size: 14px; }
.nav-cta { background: var(--racing-green); color: white; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 700; }

/* HERO */
.hero { padding: 80px 0; background: linear-gradient(to bottom right, #fdfbfb 0%, #ebedee 100%); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-badge { background: #e3e8e7; color: var(--racing-green); padding: 5px 15px; font-size: 11px; font-weight: 800; display: inline-block; border-radius: 3px; margin-bottom: 20px; }
h1 { font-size: 64px; line-height: 1.1; color: var(--bg-dark); margin-bottom: 25px; }
h1 em { color: var(--racing-green); font-style: italic; }
.hero-btns { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.btn-main { background: var(--racing-green); color: white; padding: 20px 40px; text-decoration: none; font-weight: 700; border-radius: 4px; box-shadow: 0 15px 30px rgba(27, 77, 62, 0.2); transition: 0.3s; }
.btn-main:hover { transform: translateY(-3px); }
.price-bubble { display: flex; flex-direction: column; }
.price-bubble .val { font-size: 36px; font-weight: 900; color: var(--bg-dark); line-height: 1; }
.price-bubble .txt { font-size: 12px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }

.visual-card { position: relative; }
.visual-card img { width: 100%; border-radius: 5px; box-shadow: 20px 20px 0px var(--bronze); }
.visual-tag { position: absolute; top: 20px; right: 20px; background: white; padding: 10px 20px; font-weight: 800; border-radius: 2px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* IMPACT */
.impact-section { padding: 120px 0; background: var(--white); }
.impact-intro { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.impact-intro h2 { font-size: 48px; margin-bottom: 20px; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.impact-item { padding: 40px; background: var(--light-grey); border-top: 4px solid var(--racing-green); }
.item-icon { font-size: 40px; color: var(--bronze); margin-bottom: 20px; }

/* CHECKOUT */
.checkout-section { padding: 100px 0; background: var(--racing-green); color: white; }
.checkout-card { max-width: 700px; margin: 0 auto; background: var(--white); color: var(--bg-dark); padding: 60px; border-radius: 10px; }
.checkout-header { text-align: center; margin-bottom: 40px; }
.ticket-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; }
.t-radio input { display: none; }
.t-box { display: block; padding: 20px; border: 2px solid #eee; text-align: center; cursor: pointer; transition: 0.3s; border-radius: 4px; }
.t-radio input:checked + .t-box { border-color: var(--bronze); background: #fffcf5; box-shadow: 0 5px 15px rgba(176, 141, 87, 0.1); }
.t-box small { display: block; font-size: 20px; font-weight: 900; color: var(--racing-green); }
.input-stack input { width: 100%; padding: 15px; border: 1px solid #eee; margin-bottom: 15px; border-radius: 4px; outline: none; }
.age-check { font-size: 13px; color: var(--text-muted); display: flex; gap: 10px; margin-bottom: 25px; align-items: flex-start; }
.btn-submit { width: 100%; background: var(--bg-dark); color: white; padding: 20px; border: none; font-weight: 800; font-size: 18px; cursor: pointer; border-radius: 4px; }

/* OVERLAY MODAL */
.overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 5000; }
.modal { background: white; padding: 60px; max-width: 500px; border-radius: 8px; text-align: center; }
.success-icon { font-size: 60px; color: var(--racing-green); margin-bottom: 20px; }

/* FOOTER */
.site-footer { background: var(--bg-dark); color: #cbd5e1; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; }
.footer-brand .logo-small { color: white; font-weight: 900; margin-bottom: 20px; font-size: 18px; }
.footer-brand span { color: var(--bronze-light); }
.legal-slogan-box { margin-top: 25px; background: white; color: var(--racing-green); padding: 10px 15px; font-weight: 800; font-size: 13px; display: inline-block; border: 2px solid var(--racing-green); text-transform: uppercase; }
.footer-group h4 { color: white; margin-bottom: 25px; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }
.footer-group a { display: block; color: #cbd5e1; text-decoration: none; margin-bottom: 15px; font-size: 14px; }
.pay-icons { font-size: 30px; display: flex; gap: 15px; align-items: center; margin-top: 20px; }
.ideal-txt { font-weight: 900; font-size: 16px; color: #fff; background: #cc3399; padding: 2px 8px; border-radius: 3px; }
.footer-copy { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 30px; font-size: 12px; }

@media (max-width: 900px) {
    .hero-layout, .impact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    h1 { font-size: 42px; }
    .hero-btns { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И ШРИФТЫ
   ========================================================================== */
:root {
    --bg-dark: #2d3436;
    --racing-green: #1b4d3e;
    --bronze: #b08d57;
    --bronze-light: #d4af37;
    --white: #ffffff;
    --text-muted: #636e72;
    --light-grey: #f5f6fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--bg-dark); background: var(--white); scroll-behavior: smooth; line-height: 1.6; }
h1, h2, h3, em { font-family: 'Playfair Display', serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* ==========================================================================
   2. AGE GATE (ВОЗРАСТНОЙ ФИЛЬТР)
   ========================================================================== */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: none; /* Управляется через JS */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}
.age-gate-modal {
    background: white;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-radius: 12px;
}
.gate-logo { height: 80px; margin-bottom: 30px; }
.age-gate-modal h2 { font-size: 28px; margin-bottom: 15px; color: var(--bg-dark); }
.gate-btns { display: flex; gap: 15px; justify-content: center; margin: 30px 0; }
.btn-confirm { background: var(--racing-green); color: white; border: none; padding: 15px 30px; font-weight: 700; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.btn-confirm:hover { background: var(--bg-dark); }
.btn-deny { background: #eee; color: #666; text-decoration: none; padding: 15px 30px; border-radius: 5px; }
.gate-disclaimer { font-weight: 800; color: var(--racing-green); font-size: 13px; text-transform: uppercase; border-top: 1px solid #eee; padding-top: 20px; }

/* ==========================================================================
   3. НАВИГАЦИЯ И ШАПКА
   ========================================================================== */
.permit-strip { background: var(--bg-dark); color: var(--white); text-align: center; font-size: 12px; padding: 12px; letter-spacing: 0.5px; }
.main-nav { height: 90px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #eee; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.nav-logo { height: 50px; }
.brand-name { font-weight: 800; font-size: 22px; color: var(--bg-dark); }
.brand-name span { color: var(--racing-green); }
.nav-links a { text-decoration: none; color: var(--bg-dark); margin: 0 15px; font-weight: 600; font-size: 14px; }
.nav-cta { background: var(--racing-green); color: white; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 700; }

/* ==========================================================================
   4. СТИЛИ ГЛАВНОЙ СТРАНИЦЫ (HERO, IMPACT, ETC)
   ========================================================================== */
.hero { padding: 80px 0; background: linear-gradient(to bottom right, #fdfbfb 0%, #ebedee 100%); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-badge { background: #e3e8e7; color: var(--racing-green); padding: 5px 15px; font-size: 11px; font-weight: 800; display: inline-block; border-radius: 3px; margin-bottom: 20px; }
h1 { font-size: 64px; line-height: 1.1; color: var(--bg-dark); margin-bottom: 25px; }
h1 em { color: var(--racing-green); font-style: italic; }
.hero-btns { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.btn-main { background: var(--racing-green); color: white; padding: 20px 40px; text-decoration: none; font-weight: 700; border-radius: 4px; box-shadow: 0 15px 30px rgba(27, 77, 62, 0.2); transition: 0.3s; }
.price-bubble { display: flex; flex-direction: column; }
.price-bubble .val { font-size: 36px; font-weight: 900; color: var(--bg-dark); line-height: 1; }
.visual-card img { width: 100%; border-radius: 5px; box-shadow: 20px 20px 0px var(--bronze); }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 80px 0; }
.impact-item { padding: 40px; background: var(--light-grey); border-top: 4px solid var(--racing-green); }
.item-icon { font-size: 40px; color: var(--bronze); margin-bottom: 20px; }

/* ==========================================================================
   5. СТИЛИ ДЛЯ ВНУТРЕННИХ (ЮРИДИЧЕСКИХ) СТРАНИЦ
   ========================================================================== */
.legal-wrap { padding: 80px 0; max-width: 900px; }
.legal-header { margin-bottom: 60px; border-bottom: 1px solid #eee; padding-bottom: 40px; }
.legal-header h1 { font-size: 52px; color: var(--bg-dark); margin-bottom: 10px; }
.legal-header p { color: var(--bronze); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.legal-body h2 { font-size: 28px; margin: 40px 0 20px; color: var(--racing-green); display: flex; align-items: center; gap: 15px; }
.legal-body h2 span { font-family: 'Inter'; font-size: 14px; background: var(--bronze); color: white; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.legal-body p { margin-bottom: 20px; color: #4b5563; font-size: 17px; line-height: 1.8; }

.legal-list { margin-bottom: 30px; padding-left: 20px; list-style: none; }
.legal-list li { margin-bottom: 12px; color: #4b5563; position: relative; padding-left: 25px; }
.legal-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--racing-green); }

.info-note { background: #f0f7f4; border-left: 4px solid var(--racing-green); padding: 25px; margin: 40px 0; border-radius: 0 8px 8px 0; }
.info-note p { margin-bottom: 0; font-weight: 600; color: var(--racing-green); }

/* ==========================================================================
   6. СТРАНИЦА КОНТАКТОВ
   ========================================================================== */
.contact-page { padding: 80px 25px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; }
.contact-card { background: var(--light-grey); padding: 50px; text-align: center; border-radius: 8px; transition: 0.3s; border-bottom: 4px solid transparent; }
.contact-card:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--bronze); }
.c-icon { font-size: 40px; color: var(--bronze); margin-bottom: 25px; }
.contact-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--bg-dark); }
.contact-card p { color: #4b5563; line-height: 1.6; }
.support-footer { text-align: center; margin-top: 80px; padding: 40px; background: var(--bg-dark); color: white; border-radius: 8px; }
.support-footer strong { color: var(--bronze-light); font-size: 20px; }

/* ==========================================================================
   7. ФОРМА ЗАКАЗА (CHECKOUT)
   ========================================================================== */
.checkout-section { padding: 100px 0; background: var(--racing-green); color: white; }
.checkout-card { max-width: 700px; margin: 0 auto; background: var(--white); color: var(--bg-dark); padding: 60px; border-radius: 10px; }
.ticket-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; }
.t-radio input { display: none; }
.t-box { display: block; padding: 20px; border: 2px solid #eee; text-align: center; cursor: pointer; transition: 0.3s; border-radius: 4px; }
.t-radio input:checked + .t-box { border-color: var(--bronze); background: #fffcf5; }
.t-box small { display: block; font-size: 20px; font-weight: 900; color: var(--racing-green); }
.btn-submit { width: 100%; background: var(--bg-dark); color: white; padding: 20px; border: none; font-weight: 800; font-size: 18px; cursor: pointer; border-radius: 4px; }

/* ==========================================================================
   8. ПОДВАЛ (FOOTER)
   ========================================================================== */
.site-footer { background: var(--bg-dark); color: #cbd5e1; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; }
.logo-small { color: white; font-weight: 900; margin-bottom: 20px; font-size: 18px; }
.logo-small span { color: var(--bronze-light); }
.legal-slogan-box { margin-top: 25px; background: white; color: var(--racing-green); padding: 10px 15px; font-weight: 800; font-size: 13px; display: inline-block; border: 2px solid var(--racing-green); text-transform: uppercase; }
.footer-group h4 { color: white; margin-bottom: 25px; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }
.footer-group a { display: block; color: #cbd5e1; text-decoration: none; margin-bottom: 15px; font-size: 14px; transition: 0.3s; }
.footer-group a:hover { color: white; }
.footer-copy { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 30px; font-size: 12px; }

/* ==========================================================================
   9. АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 900px) {
    .hero-layout, .impact-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    h1 { font-size: 42px; }
    .legal-header h1 { font-size: 38px; }
    .age-gate-modal { padding: 30px; }
}

/* COOKIE BANNER STYLES */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 9998; /* Чуть ниже Age Gate */
    padding: 20px 0;
    display: none; /* Управляется через JS */
    border-top: 3px solid var(--bronze);
}

.cookie-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--bg-dark);
    margin: 0;
}

.cookie-text a {
    color: var(--racing-green);
    font-weight: 700;
    text-decoration: underline;
}

.btn-cookie-accept {
    background: var(--racing-green);
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background: var(--bg-dark);
}

@media (max-width: 600px) {
    .cookie-flex {
        flex-direction: column;
        text-align: center;
    }
}