/* Varsity Hackathon 2026 - Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --oxford-blue: #002147;
    --oxford-glow: #1a4a7a;
    --cambridge-blue: #8EE8D8;
    --gold: #d4af37;
    --gold-bright: #ffd700;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray: #888;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Outfit', sans-serif;
    background: var(--black);
    color: var(--white);
    /* Reserve space so content is not hidden behind the fixed footer */
    padding-bottom: 5rem;
}

/* Split background - modern 3D depth effect */
.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100vh;
    z-index: 0;
    overflow: hidden;
    /* Base gradient that ensures full coverage - no black gaps */
    background: linear-gradient(90deg,
        var(--oxford-blue) 0%,
        #001428 35%,
        #0a1515 50%,
        #091f1f 65%,
        #0d2626 100%
    );
}

/* Oxford side - deep blue with gradient depth */
.bg-oxford {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 60%;
    height: 120%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(0, 33, 71, 0.95) 0%, transparent 70%),
        radial-gradient(ellipse 100% 80% at 0% 50%, var(--oxford-blue) 0%, transparent 60%),
        linear-gradient(100deg, var(--oxford-blue) 0%, #001428 40%, transparent 70%);
}

/* Cambridge side - teal with gradient depth */
.bg-cambridge {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background:
        radial-gradient(ellipse 80% 50% at 80% 50%, rgba(142, 232, 216, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 100% 80% at 100% 50%, rgba(142, 232, 216, 0.3) 0%, transparent 60%),
        linear-gradient(260deg, rgba(142, 232, 216, 0.35) 0%, #0a1a1a 40%, transparent 70%);
}

/* Central glow - creates the smooth fusion between both sides */
.bg-center-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    width: 50%;
    height: 120%;
    transform: translateX(-50%);
    background:
        /* Gold hint at top center */
        radial-gradient(ellipse 80% 40% at 50% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        /* Soft blend zone */
        radial-gradient(ellipse 100% 100% at 50% 50%, rgba(10, 20, 25, 0.8) 0%, transparent 50%);
    filter: blur(60px);
}

/* Depth overlay - adds dimension with subtle vignette */
.bg-depth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Top spotlight effect */
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 255, 255, 0.015) 0%, transparent 50%),
        /* Center depth - darker middle creates 3D valley effect */
        radial-gradient(ellipse 30% 50% at 50% 50%, rgba(0, 0, 0, 0.25) 0%, transparent 60%),
        /* Vignette for depth */
        radial-gradient(ellipse 120% 120% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

/* Particle effects */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    left: 0;
    top: 0;
    will-change: transform, opacity;
}

.particle.oxford {
    background: rgba(0, 100, 200, 0.6);
    box-shadow: 0 0 10px rgba(0, 100, 200, 0.8);
}

.particle.cambridge {
    background: rgba(142, 232, 216, 0.6);
    box-shadow: 0 0 10px rgba(142, 232, 216, 0.8);
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeDown 0.8s ease-out;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 5rem;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

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

.register-btn {
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-btn::after {
    display: none !important;
}

.register-btn:hover {
    background: var(--gold);
    color: var(--black) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* Main content - hero section is full viewport, can add more content below */
main {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* University crests */
.crests {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.crest {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    position: relative;
    animation: crestRingRotate 12s linear infinite;
}

/* Slow rotation for the ring; text counter-rotates via .crest-text */
@keyframes crestRingRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.crest-text {
    display: inline-block;
    animation: crestRingRotate 12s linear infinite reverse;
}

.crest::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.crest.oxford {
    background: var(--oxford-blue);
    box-shadow: 0 0 40px rgba(0, 33, 71, 0.8);
}

.crest.cambridge {
    background: linear-gradient(135deg, var(--cambridge-blue) 0%, #1a5555 100%);
    border: 2px solid var(--cambridge-blue);
    box-shadow: 0 0 40px rgba(142, 232, 216, 0.4);
}

.vs-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    animation: vsPulse 1.5s ease-in-out infinite;
}

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

/* Headline */
.headline {
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease-out 0.4s both;
    user-select: none;
    -webkit-user-select: none;
}

.headline h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.headline .varsity {
    display: block;
    background: linear-gradient(90deg,
        var(--oxford-glow) 0%,
        var(--white) 30%,
        var(--white) 70%,
        var(--cambridge-blue) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline .hackathon {
    display: block;
    font-size: 0.6em;
    letter-spacing: 0.3em;
    margin-right: -0.3em; /* Compensate for letter-spacing on last character */
    /* Metallic gold gradient with bright highlight sweep */
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        var(--gold) 45%,
        #fff 50%,
        var(--gold) 55%,
        var(--gold) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hackathonShimmer 3s linear infinite;
    /* Subtle text stroke for definition */
    -webkit-text-stroke: 0.5px rgba(212, 175, 55, 0.3);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
}

@keyframes hackathonShimmer {
    0% { background-position: 200% 50%; }
    100% { background-position: -200% 50%; }
}

/* Event details */
.event-details {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease-out 0.6s both;
}

.detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.detail-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Deadline notice - frosted glass panel */
.deadline-notice {
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease-out 0.7s both;
}

.deadline-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    /* Frosted glass effect */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.deadline-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.deadline-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.deadline-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 0.05em;
}

.deadline-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
}

/* CTAs */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s ease-out 0.8s both;
}

.btn {
    padding: 1.1rem 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
    background-size: 200% 200%;
    color: var(--black);
    border: none;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    animation: goldShimmer 3s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 60px rgba(212, 175, 55, 0.6);
}

/* Learn More – frosted glass style */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Countdown */
.countdown {
    display: flex;
    gap: 2rem;
    animation: fadeUp 0.8s ease-out 1s both;
}

.countdown--ended {
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    min-width: 70px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.countdown-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* Content below the fold - background flows with split design */
.below-fold {
    position: relative;
    z-index: 10;
    padding: 5rem 2rem 2rem;
}

.below-fold-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section heading */
.info-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 3.5rem;
    background: linear-gradient(90deg,
        var(--oxford-glow) 0%,
        var(--white) 40%,
        var(--gold) 60%,
        var(--cambridge-blue) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 0.8s ease-out both;
}

/* Info cards grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Single info card - glass panel with gold accent */
.info-card {
    position: relative;
    padding: 2rem 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    animation: fadeUp 0.8s ease-out both;
}

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

.info-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold) 20%,
        var(--gold-bright) 50%,
        var(--gold) 80%,
        transparent 100%
    );
    opacity: 0.9;
}

.info-card__label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.info-card__content {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.info-card__sub {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

/* Participants card - Oxford / Cambridge pills */
.info-card__participants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.participant-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.participant-pill--oxford {
    background: rgba(0, 33, 71, 0.6);
    border: 1px solid rgba(26, 74, 122, 0.6);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(0, 33, 71, 0.3);
}

.participant-pill--cambridge {
    background: rgba(142, 232, 216, 0.12);
    border: 1px solid rgba(142, 232, 216, 0.4);
    color: var(--cambridge-blue);
    box-shadow: 0 0 20px rgba(142, 232, 216, 0.15);
}

/* Tracks list */
.info-card__tracks {
    list-style: none;
}

.track-block {
    margin-bottom: 1.25rem;
}

.track-block:last-of-type {
    margin-bottom: 0;
}

.track-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.95);
}

.example-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.example-projects {
    list-style: none;
    margin: 0;
    padding: 0;
}

.example-projects li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.example-projects li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
}

.example-projects li:last-child {
    margin-bottom: 0;
}

/* Perks list - highlight prize amount */
.info-card__perks li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
}

.info-card__perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    background: var(--cambridge-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(142, 232, 216, 0.5);
}

.info-card__perks li:last-child {
    margin-bottom: 0;
}

.info-card__perks strong {
    color: var(--gold-bright);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Scroll arrow: about section → video section (sits in section bottom) */
.scroll-to-video {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.25rem 2rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
    z-index: 10;
}

.scroll-to-video:hover {
    color: var(--gold-bright);
    transform: translateY(4px);
}

.scroll-to-video:focus {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.scroll-to-video svg {
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Video section - before footer */
.video-section {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem 5rem;
}

.video-section-inner {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeUp 0.8s ease-out both;
}

.video-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(90deg,
        var(--oxford-glow) 0%,
        var(--white) 40%,
        var(--gold) 60%,
        var(--cambridge-blue) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold) 20%,
        var(--gold-bright) 50%,
        var(--gold) 80%,
        transparent 100%
    );
    opacity: 0.9;
    z-index: 1;
}

.video-player {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    vertical-align: middle;
}

/* Past Hackathons section */
.past-hackathons {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem 5rem;
}

.past-hackathons-inner {
    max-width: 900px;
    margin: 0 auto;
}

.year-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.year-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--white);
    overflow: hidden;
    animation: fadeUp 0.8s ease-out both;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.year-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}

.year-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold) 20%,
        var(--gold-bright) 50%,
        var(--gold) 80%,
        transparent 100%
    );
    opacity: 0.9;
}

.year-card__year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.year-card__subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gray);
}

.year-card__cta {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.year-card:hover .year-card__cta {
    color: var(--gold-bright);
}

/* Footer - fixed to bottom of viewport, transparent; glass only on content boxes */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 0.5rem 4rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
}

/* Thin transparent glass box around footer content (sponsors + copyright only) */
.footer-glass {
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

.footer-copyright {
    display: block;
}

.sponsors {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sponsors span {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.65rem;
}

.sponsor-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.sponsor-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.sponsor-logo--wide {
    width: auto;
}

.sponsor-logo--wide img {
    height: 32px;
    max-width: none;
    width: auto;
}

.sponsor-more {
    font-size: 0.75rem;
    opacity: 0.8;
    font-style: italic;
    margin-left: 0.25rem;
}

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

/* Glitch effect on hover */
.headline h1:hover .varsity {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
}

/* Responsive */
@media (max-width: 900px) {
    nav {
        padding: 1rem 2rem;
    }

    .nav-links a:not(.register-btn) {
        display: none;
    }

    .crests {
        gap: 2rem;
    }

    .crest {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .vs-text {
        font-size: 2rem;
    }

    .event-details {
        gap: 1.5rem;
    }

    .deadline-content {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .deadline-icon {
        font-size: 1.5rem;
    }

    .deadline-text strong {
        font-size: 1rem;
    }

    .deadline-subtext {
        font-size: 0.85rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-value {
        font-size: 1.75rem;
        min-width: 55px;
    }

    footer {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .footer-glass {
        padding: 0.35rem 0.75rem;
    }

    .below-fold {
        padding: 3rem 1.5rem 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem 1.25rem;
    }

    .info-card__participants {
        flex-direction: column;
        align-items: stretch;
    }

    .participant-pill {
        justify-content: center;
    }

    .video-section {
        padding: 3rem 1rem 4.5rem;
    }

    .video-heading {
        margin-bottom: 1.5rem;
    }

    .video-wrapper {
        border-radius: 6px;
    }

    .past-hackathons {
        padding: 3rem 1.5rem 4.5rem;
    }

    .year-card {
        padding: 2rem 2.5rem;
    }
}

/* Scan line effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
}
