:root {
    --primary-color: #00f3ff;
    --secondary-color: #bc13fe;
    --bg-dark: #0a0a0a;
    --bg-panel: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-dim: #a0a0a0;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(188, 19, 254, 0.08), transparent 25%);
    z-index: -1;
    pointer-events: none;
    /* Dark overlay for video readability */
    background-color: rgba(10, 10, 10, 0.85);
}

#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    object-fit: cover;
}

/* Welcome Text */
/* Welcome Text (NexGen) */
.welcome-text {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    /* Larger for branding */
    font-weight: 800;
    /* Bold */
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 2002;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    /* White glow */
}

/* Top Navigation Header */
.top-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Navigation Button (Hamburger) */
.hamburger {
    position: fixed;
    top: 30px;
    right: 5%;
    z-index: 2000;
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Animate Hamburger to X */
.hamburger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line2 {
    opacity: 0;
}

.hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Sidebar Navigation */
nav {
    position: fixed;
    top: 0;
    left: -100%;
    /* Hidden by default */
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1500;
    padding-top: 100px;
    /* Space for logo if needed or just breathing room */
    transition: left 0.5s ease-in-out;
    border-right: 1px solid var(--primary-color);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav.active {
    left: 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    text-align: center;
    width: 100%;
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    display: block;
    padding: 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(0, 243, 255, 0.05);
    border-left: 3px solid var(--primary-color);
}

/* Branding Container */
.branding {
    /* position: fixed; removed */
    /* top: 20px; removed */
    /* left: 40px; removed */
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    text-decoration: none;
    margin-left: 20px;
    /* Moved right by approx half inch */
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    /* Optional: if you want gradient text */
}

/* Circular Logo Frame */
.logo-container {
    position: relative;
    width: 50px;
    /* resized smaller for header */
    height: 50px;
    border-radius: 50%;
    /* Ensuring it's round if user wants, or keep square based on previous req? User removed circle earlier. Keeping as is from file but maybe check styles. */
    /* User previously wanted square, let's verify if border-radius is commented out in style check */
    /* Looking at previous view: border-radius was commented out. I should keep it commented or not include it here if I am strictly replacing branding block. */
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ... */

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    }

    to {
        text-shadow: 0 0 40px rgba(188, 19, 254, 0.4);
    }
}

.hero p.date {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
}

.time-box {
    background: var(--bg-panel);
    padding: 2rem;
    border-radius: 12px;
    border: var(--glass-border);
    min-width: 120px;
    backdrop-filter: blur(5px);
}

.time-box span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.time-box p {
    color: var(--text-dim);
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* CTA Button */
.cta-btn {
    padding: 1rem 3rem;
    background: var(--gradient-main);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    margin-bottom: 5rem;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(188, 19, 254, 0.4);
}

/* Map Section */
.map-section {
    width: 100%;
    padding: 2rem 5%;
    margin-bottom: 2rem;
    margin-top: 60 px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    filter: invert(90%) hue-rotate(180deg);
    /* Dark mode map effect */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* General Page Layout */
.page-container {
    padding: 150px 10% 50px;
    min-height: 100vh;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    border-left: 5px solid var(--secondary-color);
    padding-left: 20px;
}

.content-panel {
    background: var(--bg-panel);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(5px);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

p {
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .countdown-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .time-box {
        min-width: 80px;
        padding: 1rem;
    }

    .time-box span {
        font-size: 2rem;
    }

    .logo-container {
        width: 60px;
        height: 60px;
        top: 15px;
        left: 15px;
    }
}

/* Schedule Section */
.schedule-section {
    width: 100%;
    margin-bottom: 2rem;
}

.schedule-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-panel);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}


/* Futuristic Vertical Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 0;
}

/* Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-main);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 15px var(--primary-color);
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
    border: none;
    /* Reset existing borders */
    background: transparent;
    /* Reset existing background */
    backdrop-filter: none;
    /* Reset existing blur */
    margin-bottom: 0;
    /* Reset existing margin */
}

/* Item Content Box */
.timeline-item .event-details {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    border-radius: 15px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.timeline-item:hover .event-details {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    border-color: var(--primary-color);
    transform: scale(1.02);
}

/* Left side */
.timeline-item:nth-child(odd) {
    left: 0;
}

/* Right side */
.timeline-item:nth-child(even) {
    left: 50%;
}

/* Timeline Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: #000;
    border: 3px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 10px var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--secondary-color);
}

/* Fix dot position for right side */
.timeline-item:nth-child(even)::after {
    left: -10px;
}

/* Arrows pointing to line */
.timeline-item:nth-child(odd) .event-details::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -10px;
    border: medium solid rgba(0, 243, 255, 0.2);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(0, 243, 255, 0.2);
}

.timeline-item:nth-child(even) .event-details::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid rgba(0, 243, 255, 0.2);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(0, 243, 255, 0.2) transparent transparent;
}

/* Time Label Styling */
.time {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* Responsive Logic */
@media screen and (max-width: 768px) {

    /* Move line to left */
    .timeline::after {
        left: 31px;
    }

    /* Full width items */
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Reset left/right positioning */
    .timeline-item:nth-child(even) {
        left: 0%;
    }

    /* Move dots to left line */
    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    /* Fix arrows */
    .timeline-item:nth-child(odd) .event-details::before {
        border-width: 10px 10px 10px 0;
        border-color: transparent rgba(0, 243, 255, 0.2) transparent transparent;
        left: -10px;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-text {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 5px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 1.5s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
        transform: scale(1);
    }

    to {
        text-shadow: 0 0 30px rgba(188, 19, 254, 0.6);
        transform: scale(1.05);
    }
}