/* === VARIABLES & RESET === */
:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ff;
    --font-main: 'Share Tech Mono', monospace;
    --font-title: 'Jolly Lodger', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    padding-top: 70px; /* Offset for fixed navbar */
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* ==== NAVIGATION ==== */
.main-nav {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid #333;
    position: fixed;
    width: 100%;
    height: 70px;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo img {
    height: 40px;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex; /* Desktop layout */
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* === HERO SECTION === */
.hero {
    height: calc(100vh - 70px); /* Subtract navbar height */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url("../img/home_page_background.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid var(--neon-cyan);
}

.glitch-title {
    font-family: var(--font-title);
    font-size: 5rem;
    color: var(--neon-cyan);
    text-shadow: 4px 4px 0px var(--neon-pink);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    letter-spacing: 5px;
}

/* Custom Neon Button */
.btn-neon {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background-color: var(--neon-cyan);
    color: black;
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* === ZONES SECTION === */
.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* Responsive Grid */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.zone-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-10px); /* Lift effect */
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zone-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h3 {
    color: var(--neon-pink);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-main);
}

.card-content p {
    color: #bbb;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--neon-cyan);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--neon-cyan);
}

/* === PRICING === */
.table-responsive {
    overflow-x: auto; /* Mobile scroll */
    margin-bottom: 50px;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.05);
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-color);
    font-family: var(--font-main);
    text-align: left;
}

.cyber-table thead {
    background-color: rgba(0, 243, 255, 0.1);
    border-bottom: 2px solid var(--neon-cyan);
}

.cyber-table th {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap; /* Prevent wrapping */
}

.cyber-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #222;
    white-space: nowrap;
    vertical-align: middle;
}

.cyber-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.cyber-table tbody tr:hover {
    background-color: rgba(0, 243, 255, 0.05);
    color: white;
}

.badge {
    background-color: var(--neon-pink);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* === CONTACT === */
.contact-panel {
    display: flex;
    border: 2px solid var(--neon-cyan);
    background-color: #111;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    min-height: 500px;
}

.panel-form {
    flex: 1;
    padding: 40px;
    border-right: 2px solid var(--neon-cyan);
}

.panel-form h3 {
    color: var(--neon-pink);
    margin-bottom: 25px;
    font-family: var(--font-title);
    letter-spacing: 2px;
}

.mb-3 {
    margin-bottom: 20px;
}

.panel-form label {
    display: block;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.cyber-input {
    width: 100%;
    background-color: #050505;
    border: 1px solid #333;
    color: white;
    padding: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

.cyber-input:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

.panel-map {
    flex: 1.5;
    position: relative;
    background-color: #000;
}

.panel-map iframe {
    filter: grayscale(100%) invert(90%); 
    display: block;
}

.map-overlay-info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--neon-cyan);
    color: black;
    padding: 10px 20px;
    font-weight: bold;
    font-family: var(--font-main);
    box-shadow: 5px 5px 0px var(--neon-pink);
}

/* === EVENTS.HTML === */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/events_background_edited.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 50px 0;
    border-bottom: 1px solid #333;
}

.active-page {
    color: var(--neon-pink) !important;
    border-bottom: 2px solid var(--neon-pink);
}

.event-card {
    display: flex;
    background-color: #111;
    border: 1px solid #333;
    margin-bottom: 30px;
    transition: transform 0.3s, border-color 0.3s;
}

.event-card:hover {
    border-color: var(--neon-cyan);
    transform: translateX(10px);
}

.event-date {
    background-color: #000;
    color: var(--neon-cyan);
    padding: 20px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px dashed #333;
    font-family: var(--font-title);
}

.event-date .day {
    font-size: 3rem;
    line-height: 1;
}

.event-date .month {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.event-details {
    padding: 25px;
    flex: 1;
}

.event-details h3 {
    color: white;
    font-family: var(--font-main);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-family: monospace;
    border-left: 2px solid var(--neon-pink);
    padding-left: 10px;
}

.event-action {
    display: flex;
    align-items: center;
    padding: 20px;
    border-left: 1px solid #333;
}

.neon-border-pink {
    color: var(--neon-pink);
}

.pink-btn {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.pink-btn:hover {
    background-color: var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
}

/* === GAME PANEL === */
.unified-game-panel {
    background: linear-gradient(to bottom, #111, #0a0a0a);
    border: 1px solid #333;
    border-left: 5px solid var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.panel-section {
    padding: 40px;
}

.panel-divider {
    height: 1px;
    background: repeating-linear-gradient(to right, #333, #333 5px, transparent 5px, transparent 10px);
    margin: 0 20px;
}

.unified-game-panel h3 {
    color: white;
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.unified-game-panel p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.highlight {
    color: var(--neon-pink);
    font-weight: bold;
}

.policy-subtext {
    font-size: 0.9rem;
    color: #888 !important;
    margin-top: 10px;
    border-top: 1px solid #222;
    padding-top: 10px;
}

.policy-subtext strong {
    color: white;
}

.arcade-col {
    border-right: 1px dashed #333;
}

.retro-list {
    list-style: none;
    padding: 0;
}

.retro-list li {
    padding: 8px 0;
    border-bottom: 1px solid #222;
    color: #bbb;
}

.retro-list li strong {
    color: var(--neon-cyan);
}

.board-game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.game-tag {
    background-color: #222;
    color: #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid #333;
    transition: 0.3s;
}

.game-tag:hover {
    border-color: var(--neon-pink);
    color: white;
}

/* === VIDEO SHOWCASE === */
.video-showcase {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9; 
    margin: 60px auto 0 auto;
    border: 1px solid #333;
    background: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    overflow: hidden;
}

.video-showcase video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; 
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-showcase:hover video {
    opacity: 1;
}

/* Corner Decorations */
.corner-decor {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--neon-pink);
    z-index: 10;
    transition: all 0.3s ease;
    pointer-events: none;
}

.top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }

.video-showcase:hover .corner-decor {
    width: 100%;
    height: 100%;
    border-color: var(--neon-cyan);
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* === FOOTER === */
.footer {
    background-color: black;
    color: #555;
    border-top: 1px solid #222;
    margin-top: 50px;
    padding: 40px 0;
    font-family: monospace;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

/* Footer Left */
.footer-branding p {
    margin-bottom: 5px;
}

.footer-sub {
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Footer Right (Credits) */
.footer-credits h4 {
    color: var(--neon-cyan);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.credits-list li a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
    border-bottom: 1px dotted #444;
}

.credits-list li a:hover {
    color: var(--neon-pink);
    border-bottom-color: var(--neon-pink);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */

@media (max-width: 768px) {
    /* --- General Mobile Adjustments --- */
    .contact-panel {
        flex-direction: column;
    }
    .panel-form {
        border-right: none;
        border-bottom: 2px solid var(--neon-cyan);
    }
    .panel-map {
        height: 300px;
    }
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    .event-date, .event-action {
        border: none;
        border-bottom: 1px dashed #333;
        width: 100%;
    }
    .event-meta {
        border-left: none;
        border-bottom: 2px solid var(--neon-pink);
        padding-bottom: 5px;
        display: inline-block;
    }
    .arcade-col {
        border-right: none;
        border-bottom: 1px dashed #333;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .panel-section {
        padding: 20px;
    }

    /* --- Mobile Menu --- */
    .hamburger {
        display: block; /* Show Hamburger */
    }

    /* X Animation */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--neon-cyan); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--neon-cyan); }

    /* Sliding Menu Panel */
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px; /* Position below navbar */
        width: 100%;
        height: auto;
        flex-direction: column;
        background-color: rgba(5, 5, 5, 0.98);
        border-bottom: 2px solid var(--neon-cyan);
        padding: 30px 0;
        gap: 0;
        transition: 0.3s;
        z-index: 1500;
        align-items: center;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.4rem;
        display: inline-block;
        width: auto;
        padding: 5px 10px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .credits-list {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
}