/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d9ff;
    --secondary-color: #0099ff;
    --accent-color: #ff6b00;
    --dark-bg: #0a0e27;
    --light-text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --section-gap: 120px;
    --parallax-height: clamp(320px, 45vh, 520px);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    margin-bottom: var(--section-gap);
}

/* Language Switcher */
.language-switcher {
    position: static;
    margin: 20px;
    display: inline-flex;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--light-text);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-btn:hover {
    background: rgba(0, 217, 255, 0.2);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section with Parallax */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.parallax-bg {
    background: url('parallax1.webp') center center / cover no-repeat;
    background-attachment: fixed;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 0, 0.2) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

/* Glitch Text Effect */
.glitch {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.1em;
    text-shadow: 
        0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: 
            -0.025em 0 0 rgba(255, 0, 0, 0.75),
            -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin: 20px 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location, .date {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.audience-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.audience-card {
    max-width: 900px;
    margin: 0 auto 24px;
    text-align: center;
    padding: 50px 40px;
}

.audience-text {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    padding: 16px 0;
    text-align: left;
}

.audience-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.audience-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--light-text);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.audience-link:hover {
    background: rgba(0, 217, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.icon {
    font-size: 1.5em;
}

/* Fade In Animations */
.fade-in {
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.fade-in-delay {
    animation: fadeIn 1.5s ease-out 1s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1.5s ease-out 1.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-right: 12px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.6);
}

.prereg-link {
    margin-top: 12px;
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: float 15s infinite;
}

.particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particles span:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particles span:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.particles span:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 19s; }
.particles span:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 21s; }
.particles span:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particles span:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 20s; }
.particles span:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 23s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Info Section with Glass Morphism */
.info-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--light-text);
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(15, 20, 45, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.info-card {
    text-align: center;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.3);
}

/* Categories Section */
.categories-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.categories-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 60px;
    opacity: 0.9;
    padding-top: 2rem;
}

.categories-note {
    font-size: 0.95rem;
    margin-top: 10px;
    padding-top: 0.5rem;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 30px;
}

.category-text h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-weight: 700;
}

.category-subtitle {
    font-size: 0.95rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.category-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 520px;
}

@media (max-width: 700px) {
    .category-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-description {
        max-width: none;
    }
}

/* Fees Section */
.fees-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.fees-card {
    padding: 40px 35px;
}

.fees-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.fees-note {
    margin-top: 10px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Pre-registration Form */
.prereg-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.prereg-form {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.prereg-form .cta-button {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.3;
}

.floating-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    pointer-events: none;
}

.floating-nav-top {
    top: 20px;
}

.floating-nav-container {
    gap: 15px;
}

.floating-nav-bottom {
    bottom: 12px;
}

.floating-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(10, 14, 39, 0.85);
    color: var(--light-text);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(8px);
}

.floating-btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.6);
}

.floating-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.floating-label {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .floating-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
        gap: 6px;
    }
    
    .floating-nav-top {
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .floating-nav-bottom {
        bottom: 8px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="email"] {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--light-text);
    outline: none;
    width: 100%;
}

.form-field input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.2);
}

.form-label {
    font-weight: 700;
    color: var(--primary-color);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
}

.checkbox-grid input[type="checkbox"] {
    accent-color: var(--primary-color);
}

.form-note {
    opacity: 0.9;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
}

/* Parallax Dividers */
.parallax-divider {
    height: var(--parallax-height);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--section-gap);
}

.parallax-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.4);
    z-index: 1;
}

.parallax-bg-2 {
    background: url('parallax2.webp') center center / cover no-repeat;
    background-attachment: fixed;
}

.parallax-bg-3 {
    background: url('parallax3.webp') center center / cover no-repeat;
    background-attachment: fixed;
}

.parallax-bg-4 {
    background: url('parallax4.png') center center / cover no-repeat;
    background-attachment: fixed;
}

.parallax-bg-5 {
    background: url('parallax5.png') center center / cover no-repeat;
    background-attachment: fixed;
}

.parallax-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.reveal-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: revealText 2s ease-out;
}

@keyframes revealText {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.stat-label {
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Schedule Section */
.schedule-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.schedule-day {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.schedule-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.3);
    border-color: var(--primary-color);
}

.day-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--glass-border);
}

.day-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.day-header .date {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(5px);
}

.schedule-item.highlight {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 107, 0, 0.2));
    border: 1px solid var(--primary-color);
}

.schedule-item .time {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
    text-align: right;
}

.schedule-item .event {
    font-size: 1.1rem;
    line-height: 1.6;
    flex: 1;
}

.schedule-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 10px;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-color);
    border: 1px dashed var(--glass-border);
}

/* Old timeline styles - keeping for compatibility */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    padding-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--dark-bg);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 1;
}

.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    max-width: 350px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.time {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

/* Previous Championships Section */
.history-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.history-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

/* Hall of Fame - Streamlined Design */
.hall-of-fame {
    margin: 60px 0;
    padding: 60px 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.hall-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: var(--light-text);
    position: relative;
    padding-bottom: 20px;
}

.hall-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.champion-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.champion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.champion-card:hover::before {
    transform: scaleX(1);
}

.champion-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

.champion-card.first-place {
    border-color: rgba(255, 215, 0, 0.3);
}

.champion-card.first-place::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.champion-card.first-place:hover {
    border-color: #FFD700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.champion-card.second-place {
    border-color: rgba(192, 192, 192, 0.3);
}

.champion-card.third-place {
    border-color: rgba(205, 127, 50, 0.3);
}

.position {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.champion-card.first-place .position {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.champion-card.second-place .position {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
}

.champion-card.third-place .position {
    background: linear-gradient(135deg, #CD7F32, #B8733B);
}

.champion-info {
    text-align: center;
}

.champion-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.champion-card.first-place .champion-name {
    color: #FFD700;
}

.medal-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.champion-card.first-place .stat-item:first-child strong {
    color: #FFD700;
}

.champion-card.second-place .stat-item:first-child strong {
    color: #FFD700;
}

.champion-card.third-place .stat-item:first-child strong {
    color: #FFD700;
}

.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.history-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.history-card {
    text-decoration: none;
    color: var(--light-text);
    position: relative;
    padding: 40px 30px;
    padding-top: 64px;

    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
    transition: left 0.5s;
}

.history-card:hover::before {
    left: 100%;
}

.history-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.4);
    border-color: var(--primary-color);
}

.year-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
    animation: pulse 2s infinite;
}

.history-card .card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    transition: transform 0.3s ease;
}

.history-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.history-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.history-card:hover h3 {
    color: var(--accent-color);
}

.history-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.85;
    line-height: 1.6;
}

.view-link {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(0, 217, 255, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.history-card:hover .view-link {
    background: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 0 20px var(--primary-color);
}

/* Registration Section */
.register-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.register-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.register-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.checklist {
    list-style: none;
    font-size: 1.1rem;
}

.checklist li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checklist li:last-child {
    border-bottom: none;
}

.contact-cta {
    text-align: center;
    margin-top: 50px;
}

.contact-cta p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.email-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-color), #ff9500);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
    transition: all 0.3s ease;
}

.email-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.6);
}

/* Location Section */
.location-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(5px);
}

.location-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    opacity: 0.9;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.map-card {
    padding: 0;
    overflow: hidden;
}

.map-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--glass-border);
}

.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 0 0;
}

.map-link {
    display: block;
    padding: 20px 30px;
    text-align: center;
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: var(--accent-color);
}

.location-details h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.location-list {
    list-style: none;
    display: grid;
    gap: 12px;
    font-size: 1.05rem;
}

.location-list li strong {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .map-embed {
        aspect-ratio: 4 / 3;
    }
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 0 20px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section p {
    margin: 5px 0;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    text-decoration: none;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 40px;
        padding-right: 0;
    }
    
    .timeline-marker {
        left: 0;
        transform: translateX(0);
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 30px;
        margin-right: 0;
        max-width: 100%;
    }
    
    .stats-container {
        gap: 40px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 12px;
    }
    
    .glitch {
        font-size: clamp(1.6rem, 7vw, 3rem);
        letter-spacing: 0.05em;
        text-align: center;
        line-height: 1.1;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .hero-content .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 12px 20px;
        font-size: 0.95rem;
        text-align: center;
    }
    
    .glass-card {
        padding: 25px;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
        margin-bottom: 40px;
    }

    #prereg .section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        line-height: 1.2;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .schedule-day {
        padding: 18px;
    }

    .schedule-item {
        padding: 12px;
        gap: 12px;
    }

    .schedule-item .time {
        min-width: 52px;
        font-size: 1rem;
    }

    .categories-list {
        gap: 12px;
    }

    .category-row {
        padding: 18px 16px;
    }

    .fees-card,
    .prereg-form {
        padding: 24px 18px;
        max-width: 100%;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Transitions */
.info-card,
.timeline-content,
.glass-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.3s; }
.info-card:nth-child(3) { animation-delay: 0.5s; }

.timeline-item:nth-child(1) .timeline-content { animation-delay: 0.2s; }
.timeline-item:nth-child(2) .timeline-content { animation-delay: 0.4s; }
.timeline-item:nth-child(3) .timeline-content { animation-delay: 0.6s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
