/* ========================================
   PHANTOM FLAGS CTF - Main Stylesheet
   Cyberpunk/Hacker Theme
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-card: rgba(26, 26, 46, 0.8);
    
    /* Neon Colors */
    --neon-green: #00ff88;
    --neon-pink: #ff0088;
    --neon-purple: #8800ff;
    --neon-cyan: #00ffff;
    --neon-orange: #ff8800;
    
    /* Republic Day Colors (subtle) */
    --saffron: #ff9933;
    --white: #ffffff;
    --green-india: #138808;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    
    /* Fonts */
    --font-primary: 'Rajdhani', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
    --glow-pink: 0 0 20px rgba(255, 0, 136, 0.5);
    --glow-purple: 0 0 20px rgba(136, 0, 255, 0.5);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Selection */
::selection {
    background: var(--neon-green);
    color: var(--bg-primary);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--neon-green);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-green);
}

code {
    font-family: var(--font-mono);
    background: var(--bg-tertiary);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    color: var(--neon-pink);
}

.highlight {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

/* ===== Utility Classes ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 10px;
}

.section-tag.closing {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}

.section-title {
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: var(--bg-primary);
}

.btn-primary:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-2px);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
}

.btn-secondary:hover {
    background: var(--neon-green);
    color: var(--bg-primary);
    box-shadow: var(--glow-green);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
}

.btn-outline:hover {
    background: var(--neon-pink);
    color: var(--bg-primary);
    box-shadow: var(--glow-pink);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.glitch-wrapper {
    margin-bottom: 30px;
}

.glitch {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
    animation: glitch 1s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--neon-pink);
    animation: glitch-1 0.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
    color: var(--neon-cyan);
    animation: glitch-2 0.5s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(-3px, 3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(-3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(3px, 3px); }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.loading-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

.loading-text {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 0.875rem;
}

.dots {
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* ===== Particles Background ===== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--neon-green);
    filter: drop-shadow(0 0 5px var(--neon-green));
}

/* Lucide Icons Global Styles */
[data-lucide] {
    width: 1em;
    height: 1em;
    stroke-width: 2;
    vertical-align: middle;
}

.nav-btn [data-lucide] {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.btn [data-lucide] {
    width: 18px;
    height: 18px;
}

.section-tag [data-lucide] {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.feature-icon [data-lucide],
.rule-icon [data-lucide],
.category-icon [data-lucide],
.timeline-icon [data-lucide],
.contact-icon [data-lucide],
.stat-card [data-lucide] {
    width: 24px;
    height: 24px;
}

.info-item [data-lucide] {
    width: 18px;
    height: 18px;
    color: var(--neon-green);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.scroll-arrow [data-lucide] {
    width: 24px;
    height: 24px;
}

.countdown-title [data-lucide] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: var(--neon-pink);
}

.footer-column a [data-lucide] {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-column a:hover [data-lucide] {
    opacity: 1;
}

.footer-flag [data-lucide] {
    width: 14px;
    height: 14px;
    color: var(--neon-pink);
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.modal-icon [data-lucide] {
    width: 48px;
    height: 48px;
    color: var(--neon-green);
}

.badge [data-lucide] {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.info-card h3 [data-lucide] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: var(--neon-green);
}

.info-card li [data-lucide] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: var(--neon-green);
}

.register-form label [data-lucide] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    opacity: 0.7;
}

.btn-text [data-lucide] {
    width: 18px;
    height: 18px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-green);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 25px;
    background: var(--neon-green);
    color: var(--bg-primary) !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-btn:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(136, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Republic Day Tricolor Accent */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--saffron) 0%, 
        var(--saffron) 33.33%, 
        var(--white) 33.33%, 
        var(--white) 66.66%, 
        var(--green-india) 66.66%, 
        var(--green-india) 100%
    );
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--saffron);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--saffron);
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-line.small {
    font-size: 0.4em;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    color: var(--neon-green);
    min-height: 28px;
    margin-bottom: 30px;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-icon {
    font-size: 1.25rem;
}

/* Countdown Timer */
.countdown-container {
    margin-bottom: 40px;
}

.countdown-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-item {
    text-align: center;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    min-width: 80px;
}

.countdown-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--neon-green);
    opacity: 0.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.03) 2px,
        rgba(0, 255, 136, 0.03) 4px
    );
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--neon-green);
    stroke-width: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== About Section ===== */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    max-width: 100%;
}

.about-text .lead {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.about-text > p {
    margin-bottom: 10px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.feature:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
}

.feature-text h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-green);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--neon-green);
}

.stat-label {
    display: block;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Rules Section ===== */
.rules-section {
    background: var(--bg-primary);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rule-card {
    padding: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.rule-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
}

.rule-card:hover::before {
    transform: scaleX(1);
}

.rule-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 255, 136, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
}

.rule-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--neon-green);
}

.rule-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Categories Section ===== */
.categories-section {
    background: var(--bg-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    padding: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.category-difficulty {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.diff-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.diff-dot.easy { background: var(--neon-green); }
.diff-dot.medium { background: var(--neon-orange); }
.diff-dot.hard { background: var(--neon-pink); }
.diff-dot.insane { background: var(--neon-purple); }

/* ===== Schedule Section ===== */
.schedule-section {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-green), var(--neon-cyan), var(--neon-purple));
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 25px;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border: 3px solid var(--neon-green);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: var(--glow-green);
}

.timeline-item.highlight::before {
    background: var(--neon-green);
    box-shadow: var(--glow-green);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 136, 0.8); }
}

.timeline-icon {
    position: absolute;
    left: 6px;
    top: 10px;
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-icon [data-lucide] {
    width: 22px;
    height: 22px;
    color: var(--neon-green);
}

.timeline-item:hover .timeline-icon {
    background: var(--neon-green);
    transform: scale(1.1);
}

.timeline-item:hover .timeline-icon [data-lucide] {
    color: var(--bg-primary);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 6px;
    font-family: var(--font-mono);
    margin-bottom: 12px;
}

.timeline-date .date {
    font-size: 0.95rem;
    color: var(--neon-green);
    font-weight: 700;
}

.timeline-date .year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-content {
    background: var(--bg-card);
    padding: 25px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 25px;
    width: 20px;
    height: 2px;
    background: var(--neon-green);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.15);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.timeline-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: var(--bg-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-content .badge [data-lucide] {
    width: 14px;
    height: 14px;
}

/* ===== Registration Section ===== */
.register-section {
    background: var(--bg-secondary);
}

/* Info cards row - side by side */
.register-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Form wrapper - centered */
.register-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    padding: 25px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--neon-green);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.info-card h3 [data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--neon-green);
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card li [data-lucide] {
    width: 16px;
    height: 16px;
    color: var(--neon-green);
    flex-shrink: 0;
}

.info-card li:last-child {
    border-bottom: none;
}

/* Registration Form */
.register-form {
    padding: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group label [data-lucide] {
    width: 16px;
    height: 16px;
    color: var(--neon-green);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Date input styling */
.form-group input[type="date"] {
    color-scheme: dark;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.checkbox-label input:checked + .checkmark {
    background: var(--neon-green);
    border-color: var(--neon-green);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: bold;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 1.1rem;
    position: relative;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: block;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: rotate 1s linear infinite;
}

.spinner circle {
    stroke: var(--bg-primary);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 136, 0.1);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--bg-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateX(5px);
}

.faq-item.active {
    border-color: var(--neon-green);
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 20px;
}

.faq-question:hover {
    background: rgba(0, 255, 136, 0.05);
}

.faq-question span:first-child {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: var(--neon-green);
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon {
    background: rgba(0, 255, 136, 0.2);
}

.faq-item.active .faq-icon {
    background: var(--neon-green);
    color: var(--bg-primary);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 0;
}

/* ===== Sponsors Preview Section ===== */
.sponsors-preview-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.sponsors-preview-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.sponsors-cta {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sponsors-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.sponsors-cta .btn {
    margin: 0 10px 10px;
}

.sponsor-logos {
    text-align: center;
    position: relative;
    z-index: 1;
}

.sponsor-logos .coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--bg-card);
    border: 1px dashed rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.sponsor-logos .coming-soon [data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--neon-green);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--bg-primary);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-icon [data-lucide] {
    width: 30px;
    height: 30px;
    color: var(--neon-green);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--neon-green);
    border-color: var(--neon-green);
    transform: scale(1.1);
}

.contact-card:hover .contact-icon [data-lucide] {
    color: var(--bg-primary);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.contact-card a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-card:hover a {
    color: var(--neon-green);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-tertiary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--neon-green);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--neon-green);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.footer-flag {
    color: var(--text-secondary);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    border: 1px solid var(--neon-green);
    box-shadow: var(--glow-green);
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-family: var(--font-primary);
    margin-bottom: 15px;
    color: var(--neon-green);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.modal-close {
    margin-top: 20px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-info {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .countdown {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .register-info-row {
        grid-template-columns: 1fr;
    }
    
    .register-form-wrapper {
        max-width: 100%;
    }
    
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 30px;
        gap: 20px;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-item::before {
        left: 17px;
    }
    
    .timeline-icon {
        left: 0;
        width: 45px;
        height: 45px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content::before {
        left: -15px;
        width: 15px;
    }
    
    .register-info-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 10px 15px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .title-line {
        font-size: 2.5rem;
    }
    
    .hero-title .title-line.small {
        font-size: 1.5rem;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 20px 15px;
    }
    
    .register-form {
        padding: 25px 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .category-card {
        padding: 25px 20px;
    }
    
    .rule-card {
        padding: 25px 20px;
    }
    
    .timeline-item {
        padding-left: 60px !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }
    
    .countdown-value {
        font-size: 1.3rem;
    }
}

/* ===== Animation Classes for GSAP ===== */
/* These are used only when JS adds them */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

/* Ensure content is visible by default (before GSAP runs) */
.contact-card,
.benefit-card,
.tier-card,
.faq-item,
.rule-card,
.category-card,
.timeline-item,
.feature,
.stat-card,
.info-card {
    opacity: 1;
    visibility: visible;
}

/* Glitch text effect */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text:hover::before {
    animation: glitch-1 0.3s infinite;
    color: var(--neon-pink);
    opacity: 0.8;
}

.glitch-text:hover::after {
    animation: glitch-2 0.3s infinite;
    color: var(--neon-cyan);
    opacity: 0.8;
}
