/* ============================================
   GATEWAY - Enhanced CSS with Advanced Animations
   PSG College Technical Event Landing Page
   FIXED: Mobile compatibility, Timeline, Professional improvements
   UPDATED: Purple replaced with Orange throughout
   ============================================ */

/* Google Fonts imported in HTML */

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-card: rgba(0, 10, 20, 0.85);
    --cyan: #00F0FF;
    --purple: #FF6B00;
    --green: #22C55E;
    --yellow: #EAB308;
    --pink: #EC4899;
    --psg-blue: #5E7CE2;
    --text-primary: #FFFFFF;
    --text-secondary: #D0D0E0;
    --text-muted: #A0A0B0;
    --border-color: rgba(0, 240, 255, 0.2);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
    --glow-purple: 0 0 20px rgba(255, 107, 0, 0.4);
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--cyan) 0%, var(--purple) 100%); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #33F3FF 0%, #FF8C00 100%); }

/* ============================================
   Particle Canvas
   ============================================ */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   Circuit Board Background
   ============================================ */
.circuit-board {
    position: fixed;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(90deg, var(--cyan) 1px, transparent 1px),
        linear-gradient(var(--cyan) 1px, transparent 1px),
        radial-gradient(circle at 20% 50%, var(--cyan) 2px, transparent 2px),
        radial-gradient(circle at 60% 80%, var(--purple) 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, var(--green) 2px, transparent 2px);
    background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px, 100px 100px;
    background-position: -1px -1px, -1px -1px, 0 0, 40px 60px, 25px 25px;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   Meteor Shower
   ============================================ */
.meteor-shower {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.meteor {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
    animation: meteor-fall 3s linear infinite;
}

@keyframes meteor-fall {
    0% { transform: translateY(0) translateX(0) rotate(315deg); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(300px) translateX(-300px) rotate(315deg); opacity: 0; }
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%; right: 100%;
    width: 50px; height: 1px;
    background: linear-gradient(to right, transparent, var(--cyan));
}

/* ============================================
   Sound Toggle Button
   ============================================ */
.sound-toggle {
    position: fixed;
    top: 100px; right: 2rem;
    z-index: 1001;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(5, 5, 15, 0.8);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-toggle:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--cyan);
    transform: scale(1.1);
}

.sound-toggle svg { width: 24px; height: 24px; color: var(--cyan); }

/* ============================================
   Navigation
   ============================================ */
.navigation {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.navigation.scrolled {
    background: rgba(1, 1, 3, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.15);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-link {
    background: white;
    border-radius: 50px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    order: 1;
}

.nav-logo-link:hover { transform: scale(1.05) translateY(-2px); }

.nav-logo-img {
    height: 45px;
    width: auto;
    border-radius: 0;
    display: block;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    margin-left: 1rem;
}

.nav-logo:hover {
    color: #33F3FF;
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    order: 3;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 25px; height: 2px;
    background: var(--cyan);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links button {
    background: none;
    border: none;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links button::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width 0.3s ease;
}

.nav-links button:hover { color: var(--cyan); transform: translateY(-2px); }
.nav-links button:hover::after { width: 100%; }

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/1376766/nature-milky-way-galaxy-space-1376766.jpeg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.25) saturate(1.5) contrast(1.2);
    z-index: 0;
    transition: transform 0.1s ease-out;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 3, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
}

/* Stars */
.stars {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    transform: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
    transform: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Animated Rocket */
.rocket {
    position: absolute;
    width: 80px; height: 120px;
    bottom: 20%; left: 10%;
    z-index: 10;
    animation: rocketFly 15s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6));
}

@keyframes rocketFly {
    0% { transform: translateY(0) translateX(0) rotate(-5deg); }
    25% { transform: translateY(-100px) translateX(200px) rotate(5deg); }
    50% { transform: translateY(-50px) translateX(400px) rotate(-5deg); }
    75% { transform: translateY(-120px) translateX(200px) rotate(5deg); }
    100% { transform: translateY(0) translateX(0) rotate(-5deg); }
}

.rocket-flame { animation: flameFlicker 0.3s ease-in-out infinite; }
@keyframes flameFlicker {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.7; transform: scaleY(0.8); }
}

/* Satellites */
.satellite {
    position: absolute;
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.satellite::before, .satellite::after {
    content: '';
    position: absolute;
    background: var(--cyan);
}

.satellite::before { width: 40px; height: 2px; left: -45px; top: 50%; transform: translateY(-50%); }
.satellite::after { width: 40px; height: 2px; right: -45px; top: 50%; transform: translateY(-50%); }

.orbit-1 { top: 20%; right: 15%; animation: orbitSpin 8s linear infinite; }
.orbit-2 { bottom: 30%; left: 20%; animation: orbitSpin 10s linear infinite reverse; }

@keyframes orbitSpin {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

/* Floating Planets */
.floating-planet {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
    animation: float 8s ease-in-out infinite;
}

.floating-planet img { width: 100%; height: 100%; object-fit: cover; }

.planet-1 { top: 15%; left: 10%; width: 80px; height: 80px; }
.planet-2 { top: 60%; right: 8%; width: 120px; height: 120px; animation-delay: 2s; }
.planet-events { bottom: 10%; right: 5%; width: 100px; height: 100px; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    50% { transform: translateY(-30px) translateX(10px) scale(1.05); }
}

/* Cute Robots */
.cute-robot {
    position: absolute;
    z-index: 10;
    animation: robotFloat 5s ease-in-out infinite;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cute-robot:hover { animation-play-state: paused; transform: scale(1.2) rotate(5deg); }

.robot-1 { top: 20%; left: 5%; width: 80px; height: 100px; }
.robot-2 { top: 70%; left: 8%; width: 60px; height: 75px; animation-delay: 1.5s; }
.robot-3 { top: 25%; right: 5%; width: 70px; height: 87px; animation-delay: 0.5s; }
.robot-4 { bottom: 20%; right: 10%; width: 90px; height: 112px; animation-delay: 2s; }
.robot-about { top: 10%; right: 5%; width: 60px; height: 75px; }
.robot-events { top: 15%; left: 3%; width: 70px; height: 87px; animation-delay: 0.5s; }
.robot-register-1 { top: 20%; right: 8%; width: 80px; height: 100px; }
.robot-register-2 { bottom: 15%; left: 5%; width: 65px; height: 81px; animation-delay: 1s; }

@keyframes robotFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

/* Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 240, 255, 0.3), rgba(255, 107, 0, 0.1));
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.2), 0 0 20px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(2px);
    z-index: 5;
    animation: bubbleFloat 6s ease-in-out infinite;
}

.bubble-1 { top: 30%; left: 20%; width: 40px; height: 40px; animation-delay: 0.5s; }
.bubble-2 { top: 50%; right: 15%; width: 60px; height: 60px; animation-delay: 1s; }
.bubble-3 { bottom: 30%; left: 15%; width: 30px; height: 30px; animation-delay: 1.5s; }
.bubble-4 { top: 40%; right: 25%; width: 25px; height: 25px; animation-delay: 2s; }
.bubble-5 { bottom: 40%; right: 30%; width: 35px; height: 35px; }
.bubble-about-1 { top: 20%; left: 5%; width: 50px; height: 50px; animation-delay: 0.5s; }
.bubble-about-2 { bottom: 20%; right: 10%; width: 40px; height: 40px; animation-delay: 1s; }
.bubble-register-1 { top: 30%; left: 10%; width: 45px; height: 45px; animation-delay: 0.5s; }
.bubble-register-2 { bottom: 25%; right: 15%; width: 35px; height: 35px; animation-delay: 1.5s; }

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 9999px;
    background: rgba(0, 15, 30, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.4);
    backdrop-filter: blur(16px);
    animation: fadeIn 0.5s ease-out 0.5s both, badgePulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    width: auto;
    width: fit-content;
}

.event-badge br { display: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.6); }
}

.event-badge .sparkle-icon {
    width: 16px; height: 16px;
    color: var(--cyan);
    animation: sparkle 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

.event-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    display: inline;
    white-space: nowrap;
}

.gateway-title {
    font-family: var(--font-primary);
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #FFFFFF 0%, #33F3FF 30%, #00F0FF 60%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 80px rgba(0, 240, 255, 0.5));
    margin-bottom: 1.5rem;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 80px rgba(0, 240, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 60px rgba(0, 240, 255, 1)) drop-shadow(0 0 120px rgba(0, 240, 255, 0.8)); }
}

.hero-subtitle {
    font-size: 2rem;
    color: #E0E0E0;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}


.college-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: #5E7CE2;
    margin-bottom: 2rem;
    text-shadow: 0 0 25px rgba(94, 124, 226, 0.8), 0 0 50px rgba(94, 124, 226, 0.4);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.eve-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: #eff4f5;
    margin-bottom: 2rem;
    text-shadow: 0 0 25px rgba(94, 124, 226, 0.8), 0 0 50px rgba(94, 124, 226, 0.4);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.text-cyan { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 240, 255, 0.6); }
.text-purple { color: #FF6B00; text-shadow: 0 0 10px rgba(255, 107, 0, 0.6); }
.text-orange { color: #FF6B00; text-shadow: 0 0 10px rgba(255, 107, 0, 0.6); }
.text-green { color: var(--green); text-shadow: 0 0 10px rgba(34, 197, 94, 0.6); }
.text-yellow { color: var(--yellow); }

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 15, 30, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    min-width: 80px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.countdown-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: #33F3FF;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.8), 0 0 60px rgba(0, 240, 255, 0.4);
}

.countdown-label {
    font-size: 0.875rem;
    color: #B0B0C0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.event-date .calendar-icon { width: 20px; height: 20px; color: var(--cyan); }

.event-date span {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--cyan);
    border: none;
    border-radius: 9999px;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.1em;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before { width: 300px; height: 300px; }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(0, 240, 255, 0.6); background: #33F3FF; }
.btn-primary svg { width: 20px; height: 20px; position: relative; z-index: 1; flex-shrink: 0; }

.btn-primary.large {
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--purple);
    border-radius: 9999px;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary:hover::before { width: 300px; height: 300px; }
.btn-secondary:hover { transform: scale(1.05); background: rgba(255, 107, 0, 0.3); border-color: var(--purple); }
.btn-secondary svg { width: 20px; height: 20px; position: relative; z-index: 1; flex-shrink: 0; }

.btn-brochure {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--green);
    border-radius: 9999px;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.btn-brochure::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-brochure:hover::before { width: 300px; height: 300px; }
.btn-brochure:hover { transform: scale(1.05); background: rgba(34, 197, 94, 0.3); border-color: var(--green); }
.btn-brochure svg { width: 20px; height: 20px; position: relative; z-index: 1; flex-shrink: 0; }

/* Ripple Effect */
.ripple-effect { position: relative; overflow: hidden; }

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px; height: 40px;
    border: 2px solid rgba(0, 240, 255, 0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 6px; height: 12px;
    background: var(--cyan);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.5; }
}

/* ============================================
   Section Common Styles
   ============================================ */
.section-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.6), rgba(255, 185, 0, 0.4));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    color: #000;
    animation: goldGlow 3s ease-in-out infinite;
}

@keyframes goldGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
    50% { box-shadow: 0 0 45px rgba(255, 215, 0, 1); }
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 640px;
    margin: 1rem auto 0;
    color: #C0C0D0;
    font-size: 1.125rem;
}

/* ============================================
   3D Tilt Card Effect
   ============================================ */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) scale(1.02);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    position: relative;
    padding: 3rem 1.5rem;
    overflow: hidden;
    background: #000000;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    color: #D0D0E0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-text.secondary { color: #B0B0C0; margin-bottom: 2rem; }

.about-content p { text-align: justify; font-size: 1.2rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.feature-card {
    padding: 1.5rem;
    background: rgba(0, 10, 20, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.feature-card:hover { border-color: rgba(0, 240, 255, 0.6); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3); }

.feature-icon { width: 40px; height: 40px; margin-bottom: 1rem; transition: transform 0.3s ease; }
.feature-icon.cyan { color: var(--cyan); }
.feature-icon.purple { color: #FF6B00; }
.feature-icon.orange { color: #FF6B00; }
.feature-icon.green { color: var(--green); }
.feature-icon.yellow { color: var(--yellow); }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }

.feature-card h3 { font-family: var(--font-primary); font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: #C0C0D0; }

/* ============================================
   Events Section
   ============================================ */
.events-section {
    position: relative;
    padding: 3rem 1.5rem;
    overflow: hidden;
    background: #000000;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: nebulaFloat 20s ease-in-out infinite;
}

@keyframes nebulaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

.nebula-1 { top: 25%; left: 25%; width: 400px; height: 400px; background: rgba(255, 107, 0, 0.2); }
.nebula-2 { bottom: 25%; right: 25%; width: 350px; height: 350px; background: rgba(0, 240, 255, 0.15); animation-delay: 5s; }

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.event-card {
    padding: 1.5rem;
    background: rgba(0, 10, 20, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.event-card:hover { border-color: rgba(0, 240, 255, 0.6); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3); }

.event-day {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.event-brochure {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;

}



.event-card[data-color="cyan"] .event-day { background: rgba(0, 240, 255, 0.2); color: var(--cyan); }
.event-card[data-color="purple"] .event-day { background: rgba(255, 107, 0, 0.2); color: #FF6B00; }
.event-card[data-color="orange"] .event-day { background: rgba(255, 107, 0, 0.2); color: #FF6B00; }
.event-card[data-color="green"] .event-day { background: rgba(34, 197, 94, 0.2); color: var(--green); }
.event-card[data-color="yellow"] .event-day { background: rgba(234, 179, 8, 0.2); color: var(--yellow); }
.event-card[data-color="pink"] .event-day { background: rgba(236, 72, 153, 0.2); color: var(--pink); }

.event-card h3 { font-family: var(--font-primary); font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; transition: color 0.3s ease; }
.event-card:hover h3 { color: var(--cyan); }
.event-card p { font-size: 0.875rem; color: #C0C0D0; margin-bottom: 1rem; }

.event-time { display: flex; align-items: center; gap: 0.5rem; color: #B0B0C0; font-size: 0.875rem; }
.event-time svg { width: 16px; height: 16px; }

/* .event-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #B0B0C0;
    font-size: 0.875rem;
    justify-content: space-between; /* ADD THIS */
    /* flex-wrap: wrap;               /* ADD THIS */
/* }  */ */

/* Event hover color variants */
/* .event-card:nth-child(1):hover { border-color: #00FFFF !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(0, 255, 255, 1), 0 0 60px rgba(0, 255, 255, 0.6), inset 0 0 30px rgba(0, 255, 255, 0.1) !important; background: rgba(0, 255, 255, 0.08) !important; } */
/* .event-card:nth-child(1):hover h3 { color: #00FFFF !important; text-shadow: 0 0 30px rgba(0, 255, 255, 1) !important; } */
.event-card:nth-child(1):hover { 
    border-color: #00FFFF !important; 
    border-width: 3px !important; 
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 1), 
        0 0 40px rgba(0, 255, 255, 0.9), 
        0 0 80px rgba(0, 255, 255, 0.7), 
        0 0 120px rgba(0, 255, 255, 0.4),
        inset 0 0 30px rgba(0, 255, 255, 0.15) !important; 
    background: rgba(0, 255, 255, 0.12) !important; 
}
.event-card:nth-child(1):hover h3 { 
    color: #00FFFF !important; 
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 1),
        0 0 30px rgba(0, 255, 255, 1),
        0 0 60px rgba(0, 255, 255, 0.8) !important; 
}

.event-card:nth-child(2):hover { border-color: #FF6B00 !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(255, 107, 0, 1), 0 0 60px rgba(255, 107, 0, 0.6), inset 0 0 30px rgba(255, 107, 0, 0.1) !important; background: rgba(255, 107, 0, 0.08) !important; }
.event-card:nth-child(2):hover h3 { color: #FF6B00 !important; text-shadow: 0 0 30px rgba(255, 107, 0, 1) !important; }
.event-card:nth-child(3):hover { border-color: #39FF14 !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(57, 255, 20, 1), 0 0 60px rgba(57, 255, 20, 0.6), inset 0 0 30px rgba(57, 255, 20, 0.1) !important; background: rgba(57, 255, 20, 0.08) !important; }
.event-card:nth-child(3):hover h3 { color: #39FF14 !important; text-shadow: 0 0 30px rgba(57, 255, 20, 1) !important; }
.event-card:nth-child(4):hover { border-color: #FFFF00 !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(255, 255, 0, 1), 0 0 60px rgba(255, 255, 0, 0.6), inset 0 0 30px rgba(255, 255, 0, 0.1) !important; background: rgba(255, 255, 0, 0.08) !important; }
.event-card:nth-child(4):hover h3 { color: #FFFF00 !important; text-shadow: 0 0 30px rgba(255, 255, 0, 1) !important; }
.event-card:nth-child(5):hover { border-color: #FF0000 !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(255, 0, 0, 1), 0 0 60px rgba(255, 0, 0, 0.6), inset 0 0 30px rgba(255, 0, 0, 0.1) !important; background: rgba(255, 0, 0, 0.08) !important; }
.event-card:nth-child(5):hover h3 { color: #FF3333 !important; text-shadow: 0 0 30px rgba(255, 0, 0, 1) !important; }
.event-card:nth-child(6):hover { border-color: #0099FF !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(0, 153, 255, 1), 0 0 60px rgba(0, 153, 255, 0.6), inset 0 0 30px rgba(0, 153, 255, 0.1) !important; background: rgba(0, 153, 255, 0.08) !important; }
.event-card:nth-child(6):hover h3 { color: #0099FF !important; text-shadow: 0 0 30px rgba(0, 153, 255, 1) !important; }
.event-card:nth-child(7):hover { border-color: #FF6B00 !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(255, 107, 0, 1), 0 0 60px rgba(255, 107, 0, 0.6), inset 0 0 30px rgba(255, 107, 0, 0.1) !important; background: rgba(255, 107, 0, 0.08) !important; }
.event-card:nth-child(7):hover h3 { color: #FF6B00 !important; text-shadow: 0 0 30px rgba(255, 107, 0, 1) !important; }
.event-card:nth-child(8):hover { border-color: #FF9900 !important; border-width: 3px !important; box-shadow: 0 0 30px rgba(255, 153, 0, 1), 0 0 60px rgba(255, 153, 0, 0.6), inset 0 0 30px rgba(255, 153, 0, 0.1) !important; background: rgba(255, 153, 0, 0.08) !important; }
.event-card:nth-child(8):hover h3 { color: #FF9900 !important; text-shadow: 0 0 30px rgba(255, 153, 0, 1) !important; }

/* ============================================
   Timeline Section
   ============================================ */
.timeline-section {
    position: relative;
    padding: 3rem 1.5rem;
    background: #000000;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyan), var(--purple), var(--green));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 2; text-align: left; }

.timeline-marker {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    z-index: 10;
    animation: markerPulse 2s ease-in-out infinite;
    background: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

@keyframes markerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.timeline-marker.cyan { background: var(--cyan); color: var(--cyan); }
.timeline-marker.purple { background: #FF6B00; color: #FF6B00; }
.timeline-marker.orange { background: #FF6B00; color: #FF6B00; }
.timeline-marker.green { background: var(--green); color: var(--green); }

.timeline-content {
    padding: 2rem;
    background: rgba(0, 10, 20, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.timeline-content:hover { border-color: rgba(0, 240, 255, 0.6); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3); }

.timeline-content h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem !important;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.timeline-item h3 { border: none !important; background: transparent !important; box-shadow: none !important; }

.timeline-event {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-event { border-right: 3px solid var(--cyan); border-left: none; }
.timeline-item:nth-child(even) .timeline-event { border-left: 3px solid #FF6B00; border-right: none; }

.timeline-event:hover { background: rgba(0, 240, 255, 0.1); }

.timeline-event .time {
    font-family: var(--font-primary);
    font-size: 1.2rem !important;
    color: var(--cyan);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-event p { font-size: 1.2rem !important; color: #C0C0D0; line-height: 1.6; }

/* Timeline hover effects */
.timeline-marker, .timeline-content, .timeline-content h3, .timeline-event { transition: all 0.4s ease; }

.timeline-item:nth-child(1):hover .timeline-marker { background: #ff0077 !important; box-shadow: 0 0 30px rgb(255, 0, 132), 0 0 60px rgba(255, 0, 132, 0.6) !important; transform: translate(-50%, -50%) scale(1.2) !important; }
.timeline-item:nth-child(1):hover .timeline-content { border-color: #ff0077 !important; box-shadow: 0 10px 50px rgba(255, 0, 132, 0.6) !important; background: rgba(255, 0, 157, 0.05) !important; }
.timeline-item:nth-child(1):hover .timeline-content h3 { color: #ff0077 !important; text-shadow: 0 0 20px rgba(255, 0, 183, 0.8) !important; }
.timeline-item:nth-child(1):hover .timeline-event { border-right-color: #ff0077 !important; background: rgba(255, 0, 98, 0.05) !important; }

.timeline-item:nth-child(2):hover .timeline-marker { background: #FF6B00 !important; box-shadow: 0 0 30px rgba(255, 107, 0, 1), 0 0 60px rgba(255, 107, 0, 0.6) !important; transform: translate(-50%, -50%) scale(1.2) !important; }
.timeline-item:nth-child(2):hover .timeline-content { border-color: #FF6B00 !important; box-shadow: 0 10px 50px rgba(255, 107, 0, 0.6) !important; background: rgba(255, 107, 0, 0.05) !important; }
.timeline-item:nth-child(2):hover .timeline-content h3 { color: #FF6B00 !important; }
.timeline-item:nth-child(2):hover .timeline-event { border-left-color: #FF6B00 !important; background: rgba(255, 107, 0, 0.05) !important; }

.timeline-item:nth-child(3):hover .timeline-marker { background: #39FF14 !important; box-shadow: 0 0 30px rgba(57, 255, 20, 1), 0 0 60px rgba(57, 255, 20, 0.6) !important; transform: translate(-50%, -50%) scale(1.2) !important; }
.timeline-item:nth-child(3):hover .timeline-content { border-color: #39FF14 !important; box-shadow: 0 10px 50px rgba(57, 255, 20, 0.6) !important; background: rgba(57, 255, 20, 0.05) !important; }
.timeline-item:nth-child(3):hover .timeline-content h3 { color: #39FF14 !important; }
.timeline-item:nth-child(3):hover .timeline-event { border-right-color: #39FF14 !important; background: rgba(57, 255, 20, 0.05) !important; }

.timeline-item:nth-child(4):hover .timeline-marker { background: #FFFF00 !important; box-shadow: 0 0 30px rgba(255, 255, 0, 1) !important; transform: translate(-50%, -50%) scale(1.2) !important; }
.timeline-item:nth-child(4):hover .timeline-content { border-color: #FFFF00 !important; box-shadow: 0 10px 50px rgba(255, 255, 0, 0.6) !important; background: rgba(255, 255, 0, 0.05) !important; }
.timeline-item:nth-child(4):hover .timeline-content h3 { color: #FFFF00 !important; }
.timeline-item:nth-child(4):hover .timeline-event { border-left-color: #FFFF00 !important; background: rgba(255, 255, 0, 0.05) !important; }

.timeline-item:nth-child(5):hover .timeline-marker { background: #FF0000 !important; box-shadow: 0 0 30px rgba(255, 0, 0, 1) !important; transform: translate(-50%, -50%) scale(1.2) !important; }
.timeline-item:nth-child(5):hover .timeline-content { border-color: #FF0000 !important; box-shadow: 0 10px 50px rgba(255, 0, 0, 0.6) !important; background: rgba(255, 0, 0, 0.05) !important; }
.timeline-item:nth-child(5):hover .timeline-content h3 { color: #FF3333 !important; }
.timeline-item:nth-child(5):hover .timeline-event { border-right-color: #FF0000 !important; background: rgba(255, 0, 0, 0.05) !important; }

.timeline-item:nth-child(6):hover .timeline-marker { background: #0099FF !important; box-shadow: 0 0 30px rgba(0, 153, 255, 1) !important; transform: translate(-50%, -50%) scale(1.2) !important; }
.timeline-item:nth-child(6):hover .timeline-content { border-color: #0099FF !important; box-shadow: 0 10px 50px rgba(0, 153, 255, 0.6) !important; background: rgba(0, 153, 255, 0.05) !important; }
.timeline-item:nth-child(6):hover .timeline-content h3 { color: #0099FF !important; }
.timeline-item:nth-child(6):hover .timeline-event { border-left-color: #0099FF !important; background: rgba(0, 153, 255, 0.05) !important; }

.timeline-item:nth-child(7):hover .timeline-marker { background: #FF6B00 !important; box-shadow: 0 0 30px rgba(255, 107, 0, 1) !important; transform: translate(-50%, -50%) scale(1.2) !important; }
.timeline-item:nth-child(7):hover .timeline-content { border-color: #FF6B00 !important; box-shadow: 0 10px 50px rgba(255, 107, 0, 0.6) !important; background: rgba(255, 107, 0, 0.05) !important; }
.timeline-item:nth-child(7):hover .timeline-content h3 { color: #FF6B00 !important; }
.timeline-item:nth-child(7):hover .timeline-event { border-left-color: #FF6B00 !important; background: rgba(255, 107, 0, 0.05) !important; }

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    position: relative;
    padding: 3rem 1.5rem;
    background: #000000;
}

.gallery-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 1rem);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover { transform: scale(1.05); }

.gallery-item img { width: 100%; height: 300px; object-fit: cover; display: block; }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-size: 0.875rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(5, 5, 15, 0.8);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover { background: rgba(0, 240, 255, 0.2); border-color: var(--cyan); }
.gallery-nav svg { width: 24px; height: 24px; color: var(--cyan); }
.gallery-nav.prev { left: -25px; }
.gallery-nav.next { right: -25px; }

.gallery-dots { display: none; }

/* ============================================
   Team Section
   ============================================ */
.team-section-enhanced {
    position: relative;
    padding: 3rem 1.5rem;
    overflow: hidden;
    background: #000000;
}

.team-glow-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(255, 107, 0, 0.08) 40%, transparent 70%);
    filter: blur(100px);
    animation: teamGlowPulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes teamGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3) rotate(180deg); opacity: 0.8; }
}

.team-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-card-flip {
    perspective: 1000px;
    height: 450px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.flip-card-inner-team {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-card-flip:hover .flip-card-inner-team { transform: rotateY(180deg); }
.team-card-flip.flipped .flip-card-inner-team { transform: rotateY(180deg); }

.flip-card-front-team,
.flip-card-back-team {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 2rem 1.5rem;
    background: rgba(0, 10, 20, 0.95);
    border: 2px solid rgba(0, 240, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.2), inset 0 0 40px rgba(0, 240, 255, 0.05);
}

.flip-card-back-team {
    transform: rotateY(180deg);
    overflow-y: auto;
    padding: 1.5rem;
}

.team-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(0, 240, 255, 0.1));
    border: 1px solid var(--cyan);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.team-badge-top svg { width: 16px; height: 16px; color: var(--cyan); }
.team-badge-top span { font-weight: 700; font-size: 0.75rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; }

/* Orange badge - replaces purple */
.orange-badge { background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.1)); border-color: #FF6B00; }
.orange-badge svg, .orange-badge span { color: #FF6B00; }

/* Keep purple-badge as alias for orange-badge */
.purple-badge { background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.1)); border-color: #FF6B00; }
.purple-badge svg, .purple-badge span { color: #FF6B00; }

.green-badge { background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1)); border-color: var(--green); }
.green-badge svg, .green-badge span { color: var(--green); }

.team-avatar-enhanced {
    width: 100px; height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid;
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cyan-avatar { background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(0, 240, 255, 0.1)); border-color: var(--cyan); box-shadow: 0 0 30px rgba(0, 240, 255, 0.5); }
/* Orange avatar - replaces purple */
.orange-avatar { background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.1)); border-color: #FF6B00; box-shadow: 0 0 30px rgba(255, 107, 0, 0.5); }
.purple-avatar { background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.1)); border-color: #FF6B00; box-shadow: 0 0 30px rgba(255, 107, 0, 0.5); }
.green-avatar { background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1)); border-color: var(--green); box-shadow: 0 0 30px rgba(34, 197, 94, 0.5); }
.team-avatar-enhanced svg { width: 50px; height: 50px; color: white; }

.flip-card-front-team h3, .flip-card-back-team h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.team-divider-enhanced {
    width: 60%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    margin: 0 auto 1rem;
}

.coordinator-list { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }

.coordinator-item {
    padding: 0.75rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.coordinator-item:hover { background: rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.4); transform: translateX(3px); }
.coordinator-item h4 { font-family: var(--font-primary); font-size: 0.95rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.25rem; }
.coordinator-item p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; }

.robot-team { top: 15%; right: 5%; width: 70px; height: 87px; }
.bubble-team-1 { top: 30%; left: 5%; width: 40px; height: 40px; }
.bubble-team-2 { bottom: 25%; right: 8%; width: 35px; height: 35px; }

/* ============================================
   Tech Team Section
   ============================================ */
.tech-team-section {
    position: relative;
    padding: 3rem 1.5rem;
    overflow: hidden;
    background: #000000;
}

.tech-team-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(255, 107, 0, 0.1) 40%, transparent 70%);
    filter: blur(80px);
    animation: techGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes techGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.tech-team-subtitle { font-size: 1.125rem; color: var(--cyan); text-shadow: 0 0 20px rgba(0, 240, 255, 0.5); font-weight: 500; }

.tech-team-grid-flip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-card-flip {
    perspective: 1000px;
    height: 450px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.flip-card-inner-tech {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.tech-card-flip:hover .flip-card-inner-tech { transform: rotateY(180deg); }
.tech-card-flip.flipped .flip-card-inner-tech { transform: rotateY(180deg); }

.flip-card-front-tech, .flip-card-back-tech {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 2rem 1.5rem;
    background: rgba(0, 10, 20, 0.95);
    border: 2px solid rgba(0, 240, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.2);
}

.flip-card-back-tech { transform: rotateY(180deg); overflow-y: auto; padding: 1.5rem; }

.tech-lead-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.tech-lead-badge-top svg { width: 16px; height: 16px; color: #8B4513; }
.tech-lead-badge-top span { font-weight: 700; font-size: 0.75rem; color: #8B4513; text-transform: uppercase; letter-spacing: 0.1em; }

.tech-avatar-flip {
    width: 110px; height: 110px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid;
    animation: avatarGlowTech 3s ease-in-out infinite;
}

@keyframes avatarGlowTech { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.cyan-avatar-tech { background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(0, 240, 255, 0.1)); border-color: var(--cyan); box-shadow: 0 0 40px rgba(0, 240, 255, 0.6); }
.green-avatar-tech { background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1)); border-color: var(--green); box-shadow: 0 0 40px rgba(34, 197, 94, 0.6); }
/* Orange avatar tech - replaces purple */
.orange-avatar-tech { background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.1)); border-color: #FF6B00; box-shadow: 0 0 40px rgba(255, 107, 0, 0.6); }
.purple-avatar-tech { background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.1)); border-color: #FF6B00; box-shadow: 0 0 40px rgba(255, 107, 0, 0.6); }
.tech-avatar-flip svg { width: 55px; height: 55px; color: white; }

.flip-card-front-tech h3, .flip-card-back-tech h3 {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.tech-divider-flip { width: 60%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); margin: 0 auto 1rem; }

.tech-member-info { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }

.tech-member-item {
    padding: 0.75rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.tech-member-item:hover { background: rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.4); transform: translateX(3px); }
.tech-member-item h4 { font-family: var(--font-primary); font-size: 1rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.25rem; }
.tech-member-item p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; margin-bottom: 0.25rem; }
.tech-dept-small { font-size: 0.75rem !important; color: var(--text-muted) !important; font-style: italic; }
.tech-id { font-size: 0.7rem !important; color: var(--text-muted) !important; font-family: 'Courier New', monospace; margin-bottom: 0.5rem !important; }

.tech-member-item-simple {
    padding: 1rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.tech-member-item-simple:hover { background: rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.4); }
.tech-member-item-simple h4 { font-family: var(--font-primary); font-size: 1.1rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.5rem; }
.tech-member-item-simple .tech-id { font-size: 0.85rem !important; color: var(--text-muted) !important; font-family: 'Courier New', monospace; margin: 0 !important; }

.dept-badge {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 107, 0, 0.1));
    border: 2px solid rgba(0, 240, 255, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.2);
}

.dept-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--cyan), var(--purple)); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dept-icon svg { width: 32px; height: 32px; color: white; }
.dept-info h4 { font-family: var(--font-primary); font-size: 1.25rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.25rem; }
.dept-info p { font-size: 0.875rem; color: var(--text-secondary); }

.robot-tech { top: 10%; right: 5%; width: 70px; height: 87px; }
.bubble-tech-1 { top: 25%; left: 5%; width: 45px; height: 45px; }
.bubble-tech-2 { bottom: 20%; right: 8%; width: 35px; height: 35px; }

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    position: relative;
    padding: 3rem 1.5rem;
    background: #000000;
}

.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    background: rgba(0, 10, 20, 0.9);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.faq-item:hover { border-color: rgba(0, 240, 255, 0.6); }

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover { color: var(--cyan); }
.faq-question svg { width: 24px; height: 24px; color: var(--cyan); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 1.5rem 1.5rem; }
.faq-answer p { color: #C0C0D0; line-height: 1.8; }

/* ============================================
   Register Section
   ============================================ */
.register-section {
    position: relative;
    padding: 3rem 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000000;
}

.center-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 50%;
    filter: blur(120px);
}

.register-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(0, 10, 20, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.2), 0 8px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    width: 100%;
}

.register-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item { text-align: center; }

.info-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon { transform: scale(1.1) rotate(5deg); }

.info-icon.cyan { background: rgba(0, 240, 255, 0.2); }
.info-icon.purple { background: rgba(255, 107, 0, 0.2); }
.info-icon.orange { background: rgba(255, 107, 0, 0.2); }
.info-icon.green { background: rgba(34, 197, 94, 0.2); }
.info-icon svg { width: 32px; height: 32px; }
.info-icon.cyan svg { color: var(--cyan); }
.info-icon.purple svg { color: #FF6B00; }
.info-icon.orange svg { color: #FF6B00; }
.info-icon.green svg { color: var(--green); }

.info-item h3 { font-family: var(--font-primary); font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.info-item p { color: #C0C0D0; }
.register-note { margin-top: 1.5rem; font-size: 0.875rem; color: #C0C0D0; }

/* ============================================
   Registration Modal
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal.active { display: flex; }

.modal-content {
    background: rgba(0, 10, 20, 0.98);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.3), 0 8px 40px rgba(0, 0, 0, 0.8);
}

@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 { font-family: var(--font-primary); font-size: 1.25rem; color: var(--text-primary); }

.modal-close {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: none;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-close:hover { background: rgba(0, 240, 255, 0.2); border-color: var(--cyan); transform: rotate(90deg); }
.modal-close svg { width: 20px; height: 20px; color: var(--cyan); }

.modal-body { padding: 1.5rem 2rem; }

.registration-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.875rem; color: #D0D0E0; font-weight: 500; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: rgba(0, 5, 15, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    background: rgba(0, 10, 20, 0.9);
}

.checkbox-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

.checkbox-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color: #D0D0E0; font-size: 0.875rem; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--cyan); flex-shrink: 0; }

/* ============================================
   Contact Section (Footer)
   ============================================ */
.contact-section {
    position: relative;
    padding: 3rem 1.5rem 2rem;
    background: var(--bg-secondary);
}

.footer-container { max-width: 1200px; margin: 0 auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo { font-family: var(--font-primary); font-size: 1.5rem; font-weight: 700; color: var(--cyan); margin-bottom: 1rem; }

.footer-brand p { color: #B0B0C0; margin-bottom: 1.5rem; max-width: 300px; text-align: justify; }

.social-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link:hover { color: var(--cyan); border-color: rgba(0, 240, 255, 0.3); transform: translateY(-5px); }
.social-link svg { width: 18px; height: 18px; }

.footer-links h4, .footer-contact h4 { font-family: var(--font-primary); font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }

.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #B0B0C0; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--cyan); }

.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; color: #B0B0C0; }
.footer-contact svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; margin-top: 3px; }

.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
.footer-bottom p { font-size: 0.875rem; color: #B0B0C0; }

/* Footer Map */
.footer-map { margin-top: 1.25rem; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0,240,255,0.3); box-shadow: 0 0 20px rgba(0,240,255,0.15); transition: all 0.3s ease; }
.footer-map:hover { border-color: rgba(0,240,255,0.6); box-shadow: 0 0 30px rgba(0,240,255,0.3); }
.footer-map-label { display:flex; align-items:center; gap:0.4rem; padding:0.4rem 0.75rem; background:rgba(0,240,255,0.08); color:#00f0ff; font-size:0.75rem; text-decoration:none; border-bottom:1px solid rgba(0,240,255,0.2); }
.footer-map-label:hover { background:rgba(0,240,255,0.15); color:#fff; }
.footer-map iframe { display:block; width:100%; height:160px; filter: invert(90%) hue-rotate(180deg) saturate(0.8) brightness(0.85); }

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(5, 5, 15, 0.9);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: rgba(0, 240, 255, 0.2); border-color: var(--cyan); transform: translateY(-5px); }
.back-to-top svg { width: 24px; height: 24px; color: var(--cyan); }

/* ============================================
   Animate In
   ============================================ */
.animate-in { opacity: 1 !important; transform: translateY(0) !important; }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ============================================
   Success Popup - Ticket Style
   ============================================ */
.success-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 15px;
    overflow-y: auto;
}

.success-popup.active { display: flex; }

.popup-box-simple {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 240, 255, 0.6);
    animation: ticketAppear 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: auto;
}

@keyframes ticketAppear {
    from { opacity: 0; transform: scale(0.7) translateY(50px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.popup-close-btn {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
}

.popup-close-btn:hover { background: rgba(255, 0, 0, 0.9); transform: rotate(90deg) scale(1.1); }

.popup-header { background: linear-gradient(135deg, #00F0FF 0%, #FF6B00 100%); padding: 25px 15px; text-align: center; color: white; }
.popup-header h1 { margin: 0; font-size: 26px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.popup-header p { margin: 8px 0 0 0; font-size: 14px; opacity: 0.95; }

.ticket-container-popup { margin: 20px; background: linear-gradient(135deg, #667eea 0%, #FF6B00 100%); border-radius: 12px; padding: 3px; box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4); }
.ticket-popup { background: white; border-radius: 10px; padding: 20px; }
.ticket-top-popup { border-bottom: 2px dashed #ddd; padding-bottom: 18px; margin-bottom: 18px; text-align: center; }
.ticket-top-popup h2 { margin: 0 0 15px 0; color: #FF6B00; font-size: 18px; }

.ticket-id-box-popup {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 3px solid #FF8C00;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.ticket-id-box-popup::before { content: '🎟️'; position: absolute; font-size: 80px; opacity: 0.08; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ticket-id-label-popup { font-size: 11px; color: #8B4513; font-weight: bold; margin: 0; text-transform: uppercase; letter-spacing: 0.8px; }
.ticket-id-popup { font-size: 28px; font-weight: bold; color: #000; margin: 8px 0; font-family: 'Courier New', monospace; letter-spacing: 2.5px; text-shadow: 1px 1px 3px rgba(0,0,0,0.1); position: relative; z-index: 1; }
.ticket-warning { font-size: 10px; color: #8B4513; margin: 6px 0 0 0; font-weight: 600; }

.event-details-popup { background: linear-gradient(135deg, rgba(0,240,255,0.12), rgba(255,107,0,0.12)); border-left: 4px solid #00F0FF; padding: 14px; border-radius: 6px; }
.event-details-popup p { margin: 8px 0; color: #333; font-size: 13px; line-height: 1.6; }
.event-details-popup strong { color: #FF6B00; font-weight: 700; }

.important-note-popup { background: linear-gradient(135deg, #fff3cd, #ffe69c); border: 2px solid #ffc107; border-radius: 10px; padding: 12px; margin: 20px; text-align: center; box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25); }
.important-note-popup p { margin: 0; font-weight: bold; color: #856404; font-size: 12px; line-height: 1.5; }

.ok-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 14px;
    background: linear-gradient(135deg, #00F0FF, #FF6B00);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.35);
}

.ok-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5); }

/* ============================================
   Awards Section
   ============================================ */
#awards { padding: 3rem 1.5rem; background: #000; }

/* ============================================
   REMOVE ALL SECTION BORDERS
   ============================================ */
section, .about-section, .events-section, .timeline-section, .gallery-section,
.team-section, .team-section-enhanced, .tech-team-section, .faq-section,
.register-section, .contact-section {
    border-top: none !important;
    border-bottom: none !important;
}

/* ============================================
   TABLET - 1024px
   ============================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid-enhanced { grid-template-columns: repeat(2, 1fr); }
    .tech-team-grid-flip { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .footer-brand p { max-width: none; }

    .timeline::before { left: 30px; }
    .timeline-item { grid-template-columns: 1fr; padding-left: 80px; gap: 0; }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content { grid-column: 1; text-align: left; }
    .timeline-marker { left: 30px !important; }
    .timeline-item:nth-child(odd) .timeline-event,
    .timeline-item:nth-child(even) .timeline-event { border-left: 3px solid var(--cyan); border-right: none; }

    .dept-badge { flex-direction: column; text-align: center; }
}

/* ============================================
   MOBILE - 768px
   ============================================ */
@media (max-width: 768px) {

    /* Navigation */
    .nav-container { position: relative; }
    .nav-logo-link { order: 1; padding: 5px 12px; }
    .nav-logo-img { height: 38px; }
    .nav-logo { font-size: 1rem; margin-left: 0.5rem; }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
        z-index: 1002;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: rgba(1, 1, 3, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        gap: 0;
        padding: 1rem 1.5rem;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active { display: flex; }

    .nav-links button {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 240, 255, 0.1);
        text-align: left;
        width: 100%;
    }

    .nav-links button::after { display: none; }
    .nav-links button:last-child { border-bottom: none; }

    .sound-toggle { top: 80px; right: 1rem; width: 42px; height: 42px; }

    /* Hero */
    .hero-content {
        padding: 1.5rem 1rem;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 16px;
        backdrop-filter: blur(10px);
        margin: 0 0.75rem;
    }

    .gateway-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .hero-subtitle { font-size: 0.6rem; }
    .college-name { font-size: 0.9rem; }

    .event-badge {
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .event-badge span { font-size: 0.7rem; letter-spacing: 0.08em; }

    .countdown-timer { gap: 0.5rem; }
    .countdown-item { min-width: 65px; padding: 0.6rem 0.8rem; }
    .countdown-number { font-size: 1.4rem; }
    .countdown-label { font-size: 0.7rem; }

    .event-date { margin-bottom: 1.5rem; }
    .event-date span { font-size: 0.9rem; }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .btn-primary, .btn-secondary, .btn-brochure {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .btn-primary.large {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    /* Planets - smaller on mobile */
    .planet-1 { width: 60px !important; height: 60px !important; top: 12% !important; left: 5% !important; }
    .planet-2 { width: 80px !important; height: 80px !important; top: 55% !important; right: 3% !important; }

    /* Robots - smaller */
    .robot-1 { width: 55px !important; height: 68px !important; top: 18% !important; left: 2% !important; }
    .robot-2 { width: 45px !important; height: 56px !important; top: 65% !important; left: 3% !important; }
    .robot-3 { width: 50px !important; height: 62px !important; top: 22% !important; right: 2% !important; }
    .robot-4 { width: 55px !important; height: 68px !important; bottom: 18% !important; right: 3% !important; }

    /* Rocket - smaller */
    .rocket { width: 50px !important; height: 75px !important; left: 5% !important; }

    /* Satellites - hide */
    .satellite { display: none !important; }

    /* Sections */
    .about-section, .events-section, .timeline-section, .gallery-section,
    .team-section-enhanced, .tech-team-section, .faq-section, .register-section,
    .contact-section { padding: 2.5rem 1rem; }

    #awards { padding: 2.5rem 1rem; }

    .section-header { margin-bottom: 1.5rem; }
    .section-title { font-size: 1.6rem; }
    .section-tag { font-size: 0.75rem; padding: 0.4rem 1rem; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-content p { font-size: 1rem !important; }
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* Events */
    .events-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* Timeline - single column */
    .timeline::before { left: 20px; }
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 55px;
        gap: 0;
        margin-bottom: 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
        text-align: left;
    }

    .timeline-marker { left: 20px !important; width: 18px !important; height: 18px !important; }

    .timeline-item:nth-child(odd) .timeline-event,
    .timeline-item:nth-child(even) .timeline-event {
        border-left: 2px solid var(--cyan);
        border-right: none;
    }

    .timeline-content { padding: 1rem; }
    .timeline-content h3 { font-size: 1rem !important; margin-bottom: 0.75rem; }
    .timeline-event .time { font-size: 0.9rem !important; }
    .timeline-event p { font-size: 0.9rem !important; }

    /* Gallery */
    .gallery-carousel { overflow: hidden; padding: 0 45px; }
    .gallery-track { gap: 0; }
    .gallery-item { flex: 0 0 100% !important; min-width: 100% !important; }
    .gallery-item img { height: 220px !important; }
    .gallery-caption { transform: translateY(0) !important; position: relative; bottom: auto; background: rgba(0, 10, 20, 0.9); border-radius: 0 0 16px 16px; }
    .gallery-nav { display: flex !important; width: 40px; height: 40px; }
    .gallery-nav.prev { left: 2px; }
    .gallery-nav.next { right: 2px; }
    .gallery-dots { display: flex !important; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
    .gallery-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0, 240, 255, 0.3); cursor: pointer; transition: all 0.3s ease; border: 1px solid rgba(0, 240, 255, 0.5); }
    .gallery-dot.active { background: var(--cyan); transform: scale(1.3); box-shadow: 0 0 10px var(--cyan); }

    /* Team flip cards */
    .team-grid-enhanced { grid-template-columns: 1fr; gap: 1.25rem; }
    .team-card-flip { height: 480px !important; min-height: 480px !important; }

    .flip-card-front-team, .flip-card-back-team {
        padding: 1.25rem 1rem;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
    }

    .flip-card-back-team {
        transform: rotateY(180deg) !important;
        overflow-y: auto !important;
    }

    /* Mobile tap flip */
    .team-card-flip.flipped .flip-card-inner-team,
    .tech-card-flip.flipped .flip-card-inner-tech {
        transform: rotateY(180deg) !important;
    }

    .team-avatar-enhanced { width: 75px; height: 75px; }
    .team-avatar-enhanced svg { width: 38px; height: 38px; }
    .flip-card-front-team h3, .flip-card-back-team h3 { font-size: 1rem; }
    .coordinator-item { padding: 0.5rem; }
    .coordinator-item h4 { font-size: 0.85rem; }
    .coordinator-item p { font-size: 0.7rem; }

    /* Tech cards */
    .tech-team-grid-flip { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.5rem; }
    .tech-card-flip { height: 460px !important; min-height: 460px !important; }

    .flip-card-front-tech, .flip-card-back-tech {
        padding: 1.25rem 1rem;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
    }

    .flip-card-back-tech {
        transform: rotateY(180deg) !important;
        overflow-y: auto !important;
    }

    .tech-avatar-flip { width: 85px; height: 85px; }
    .tech-avatar-flip svg { width: 42px; height: 42px; }
    .flip-card-front-tech h3, .flip-card-back-tech h3 { font-size: 1.1rem; }

    /* FAQ */
    .faq-question { font-size: 0.95rem; padding: 1.25rem; }

    /* Register */
    .register-section { padding: 2.5rem 1rem; }
    .register-card { padding: 1.5rem 1rem; margin: 0 auto; max-width: 100%; }
    .register-info { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
    .info-icon { width: 56px; height: 56px; }
    .info-icon svg { width: 28px; height: 28px; }
    .register-note { font-size: 0.75rem; margin-top: 1rem; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }
    .checkbox-group { grid-template-columns: 1fr; }
    .modal-content { margin: 0.5rem; }
    .modal-header { padding: 1.25rem 1.5rem; }
    .modal-body { padding: 1.25rem 1.5rem; }
    .modal-header h2 { font-size: 1.1rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { grid-column: auto; }
    .footer-brand p { max-width: none; text-align: center !important; }
    .social-links { justify-content: center; }
    .footer-contact li { justify-content: flex-start; }
    .footer-map iframe { height: 130px; }

    /* Bubbles - smaller */
    .bubble { opacity: 0.4 !important; }
    .bubble-1, .bubble-about-1, .bubble-register-1, .bubble-team-1, .bubble-tech-1 { width: 25px !important; height: 25px !important; }
    .bubble-2, .bubble-about-2, .bubble-register-2, .bubble-team-2, .bubble-tech-2 { width: 35px !important; height: 35px !important; }

    /* Popup */
    .popup-box-simple { max-width: 95%; }
    .popup-header { padding: 20px 12px; }
    .popup-header h1 { font-size: 20px; }
    .ticket-id-popup { font-size: 22px; letter-spacing: 2px; }
    .ticket-container-popup { margin: 15px; }
    .ticket-popup { padding: 15px; }
    .important-note-popup { margin: 15px; padding: 10px; }
    .ok-btn { width: calc(100% - 30px); margin: 0 15px 15px 15px; padding: 12px; font-size: 14px; }

    /* Back to top */
    .back-to-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }

    /* Awards section mobile */
    #awards > .section-container > div[style] { flex-direction: column !important; align-items: center !important; }

    /* Hero static background on mobile */
    .hero-bg {
        position: absolute !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }
}

/* ============================================
   SMALL MOBILE - 480px
   ============================================ */
@media (max-width: 480px) {
    .gateway-title { font-size: 2rem; }
    .hero-content { padding: 1.25rem 0.75rem; margin: 0 0.5rem; }

    .event-badge span { font-size: 0.65rem; }
    .countdown-item { min-width: 58px; padding: 0.5rem 0.6rem; }
    .countdown-number { font-size: 1.2rem; }

    .cta-buttons { gap: 0.6rem; }
    .btn-primary, .btn-secondary, .btn-brochure { max-width: 260px; font-size: 0.85rem; padding: 0.75rem 1.25rem; }

    .section-title { font-size: 1.4rem; }
    .section-tag { font-size: 0.7rem; padding: 0.35rem 0.9rem; }

    .event-card { padding: 1.25rem; }
    .event-card h3 { font-size: 1rem; }

    .team-card-flip { height: 440px !important; }
    .tech-card-flip { height: 420px !important; }

    .register-card { padding: 1.25rem 0.75rem; }

    .modal-content { margin: 0.25rem; border-radius: 16px; }
    .modal-header { padding: 1rem 1.25rem; }
    .modal-body { padding: 1rem 1.25rem; }

    .popup-header h1 { font-size: 18px; }
    .ticket-id-popup { font-size: 18px; }

    /* Very small: hide some decorative elements */
    .planet-events, .robot-about, .robot-events { display: none !important; }
}

/* ============================================
   VERY SMALL - 360px
   ============================================ */
@media (max-width: 360px) {
    .gateway-title { font-size: 1.8rem; }
    .nav-logo-img { height: 32px; }

    .countdown-timer { gap: 0.3rem; }
    .countdown-item { min-width: 52px; padding: 0.4rem 0.5rem; }
    .countdown-number { font-size: 1rem; }

    .btn-primary, .btn-secondary, .btn-brochure { max-width: 240px; font-size: 0.8rem; }

    .planet-1, .planet-2 { display: none !important; }
    .rocket { display: none !important; }
}

.back-to-top {
    background: rgba(5, 5, 15, 0.9);
    border: 2px solid #EAB308;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
}

.back-to-top svg {
    color: #EAB308;
}

.back-to-top:hover {
    background: rgba(234, 179, 8, 0.2);
    border-color: #EAB308;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.7);
    transform: translateY(-5px);
}

/* ============================================
   FORCE FIX - Code Relay Hover (nth-child 1)
   ============================================ */
.events-grid .event-card:nth-child(1):hover,
.events-grid .event-card:first-child:hover {
    border: 3px solid #00FFFF !important;
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 1),
        0 0 40px rgba(0, 255, 255, 1),
        0 0 80px rgba(0, 255, 255, 0.8),
        0 0 120px rgba(0, 255, 255, 0.5),
        inset 0 0 40px rgba(0, 255, 255, 0.2) !important;
    background: rgba(0, 255, 255, 0.12) !important;
    transform: translateY(-5px) !important;
}

.events-grid .event-card:nth-child(1):hover h3,
.events-grid .event-card:first-child:hover h3 {
    color: #00FFFF !important;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 1),
        0 0 30px rgba(0, 255, 255, 1),
        0 0 60px rgba(0, 255, 255, 0.9),
        0 0 90px rgba(0, 255, 255, 0.6) !important;
}



