/* ============================================
   LUXBET CASINO - COMPLETE PROFESSIONAL CSS
   ============================================ */

:root {
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #1a1a24;
    --bg-card-hover: #242430;
    --gold: #ffd700;
    --gold-dark: #d4af00;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-muted: #6b7280;
    --border: rgba(255, 255, 255, 0.1);
    --green: #10b981;
    --red: #ef4444;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --orange: #f97316;
    --transition: all 0.3s ease;
    
    /* Admin panel variables */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --gradient-gold: linear-gradient(135deg, #ffd700, #d4af00);
    --font-display: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 110px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

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

/* ===== 18+ AGE BANNER ===== */
.age-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    padding: 10px 20px;
    text-align: center;
}

.age-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.age-badge {
    background: #fff;
    color: #dc2626;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 800;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 70px;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000;
}

.nav-logo-icon i {
    font-size: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
    background: rgba(255, 215, 0, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-greeting {
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s;
}

.user-greeting:hover {
    color: var(--gold);
}

.user-greeting i {
    color: var(--gold);
    font-size: 18px;
}

.admin-link {
    color: var(--gold) !important;
}

.admin-link:hover {
    background: rgba(255, 215, 0, 0.1) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
}

.btn-ghost { background: transparent; color: var(--text-gray); }
.btn-ghost:hover { color: white; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ===== FLOATING SOCIAL ===== */
.social-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-float-toggle {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    font-size: 24px;
    border: none;
}

.social-float-toggle:hover { transform: scale(1.1); }

.social-float-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.social-float.active .social-float-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-float-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-float-item:hover { transform: scale(1.15); }
.social-float-item.whatsapp { background: #25d366; }
.social-float-item.telegram { background: #0088cc; }
.social-float-item.messenger { background: #0084ff; }
.social-float-item.signal { background: #3a76f0; }

/* ===== HERO ===== */
.hero {
    min-height: calc(100vh - 110px);
    padding: 60px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
    animation: heroGlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 32px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
}

.hero-badge-dot {
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-gold {
    color: var(--gold);
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-icon { 
    font-size: 32px; 
    margin-bottom: 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
}

/* Color variants for stat icons */
.stat-item:nth-child(1) .stat-icon {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

.stat-item:nth-child(2) .stat-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.stat-item:nth-child(3) .stat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.stat-item:nth-child(4) .stat-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

/* Stat value colors */
.stat-item:nth-child(1) .stat-value { color: var(--gold); }
.stat-item:nth-child(2) .stat-value { color: #3b82f6; }
.stat-item:nth-child(3) .stat-value { color: #10b981; }
.stat-item:nth-child(4) .stat-value { color: #8b5cf6; }
.stat-value { font-size: 28px; font-weight: 700; }
.stat-label { font-size: 13px; color: var(--text-gray); margin-top: 4px; }

/* ===== BONUS SECTION ===== */
.bonus-section {
    padding: 80px 0;
    background: var(--bg-darker);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.bonus-card.welcome::before { background: var(--red); }
.bonus-card.reload::before { background: var(--orange); }
.bonus-card.referral::before { background: var(--purple); }

.bonus-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bonus-icon { 
    font-size: 48px; 
    margin-bottom: 16px;
}

.bonus-icon i {
    font-size: 48px;
}

/* Color variants for bonus cards */
.bonus-card.welcome .bonus-icon { color: #ef4444; }
.bonus-card.welcome .bonus-value { color: #ef4444; }

.bonus-card.reload .bonus-icon { color: #f97316; }
.bonus-card.reload .bonus-value { color: #f97316; }

.bonus-card.referral .bonus-icon { color: #8b5cf6; }
.bonus-card.referral .bonus-value { color: #8b5cf6; }
.bonus-value { font-size: 56px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.bonus-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.bonus-desc { font-size: 14px; color: var(--text-gray); margin-bottom: 24px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-darker); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GAMES ===== */
.games-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-image {
    position: relative;
    aspect-ratio: 4/3;
    background: #1f1f2e;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img { transform: scale(1.1); }

.game-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.game-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.game-badge.hot { background: var(--red); }
.game-badge.new { background: var(--blue); }
.game-badge.featured { background: var(--gold); color: #000; }

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-overlay { opacity: 1; }

.game-info { padding: 16px; }
.game-name { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.game-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }

.games-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
    grid-column: 1 / -1;
}

.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 20px;
    gap: 10px;
}

.no-image i {
    font-size: 48px;
    color: var(--gold);
    opacity: 0.5;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-icon i {
    font-size: 32px;
}

/* Color variants for feature cards */
.feature-card:nth-child(1) .feature-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.feature-card:nth-child(2) .feature-icon {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

.feature-card:nth-child(3) .feature-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.feature-card:nth-child(4) .feature-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.feature-card:nth-child(5) .feature-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.feature-card:nth-child(6) .feature-icon {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}

.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-gray); font-size: 15px; line-height: 1.6; }

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: rgba(255, 215, 0, 0.3); }
.faq-item.active { border-color: var(--gold); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.faq-question span { display: flex; align-items: center; gap: 16px; }
.faq-number { color: var(--gold); font-size: 18px; font-weight: 700; }

.faq-toggle {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--gold);
    color: #000;
    transform: rotate(45deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-content { padding: 0 24px 24px; color: var(--text-gray); line-height: 1.7; }

/* ===== JACKPOT ===== */
.jackpot-section {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.jackpot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.jackpot-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.jackpot-amount {
    font-size: clamp(48px, 12vw, 96px);
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 32px;
    text-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
    animation: jackpotGlow 2s ease-in-out infinite;
}

@keyframes jackpotGlow {
    0%, 100% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
    50% { text-shadow: 0 0 80px rgba(255, 215, 0, 0.8); }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand { max-width: 300px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover { background: var(--gold); border-color: var(--gold); }

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-white);
}

.footer-links ul { display: flex; flex-direction: column; gap: 14px; }

.footer-links a {
    color: var(--text-gray);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); padding-left: 5px; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright { color: var(--text-muted); font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-gray); font-size: 14px; }
.footer-legal a:hover { color: var(--gold); }

/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active { opacity: 1; visibility: visible; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.modal.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover { background: var(--red); border-color: var(--red); color: white; }

.modal-header { text-align: center; margin-bottom: 32px; }
.modal-header h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.modal-header p { color: var(--text-gray); font-size: 15px; }

.modal-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-gray);
}

.modal-footer a { color: var(--gold); font-weight: 600; cursor: pointer; }
.modal-footer a:hover { text-decoration: underline; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--text-gray); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.form-checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.form-checkbox label { font-size: 14px; color: var(--text-gray); line-height: 1.5; }
.form-checkbox a { color: var(--gold); }
.form-error { color: var(--red); font-size: 14px; margin-bottom: 16px; min-height: 20px; }

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 30000;
    opacity: 0;
    transition: var(--transition);
    font-size: 15px;
}

.toast.active { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }

/* ===== CONTACT ===== */
.page-header { padding: 60px 20px; text-align: center; background: var(--bg-darker); }
.page-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.page-subtitle { color: var(--text-gray); font-size: 18px; }

.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info h2, .contact-form-box h2 { font-size: 24px; margin-bottom: 16px; }
.contact-info > p { color: var(--text-gray); margin-bottom: 30px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }

.contact-method {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-method:hover { border-color: var(--gold); }
.contact-method-icon { 
    font-size: 32px;
    color: var(--gold);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon i {
    font-size: 24px;
}
.contact-method h3 { font-size: 16px; margin-bottom: 6px; }
.contact-method p { font-size: 14px; color: var(--text-gray); margin-bottom: 8px; }
.contact-link { color: var(--gold); font-size: 14px; font-weight: 600; }

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 110px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 30px;
        gap: 10px;
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-menu.active { transform: translateX(0); }
    .nav-link { width: 100%; padding: 16px 20px; font-size: 18px; }
    .mobile-menu-btn { display: flex; }
    .bonus-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { padding-top: 100px; }
    .age-banner { padding: 8px 15px; }
    .age-banner-content { font-size: 12px; }
    .navbar { top: 36px; height: 64px; }
    .nav-menu { top: 100px; }
    .hero { padding: 40px 20px 60px; }
    .hero-stats { gap: 30px; }
    .hero-stat-value { font-size: 28px; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { max-width: 100%; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .social-float { right: 16px; bottom: 16px; }
    .social-float-toggle { width: 52px; height: 52px; }
    .social-float-item { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .games-grid { grid-template-columns: 1fr; }
    .games-filter { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 10px; }
    .filter-btn { white-space: nowrap; flex-shrink: 0; }
    .modal-content { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; }
}
