:root {
    --club-blue: #002d5a;
    --gold: #d4af37;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
h1, h2, h3, .logo-text { font-family: 'Montserrat', sans-serif; font-weight: 900; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.legal-banner { background: #f1f5f9; text-align: center; font-size: 11px; padding: 8px; color: #475569; font-weight: 700; border-bottom: 1px solid #e2e8f0; }
.navbar { background: var(--white); padding: 15px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.club-logo { height: 45px; }
.logo-text { font-size: 20px; color: var(--club-blue); }
.logo-text span { color: var(--gold); }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 700; font-size: 14px; }

/* HERO */
.hero { background: radial-gradient(circle at 10% 20%, #f4f7f9 0%, #e6ebf0 90%); padding: 100px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
h1 { font-size: 52px; color: var(--club-blue); line-height: 1.1; margin-bottom: 20px; }
.text-gold { color: var(--gold); }
.cta-box { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.btn { padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; display: inline-block; transition: 0.3s; }
.btn-primary { background: var(--club-blue); color: white; }
.btn-cta { background: var(--club-blue); color: white; font-size: 18px; box-shadow: 0 10px 20px rgba(0,45,90,0.2); }
.btn-cta:hover { transform: translateY(-3px); background: var(--gold); }
.price { font-size: 12px; text-transform: uppercase; color: #64748b; }
.price strong { display: block; font-size: 28px; color: var(--club-blue); }

.img-wrapper { position: relative; }
.img-wrapper img { width: 100%; border-radius: 25px; border: 6px solid white; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.draw-date { position: absolute; bottom: -15px; left: 20px; background: white; padding: 12px 20px; border-radius: 12px; font-weight: 800; box-shadow: 0 5px 15px rgba(0,0,0,0.1); color: var(--club-blue); }

/* MISSION & CARDS */
.mission { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.card { padding: 40px; background: var(--light-bg); border-radius: 20px; text-align: center; border: 1px solid #e2e8f0; }
.card-icon { font-size: 35px; color: var(--gold); margin-bottom: 15px; }

/* ORDER SECTION */
.order-section { padding: 80px 0; background: var(--light-bg); }
.order-card { max-width: 600px; margin: 0 auto; background: white; padding: 50px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 30px 0; }
.ticket-option input { display: none; }
.option-content { border: 2px solid #e2e8f0; padding: 20px; border-radius: 15px; text-align: center; cursor: pointer; transition: 0.3s; }
.ticket-option input:checked + .option-content { border-color: var(--gold); background: #fefce8; }
.form-inputs input { width: 100%; padding: 15px; border-radius: 10px; border: 1px solid #e2e8f0; margin-bottom: 15px; outline: none; }
.check-group { font-size: 12px; display: flex; gap: 10px; margin-bottom: 20px; }
.btn-full { width: 100%; background: var(--gold); color: white; padding: 20px; font-size: 18px; }

/* FOOTER */
.footer { background: #00152b; color: #94a3b8; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h3, .footer h4 { color: white; margin-bottom: 20px; }
.ksa-box { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 10px; margin: 15px 0; display: flex; gap: 10px; align-items: center; border-left: 3px solid var(--gold); font-size: 12px; }
.age-badge { border: 2px solid var(--gold); color: var(--gold); padding: 4px 12px; font-weight: 900; border-radius: 4px; font-size: 11px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 11px; }

@media (max-width: 768px) {
    .hero-grid, .grid-3, .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 36px; }
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 90, 0.85); /* Темно-синий полупрозрачный фон */
    backdrop-filter: blur(8px);
    display: none; /* Скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: 0.3s;
}

.modal-icon {
    font-size: 60px;
    color: var(--gold);
    margin-bottom: 20px;
}

.modal-box h2 {
    color: var(--club-blue);
    font-size: 28px;
    margin-bottom: 15px;
}

.modal-box p {
    color: #64748b;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-link {
    background: none;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

/* Класс для показа модального окна через JS */
.modal-overlay.active {
    display: flex;
}