/* --- RESET & VARIABLES --- */
:root {
    /* PALETTE: Escape Room Green + Logo Neon Pops */
    --bg-dark: #050505; /* Deep Black */
    --bg-card: #111111; 
    
    /* CORE BRAND GREEN (#045E00) */
    --primary-green: #045E00; 
    --primary-bright: #0da800;
    
    /* LOGO POPS (extracted from the Trivia Arena sign) */
    --neon-blue: #00f2ff;   /* The "TRIVIA" Blue */
    --neon-pink: #ff00de;   /* The "ARENA" Pink */
    --neon-purple: #9d00ff; /* Deep beam purple */
    
    /* Text */
    --text-main: #ffffff; 
    --text-muted: #dddddd;
    
    /* Fonts */
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    /* Lively Spotlight: Green core with a hint of Blue at the very top */
    background: radial-gradient(circle at 50% 0%, #0d260d 0%, #000000 85%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

h1 { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    margin-bottom: 1.5rem;
    /* Multicolored Shadow to match Logo */
    text-shadow: 3px 3px 0px var(--neon-blue), -2px -2px 0 var(--primary-green);
}

h2 { 
    font-size: 2.8rem; 
    color: var(--text-main); 
    margin-bottom: 2rem; 
    text-align: center;
    position: relative;
    display: inline-block;
}

/* Gradient Underline (Green to Blue) */
h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-green), var(--neon-blue));
    margin: 10px auto 0;
    border-radius: 10px;
}

h3 { 
    font-size: 1.6rem; 
    margin-bottom: 0.5rem; 
    color: var(--primary-bright); 
}

p { margin-bottom: 1rem; color: var(--text-muted); font-size: 1.1rem;}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 100px 0; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 16px 45px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 50px; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    /* Gradient: Green to slightly lighter Green */
    background: linear-gradient(135deg, var(--primary-bright), var(--primary-green));
    color: white;
    box-shadow: 0 6px 0 #023300;
    margin-bottom: 6px;
    animation: pulseButton 2s infinite;
}

.btn-primary:active {
    transform: translateY(6px);
    box-shadow: none;
    margin-bottom: 0;
    margin-top: 6px;
}

.btn-primary:hover { 
    transform: translateY(-3px);
    /* Pop of Blue on Hover */
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.4), 0 9px 0 #023300; 
}

.btn-outline {
    border: 3px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
    border-radius: 50px;
}
.btn-outline:hover { 
    background: var(--text-main); 
    color: var(--bg-dark); 
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--neon-pink); /* Pink Glow on hover */
}

@keyframes pulseButton {
    0% { box-shadow: 0 6px 0 #023300, 0 0 0 0 rgba(13, 168, 0, 0.7); }
    70% { box-shadow: 0 6px 0 #023300, 0 0 0 15px rgba(13, 168, 0, 0); }
    100% { box-shadow: 0 6px 0 #023300, 0 0 0 0 rgba(13, 168, 0, 0); }
}

/* --- HEADER & NAV --- */
header {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* Gradient Border bottom */
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, var(--primary-green), var(--neon-blue), var(--neon-pink)) 1;
    backdrop-filter: blur(10px);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

nav ul { display: flex; flex-direction: row; gap: 30px; list-style: none; margin: 0; padding: 0; }

nav a { 
    font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; 
    position: relative; color: var(--text-main); text-decoration: none;
    font-family: var(--font-head);
}

nav a::before {
    content: '';
    position: absolute; width: 0; height: 3px; bottom: -5px; left: 0;
    /* Gradient Hover Underline */
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transition: width 0.3s ease; border-radius: 2px;
}
nav a:hover::before { width: 100%; }
nav a:hover { color: var(--neon-blue); }

.mobile-menu-btn { display: none; font-size: 2rem; cursor: pointer; color: white;}

/* --- LOGO --- */
.logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }

.logo img {
    height: 60px; width: auto;
    filter: drop-shadow(0 0 5px rgba(4, 94, 0, 0.5));
    transition: transform 0.3s ease;
}
.logo:hover img { transform: scale(1.05); }

.logo-text {
    font-family: var(--font-head); font-size: 1.8rem; color: var(--text-main);
    font-weight: 900; font-style: italic; text-transform: uppercase;
    letter-spacing: 1px; line-height: 1;
    /* Text shadow mixing pink and blue */
    text-shadow: 2px 2px 0px var(--neon-pink), -2px -2px 0px var(--neon-blue);
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    /* PRESERVED FROM YOUR UPLOADED FILE: The Retro TV Image */
    background: radial-gradient(circle at center, rgba(4, 94, 0, 0.4) 0%, rgba(0,0,0,0.8) 70%), url('trivia-arena-hero.png');
    background-size: cover;
    background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
    margin-top: 60px;
    border-bottom: 1px solid var(--primary-green);
}

.hero-content { 
    max-width: 900px; padding: 40px; 
    background: rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    animation: fadeIn 1.5s ease;
    box-shadow: 0 0 30px rgba(4, 94, 0, 0.2); 
}
.hero-subtitle { font-size: 1.4rem; color: #eeeeee; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* --- CONCEPT SECTION --- */
.concept { background: transparent; }
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.concept-img-wrapper {
    position: relative; border-radius: 20px;
    border: 4px solid var(--primary-green);
    box-shadow: 0 0 20px rgba(4, 94, 0, 0.4);
    transform: rotate(-3deg); transition: transform 0.3s;
    overflow: hidden;
}
.concept-img-wrapper:hover { transform: rotate(0deg) scale(1.02); border-color: var(--neon-blue); }
.concept-img { width: 100%; display: block; }

.bullet-list li {
    margin-bottom: 15px; padding-left: 40px; position: relative;
    color: var(--text-main); font-size: 1.2rem; font-weight: 500;
}
.bullet-list li::before {
    content: '★'; color: var(--neon-pink); /* Pink Stars */
    position: absolute; left: 0; font-size: 1.2rem; top: 2px;
}

/* --- WHY CHOOSE (Rotating Colors) --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }

.feature-card {
    background: var(--bg-card); padding: 40px 30px; border-radius: 20px;
    border: 2px solid #333;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-icon { font-size: 3.5rem; margin-bottom: 20px; display: inline-block; transition: transform 0.3s; }

/* Cycle Colors for features */
.feature-card:nth-child(1):hover { border-color: var(--neon-blue); transform: translateY(-15px); box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2); }
.feature-card:nth-child(1) .feature-icon { color: var(--neon-blue); }

.feature-card:nth-child(2):hover { border-color: var(--neon-pink); transform: translateY(-15px); box-shadow: 0 10px 30px rgba(255, 0, 222, 0.2); }
.feature-card:nth-child(2) .feature-icon { color: var(--neon-pink); }

.feature-card:nth-child(3):hover { border-color: var(--primary-green); transform: translateY(-15px); box-shadow: 0 10px 30px rgba(4, 94, 0, 0.2); }
.feature-card:nth-child(3) .feature-icon { color: var(--primary-green); }

.feature-card:nth-child(4):hover { border-color: var(--neon-purple); transform: translateY(-15px); box-shadow: 0 10px 30px rgba(157, 0, 255, 0.2); }
.feature-card:nth-child(4) .feature-icon { color: var(--neon-purple); }


/* --- HOW IT WORKS (Timeline) --- */
.steps { background: transparent; }
.steps-container {
    display: flex; flex-direction: column; max-width: 800px; margin: 0 auto;
    position: relative; border-left: 4px solid var(--primary-green); margin-left: 40px; padding: 20px 0;
}
.step-row {
    background: transparent; padding: 0 0 50px 40px; position: relative;
    display: flex; flex-direction: column; border: none;
}
.step-row:hover { transform: translateX(10px); }
.step-row > div { flex: 1; text-align: left; }

.step-number {
    width: 60px; height: 60px; min-width: 60px; border-radius: 50%;
    position: absolute; left: -34px; top: 0;
    background: #000; border: 3px solid var(--primary-green); color: var(--primary-green);
    font-family: var(--font-head); font-size: 1.5rem; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.8); z-index: 2;
}
.step-row:hover .step-number {
    background: var(--primary-green); color: white; box-shadow: 0 0 20px var(--primary-green);
}

/* --- GAMES & FORMATS (Rotating Colors) --- */
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }

.game-card {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border: 1px solid #333; border-radius: 20px; padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    overflow: visible;
}

.game-icon {
    font-size: 3rem; margin-bottom: 20px; background: #000;
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #333; box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: 0.4s ease;
}

/* Game Card 1: Blue */
.game-card:nth-child(1):hover { transform: translateY(-10px); border-color: var(--neon-blue); box-shadow: 0 10px 40px rgba(0, 242, 255, 0.15); }
.game-card:nth-child(1):hover .game-icon { border-color: var(--neon-blue); color: white; background: var(--neon-blue); box-shadow: 0 0 25px var(--neon-blue); transform: rotate(-10deg) scale(1.1); }
.game-card:nth-child(1):hover .game-title { border-bottom-color: var(--neon-blue); }

/* Game Card 2: Pink */
.game-card:nth-child(2):hover { transform: translateY(-10px); border-color: var(--neon-pink); box-shadow: 0 10px 40px rgba(255, 0, 222, 0.15); }
.game-card:nth-child(2):hover .game-icon { border-color: var(--neon-pink); color: white; background: var(--neon-pink); box-shadow: 0 0 25px var(--neon-pink); transform: rotate(-10deg) scale(1.1); }
.game-card:nth-child(2):hover .game-title { border-bottom-color: var(--neon-pink); }

/* Game Card 3: Green */
.game-card:nth-child(3):hover { transform: translateY(-10px); border-color: var(--primary-green); box-shadow: 0 10px 40px rgba(4, 94, 0, 0.15); }
.game-card:nth-child(3):hover .game-icon { border-color: var(--primary-green); color: white; background: var(--primary-green); box-shadow: 0 0 25px var(--primary-green); transform: rotate(-10deg) scale(1.1); }
.game-card:nth-child(3):hover .game-title { border-bottom-color: var(--primary-green); }

/* Game Card 4: Purple */
.game-card:nth-child(4):hover { transform: translateY(-10px); border-color: var(--neon-purple); box-shadow: 0 10px 40px rgba(157, 0, 255, 0.15); }
.game-card:nth-child(4):hover .game-icon { border-color: var(--neon-purple); color: white; background: var(--neon-purple); box-shadow: 0 0 25px var(--neon-purple); transform: rotate(-10deg) scale(1.1); }
.game-card:nth-child(4):hover .game-title { border-bottom-color: var(--neon-purple); }

.game-title {
    font-family: var(--font-head); font-size: 1.6rem; color: white;
    margin-bottom: 15px; text-transform: uppercase;
    border-bottom: 2px solid transparent; padding-bottom: 10px; transition: 0.3s;
}
.game-body { color: #aaa; font-size: 1.05rem; line-height: 1.6; }

/* --- OCCASIONS (Rotating Colors) --- */
.occasions { background-color: transparent; text-align: center; position: relative; }
.occasions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1000px; margin: 50px auto 0 auto; position: relative; z-index: 1; }

.occasion-card {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border: 1px solid #333; border-radius: 20px; padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: visible;
}

.icon-wrapper {
    font-size: 3rem; margin: -70px auto 20px auto; width: 80px; height: 80px;
    background: #000; border: 3px solid #333; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); transition: 0.4s ease;
}

/* Occasion Card 1: Blue */
.occasion-card:nth-child(1):hover { transform: translateY(-10px); border-color: var(--neon-blue); box-shadow: 0 10px 40px rgba(0, 242, 255, 0.2); }
.occasion-card:nth-child(1) .icon-wrapper { border-color: var(--neon-blue); }
.occasion-card:nth-child(1):hover .icon-wrapper { background: var(--neon-blue); transform: scale(1.1) rotate(10deg); box-shadow: 0 0 30px var(--neon-blue); }

/* Occasion Card 2: Pink */
.occasion-card:nth-child(2):hover { transform: translateY(-10px); border-color: var(--neon-pink); box-shadow: 0 10px 40px rgba(255, 0, 222, 0.2); }
.occasion-card:nth-child(2) .icon-wrapper { border-color: var(--neon-pink); }
.occasion-card:nth-child(2):hover .icon-wrapper { background: var(--neon-pink); transform: scale(1.1) rotate(10deg); box-shadow: 0 0 30px var(--neon-pink); }

/* Occasion Card 3: Green */
.occasion-card:nth-child(3):hover { transform: translateY(-10px); border-color: var(--primary-green); box-shadow: 0 10px 40px rgba(4, 94, 0, 0.2); }
.occasion-card:nth-child(3) .icon-wrapper { border-color: var(--primary-green); }
.occasion-card:nth-child(3):hover .icon-wrapper { background: var(--primary-green); transform: scale(1.1) rotate(10deg); box-shadow: 0 0 30px var(--primary-green); }

/* Occasion Card 4: Purple */
.occasion-card:nth-child(4):hover { transform: translateY(-10px); border-color: var(--neon-purple); box-shadow: 0 10px 40px rgba(157, 0, 255, 0.2); }
.occasion-card:nth-child(4) .icon-wrapper { border-color: var(--neon-purple); }
.occasion-card:nth-child(4):hover .icon-wrapper { background: var(--neon-purple); transform: scale(1.1) rotate(10deg); box-shadow: 0 0 30px var(--neon-purple); }

.occasion-title { font-family: var(--font-head); font-size: 1.5rem; color: white; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.occasion-text { font-size: 1rem; color: #aaa; line-height: 1.6; }
.occasion-text strong { color: var(--primary-bright); }

/* --- LOCATION & FAQ --- */
.venue { text-align: center; background: var(--bg-card); border-radius: 30px; margin: 40px auto; padding-bottom: 40px; }
.map-placeholder { width: 100%; height: 450px; background: #0d0d0d; margin-top: 30px; border-radius: 20px; border: 2px solid #333; overflow: hidden; }

.faq { background-color: transparent; }
.faq-item { background: var(--bg-card); margin-bottom: 15px; border-radius: 15px; border: 1px solid #333; overflow: hidden; }
.faq-question { padding: 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: bold; color: var(--text-main); font-size: 1.1rem; }
.faq-question:hover { background: #1a1a1a; color: var(--neon-blue); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 25px; background: #000; color: #bbb; }
.faq-item.active .faq-answer { padding: 25px; max-height: 200px; }
.faq-toggle { color: var(--primary-green); font-size: 1.5rem; font-weight: bold; background: rgba(255,255,255,0.1); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* --- FOOTER --- */
.cta-footer {
    /* Gradient mixing Green and Pink to match logo vibes */
    background: linear-gradient(rgba(4, 94, 0, 0.8), rgba(255, 0, 222, 0.3)), url('https://images.unsplash.com/photo-1518609878373-06d740f60d8b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover; padding: 120px 0; text-align: center;
}
footer { background: #000; padding: 50px 0; text-align: center; font-size: 0.9rem; color: #555; border-top: 1px solid #222; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .concept-grid, .games-grid, .occasions-grid { grid-template-columns: 1fr; }
    .concept-img-wrapper { transform: rotate(0deg); margin-top: 30px; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: #000; padding: 30px; text-align: center; border-bottom: 2px solid var(--primary-green);}
    nav ul.active { display: flex; }
    .mobile-menu-btn { display: block; }
}