/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #E4E4E7;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
    animation: particles-float 15s ease-in-out infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes particles-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===== TYPOGRAPHY ===== */
.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

h1,
h2,
h3 {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.2;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-dark {
    background-color: #0A0F14;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00E5FF, #8B5CF6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 18px;
    color: #A0A0AB;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2D3748;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header logo image */
.site-logo {
    width: 48px;
    height: auto;
    object-fit: contain;
    margin-right: 12px;
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 768px) {
    .site-logo {
        width: 40px;
    }
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #00E5FF;
}

.logo-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: #A0A0AB;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #E4E4E7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00E5FF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00E5FF;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 24px;
    margin-top: 80px;
    /* Push down below marquee */
}

.badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #00E5FF;
    font-weight: 500;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.glitch-text {
    position: relative;
    display: inline-block;
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch-text::before {
    animation: glitch-1 0.3s infinite;
    color: #00E5FF;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.3s infinite;
    color: #8B5CF6;
    z-index: -2;
}

@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    10% {
        transform: translate(-2px, 2px);
    }

    20% {
        transform: translate(2px, -2px);
    }

    30% {
        transform: translate(-2px, -2px);
    }
}

@keyframes glitch-1 {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    10% {
        transform: translate(-1px, 1px);
    }

    20% {
        transform: translate(1px, -1px);
    }
}

@keyframes glitch-2 {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    10% {
        transform: translate(1px, -1px);
    }

    20% {
        transform: translate(-1px, 1px);
    }
}

.hero-year {
    color: #A0A0AB;
    font-size: 32px;
}

.hero-subtitle {
    font-size: 20px;
    color: #A0A0AB;
    margin-bottom: 16px;
}

.hero-university {
    color: #A0A0AB;
    font-size: 14px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    opacity: 0.8;
}

/* Larger university line shown above the main hero title */
.hero-university-large {
    color: #E4E4E7;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    max-width: 900px;
    font-style: normal;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 700;
    color: #00E5FF;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #A0A0AB;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    position: relative;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    text-decoration: none;
}

.btn-primary {
    background-color: #00C2D9;
    color: #000000;
}

.btn-primary:hover:not(.disabled) {
    background-color: #00E5FF;
    transform: translateY(-4px);
    box-shadow: 0 0 24px 0px rgba(0, 229, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: #E4E4E7;
    border: 1px solid #2D3748;
}

.btn-secondary:hover:not(.disabled) {
    border-color: #00E5FF;
    transform: translateY(-4px);
    box-shadow: 0 0 24px 0px rgba(0, 229, 255, 0.6);
}

.btn-large {
    padding: 20px 32px;
    font-size: 18px;
    min-height: 64px;
}

.btn.disabled,
.btn:disabled {
    background-color: transparent !important;
    color: #4A5568 !important;
    border: 1px solid #4A5568 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn:active:not(.disabled) {
    transform: translateY(-2px) scale(0.98);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover .btn-glow {
    transform: translateX(100%);
}

/* ===== REGISTRATION BANNER ===== */
.registration-banner {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 32px 0;
    margin: 32px 0;
    backdrop-filter: blur(10px);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-icon {
    font-size: 48px;
    opacity: 0.8;
}

.banner-text {
    flex: 1;
    max-width: 600px;
}

.banner-title {
    font-size: 24px;
    font-weight: 600;
    color: #00E5FF;
    margin-bottom: 8px;
}

.banner-message {
    color: #E4E4E7;
    line-height: 1.6;
    margin: 0;
}

.banner-message strong {
    color: #2DFE54;
}

.btn-small {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 48px;
    white-space: nowrap;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* Center a specific about card across the grid */
.about-grid .centered-card {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .about-grid .centered-card {
        grid-column: auto;
        max-width: 100%;
    }
}

.about-card {
    background-color: #0A0F14;
    border: 1px solid #2D3748;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    transition: all 300ms ease-in-out;
}

.about-card:hover {
    border-color: #00E5FF;
    transform: translateY(-8px);
    box-shadow: 0 0 24px 0px rgba(0, 229, 255, 0.2);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #E4E4E7;
}

.card-text {
    color: #A0A0AB;
    line-height: 1.6;
}

/* ===== COMMITTEE SECTION ===== */
.committee-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #2D3748;
}

.committee-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #E4E4E7;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.committee-card {
    background-color: #141A1F;
    border: 1px solid #2D3748;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 300ms ease-in-out;
}

.committee-card:hover {
    border-color: #00E5FF;
    transform: translateY(-4px);
    box-shadow: 0 0 16px 0px rgba(0, 229, 255, 0.2);
}

.committee-role {
    font-size: 14px;
    font-weight: 600;
    color: #00E5FF;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.committee-name {
    font-size: 16px;
    font-weight: 600;
    color: #E4E4E7;
    margin-bottom: 4px;
}

.committee-position {
    font-size: 12px;
    color: #A0A0AB;
    line-height: 1.4;
}

/* ===== TIMELINE ENHANCEMENTS ===== */

/* ===== TIMELINE SECTION ===== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid #2D3748;
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-node {
    width: 24px;
    height: 24px;
    border: 2px solid #2D3748;
    border-radius: 50%;
    background-color: transparent;
    flex-shrink: 0;
    position: relative;
    top: 8px;
}

.timeline-node.active {
    border-color: #00E5FF;
    background-color: #00E5FF;
    box-shadow: 0 0 16px 0px rgba(0, 229, 255, 0.4);
}

.timeline-content {
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 24px;
    font-weight: 600;
    color: #E4E4E7;
}

.timeline-status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.timeline-status.active {
    background-color: rgba(0, 229, 255, 0.2);
    color: #00E5FF;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.timeline-status:not(.active) {
    background-color: rgba(160, 160, 171, 0.1);
    color: #A0A0AB;
    border: 1px solid rgba(160, 160, 171, 0.3);
}

.timeline-details {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.timeline-date,
.timeline-mode {
    color: #A0A0AB;
}

.timeline-prize {
    margin-bottom: 16px;
}

.prize-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 600;
    color: #00E5FF;
}

.timeline-description {
    color: #A0A0AB;
    line-height: 1.6;
    margin-bottom: 16px;
}

.timeline-result {
    margin-top: 16px;
    padding: 12px;
    background-color: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 4px;
    font-size: 14px;
    color: #E4E4E7;
}

.timeline-result strong {
    color: #00E5FF;
}

.prize-breakdown {
    margin-top: 12px;
    padding: 16px;
    background-color: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 6px;
    margin-bottom: 16px;
}

.prize-item {
    padding: 4px 0;
    color: #E4E4E7;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.prize-item:first-child {
    color: #2DFE54;
    font-weight: 600;
}

.prize-item:nth-child(2) {
    color: #FFD60A;
    font-weight: 600;
}

/* ===== THEMES SECTION ===== */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.theme-card {
    background-color: #0A0F14;
    border: 1px solid #2D3748;
    border-radius: 8px;
    padding: 32px;
    transition: all 300ms ease-in-out;
    height: 100%;
}

.theme-card:hover {
    border-color: #00E5FF;
    transform: translateY(-8px);
    box-shadow: 0 0 24px 0px rgba(0, 229, 255, 0.2);
}

.theme-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.theme-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #E4E4E7;
}

.theme-description {
    color: #A0A0AB;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.contact-card {
    background-color: #141A1F;
    border: 1px solid #2D3748;
    border-radius: 8px;
    padding: 32px;
}

.contact-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #00E5FF;
    text-align: center;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(45, 55, 72, 0.5);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-name {
    color: #E4E4E7;
    font-weight: 500;
}

.contact-phone {
    font-family: 'JetBrains Mono', monospace;
    color: #00E5FF;
}

.contact-cta {
    text-align: center;
    padding: 32px;
    background-color: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
}

/* Ensure CTA button is centered even though .btn uses flex */
.contact-cta .btn {
    display: inline-flex;
    margin: 0 auto;
}

.contact-text {
    font-size: 18px;
    margin-bottom: 24px;
    color: #E4E4E7;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #000000;
    border-top: 1px solid #2D3748;
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    color: #00E5FF;
    margin-bottom: 8px;
}

.footer-tagline {
    color: #A0A0AB;
    font-size: 14px;
}

.footer-text {
    color: #A0A0AB;
    font-size: 14px;
}

.footer-info {
    text-align: right;
}

/* ===== TOOLTIP ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #141A1F;
    color: #E4E4E7;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2D3748;
    z-index: 1000;
    margin-bottom: 8px;
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 64px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-stats {
        gap: 32px;
    }

    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 16px;
        padding: 12px 24px;
    }

    .nav-links {
        gap: 24px;
    }

    /* Registration Banner Mobile */
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .banner-text {
        max-width: 100%;
    }

    .banner-title {
        font-size: 20px;
    }

    .banner-message {
        font-size: 14px;
    }

    .btn-small {
        padding: 10px 16px;
        font-size: 12px;
    }

    .hero {
        padding-top: 120px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-year {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-university-large {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-grid,
    .themes-grid,
    .event-details-grid,
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .logistics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-buttons {
        flex-direction: column;
        align-items: center;
    }

    .event-meta {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .timeline-details {
        flex-direction: column;
        gap: 8px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

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

    .grid-pattern,
    .particles {
        animation: none;
    }
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #00E5FF;
    outline-offset: 2px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0F14;
}

::-webkit-scrollbar-thumb {
    background: #2D3748;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00E5FF;
}

/* ===== FREE ENTRY BADGE ===== */
.badge-free {
    background: linear-gradient(135deg, #00E5FF, #10B981);
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-glow 2s ease-in-out infinite;
    text-shadow: none;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.badge-free .badge-text {
    color: #000000 !important;
    text-shadow: none !important;
    font-weight: 700;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
        transform: scale(1.05);
    }
}

/* ===== UNIVERSITY LOGO ===== */
.university-logo {
    margin: 24px 0;
    text-align: center;
}

.logo-placeholder {
    background: rgba(0, 229, 255, 0.1);
    border: 2px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    border-color: #00E5FF;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #00E5FF;
    display: block;
}

.logo-subtitle {
    font-size: 14px;
    color: #9CA3AF;
    margin-top: 4px;
}

/* Images inside the logo placeholder */
.logo-placeholder img {
    height: 56px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.logo-placeholder .a-plus-logo {
    height: 46px;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .logo-placeholder img {
        height: 44px;
    }

    .logo-placeholder .a-plus-logo {
        height: 36px;
    }
}

/* ===== EVENT-SPECIFIC BUTTONS ===== */
.event-buttons {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-event {
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.4);
    color: #C4B5FD;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-event:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.3);
    border-color: #8B5CF6;
    color: #C4B5FD;
    transform: translateY(-2px);
}

.btn-event:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-event.active {
    background: rgba(139, 92, 246, 0.4);
    border-color: #8B5CF6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    color: #C4B5FD;
}

/* ===== EVENT DETAILS SECTION ===== */
.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.event-detail-card {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.event-detail-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1);
    transform: translateY(-4px);
}

.event-detail-title {
    font-size: 20px;
    font-weight: 600;
    color: #00E5FF;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.event-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.event-mode,
.event-duration {
    background: rgba(139, 92, 246, 0.2);
    color: #C4B5FD;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-objective,
.event-activities,
.event-judging {
    margin-bottom: 16px;
}

.event-activities ul {
    margin-left: 16px;
    margin-top: 8px;
}

.event-activities li {
    margin-bottom: 4px;
    color: #9CA3AF;
}

/* ===== LOGISTICS SECTION ===== */
.logistics-section {
    margin-top: 48px;
}

.logistics-title {
    font-size: 24px;
    font-weight: 600;
    color: #00E5FF;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
}

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

.logistics-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 229, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    transition: all 0.3s ease;
}

.logistics-item:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(4px);
}

.logistics-icon {
    font-size: 18px;
    color: #00E5FF;
}

.logistics-text {
    color: #E4E4E7;
    font-size: 14px;
    font-weight: 500;
}

/* ===== RULES SECTION ===== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.rules-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.rules-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
    transform: translateY(-4px);
}

.rules-category {
    font-size: 20px;
    font-weight: 600;
    color: #C4B5FD;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
}

.rules-list {
    list-style: none;
}

.rules-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #9CA3AF;
    line-height: 1.6;
}

.rules-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-size: 12px;
}

.rules-note {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

.rules-note p {
    color: #FDE68A;
    margin: 0;
    line-height: 1.6;
}

/* ===== JUDGES SECTION ===== */
.judges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.judge-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.judge-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1);
    transform: translateY(-4px);
}

.judge-name {
    font-size: 18px;
    font-weight: 600;
    color: #10B981;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.judge-title {
    font-size: 14px;
    color: #E4E4E7;
    margin-bottom: 4px;
    font-weight: 500;
}

.judge-org {
    font-size: 12px;
    color: #9CA3AF;
    font-style: italic;
}

/* ===== ACCESSIBILITY ===== */

/* ===== MARQUEE NOTIFICATION ===== */
.marquee-container {
    background-color: #00E5FF;
    color: #000;
    padding: 12px 0;
    overflow: hidden;
    position: fixed;
    top: 80px;
    /* Below header */
    left: 0;
    width: 100%;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 229, 255, 0.2);
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 16px;
}

.marquee-content span {
    padding-right: 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Adjust hero padding to account for marquee */

/* ===== PROGRESS BAR ===== */
.progress-container {
    width: 100%;
    max-width: 600px;
    margin: 48px auto;
    text-align: center;
    padding: 24px;
    background-color: #0A0F14;
    border: 1px solid #2D3748;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.progress-container h3 {
    color: #E4E4E7;
    font-size: 20px;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.progress-description {
    color: #A0A0AB;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar-bg {
    background-color: #141A1F;
    border: 1px solid #2D3748;
    border-radius: 12px;
    height: 24px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #00C2D9, #00E5FF);
    height: 100%;
    width: 0%;
    border-radius: 12px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent);
    background-size: 20px 20px;
    animation: progress-stripes 1s linear infinite;
    opacity: 0.3;
}

@keyframes progress-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 0;
    }
}

#submission-text {
    margin-top: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: #00E5FF;
    font-size: 14px;
    font-weight: 500;
}