:root {
    --bg-top: #46014b;
    --bg-bottom: #600723;
    --accent-red: #ff0043;
    --accent-magenta: #ae00a1;
    --accent-purple: #9600b6;
    --accent-violet: #9430cb;
    --grid-line: rgba(174, 0, 161, 0.15);
    --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --card-bg: rgba(20, 0, 16, 0.4);
    --card-bg-hover: rgba(35, 0, 28, 0.55);
    --card-border: rgba(255, 255, 255, 0.12);
    --card-radius: 16px;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --nav-height: 76px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(0deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Mathematical symbols background */
.bg-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    overflow: hidden;
    z-index: 0;
}

/* Cyber grid overlay */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 1;
    z-index: 0;
    mask: radial-gradient(ellipse at center, white 0%, white 15%, rgba(255,255,255,0.8) 28%, rgba(255,255,255,0.6) 38%, rgba(255,255,255,0.4) 55%, rgba(255,255,255,0.25) 75%, rgba(255,255,255,0.15) 100%);
    -webkit-mask: radial-gradient(ellipse at center, white 0%, white 15%, rgba(255,255,255,0.8) 28%, rgba(255,255,255,0.6) 38%, rgba(255,255,255,0.4) 55%, rgba(255,255,255,0.25) 75%, rgba(255,255,255,0.15) 100%);
}

.symbol {
    position: absolute;
    color: rgba(255, 255, 255, 0.25);
    font-size: 2rem;
    font-weight: 300;
    animation: float 6s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}

.symbol:nth-child(1) { top: 17%; left: 23%; animation-delay: 0s; }
.symbol:nth-child(2) { top: 73%; right: 41%; animation-delay: -0.8s; }
.symbol:nth-child(3) { top: 91%; left: 67%; animation-delay: -1.6s; }
.symbol:nth-child(4) { top: 6%; right: 29%; animation-delay: -2.4s; }
.symbol:nth-child(5) { top: 54%; left: 84%; animation-delay: -3.2s; }
.symbol:nth-child(6) { top: 39%; right: 73%; animation-delay: -4.0s; }
.symbol:nth-child(7) { top: 82%; left: 16%; animation-delay: -0.4s; }
.symbol:nth-child(8) { top: 27%; right: 58%; animation-delay: -1.2s; }
.symbol:nth-child(9) { top: 64%; left: 91%; animation-delay: -2.0s; }
.symbol:nth-child(10) { top: 11%; left: 47%; animation-delay: -2.8s; }
.symbol:nth-child(11) { top: 78%; right: 14%; animation-delay: -3.6s; }
.symbol:nth-child(12) { top: 33%; left: 76%; animation-delay: -0.6s; }
.symbol:nth-child(13) { top: 89%; right: 82%; animation-delay: -1.4s; }
.symbol:nth-child(14) { top: 21%; left: 36%; animation-delay: -2.2s; }
.symbol:nth-child(15) { top: 67%; right: 93%; animation-delay: -3.0s; }
.symbol:nth-child(16) { top: 44%; left: 19%; animation-delay: -3.8s; }
.symbol:nth-child(17) { top: 8%; left: 61%; animation-delay: -0.2s; }
.symbol:nth-child(18) { top: 76%; right: 37%; animation-delay: -1.0s; }
.symbol:nth-child(19) { top: 52%; left: 88%; animation-delay: -1.8s; }
.symbol:nth-child(20) { top: 29%; right: 71%; animation-delay: -2.6s; }
.symbol:nth-child(21) { top: 95%; left: 42%; animation-delay: -3.4s; }
.symbol:nth-child(22) { top: 13%; right: 86%; animation-delay: -4.2s; }
.symbol:nth-child(23) { top: 71%; left: 24%; animation-delay: -0.6s; }
.symbol:nth-child(24) { top: 48%; right: 59%; animation-delay: -1.4s; }
.symbol:nth-child(25) { top: 86%; left: 77%; animation-delay: -2.2s; }
.symbol:nth-child(26) { top: 19%; left: 53%; animation-delay: -3.0s; }
.symbol:nth-child(27) { top: 61%; right: 31%; animation-delay: -3.8s; }
.symbol:nth-child(28) { top: 37%; left: 94%; animation-delay: -0.8s; }
.symbol:nth-child(29) { top: 84%; right: 68%; animation-delay: -1.6s; }
.symbol:nth-child(30) { top: 26%; left: 12%; animation-delay: -2.4s; }
.symbol:nth-child(31) { top: 74%; right: 45%; animation-delay: -3.2s; }
.symbol:nth-child(32) { top: 41%; left: 83%; animation-delay: -4.0s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-15px) translateX(10px) rotate(5deg); }
    50% { transform: translateY(-20px) translateX(0px) rotate(0deg); }
    75% { transform: translateY(-10px) translateX(-10px) rotate(-5deg); }
}

/* Faint real formulas, editorial decor — scattered like margin notes */
.math-decor {
    position: absolute;
    z-index: 0;
    opacity: 0.08;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.math-decor.md-1 { top: 10%;  left: 5%;   font-size: 1.5rem; transform: rotate(-6deg); }
.math-decor.md-2 { top: 27%;  right: 6%;  font-size: 1.7rem; transform: rotate(4deg); }
.math-decor.md-3 { top: 58%;  left: 4%;   font-size: 1.4rem; transform: rotate(3deg); }
.math-decor.md-4 { top: 74%;  right: 5%;  font-size: 1.45rem; transform: rotate(-4deg); }
.math-decor.md-5 { bottom: 6%; left: 7%;  font-size: 1.4rem; transform: rotate(5deg); }

@media (max-width: 900px) {
    .math-decor.md-4, .math-decor.md-5 { display: none; }
}

/* Node constellation — a graph-theory flourish behind the hero */
.bg-graph {
    position: absolute;
    top: 5%;
    right: -40px;
    width: 460px;
    height: 500px;
    z-index: 0;
    opacity: 0.16;
    filter: drop-shadow(0 0 18px rgba(174, 0, 161, 0.25));
    pointer-events: none;
}

.bg-graph .edge {
    stroke: #fff;
    stroke-width: 1;
    opacity: 0.35;
}

.bg-graph .node {
    fill: #fff;
    opacity: 0.55;
}

.bg-graph .node-glow {
    fill: var(--accent-magenta);
    opacity: 0.35;
}

.bg-graph .node-key {
    fill: var(--accent-magenta);
}

/* Golden spiral — a quiet nod to the math behind the logo */
.bg-spiral {
    position: absolute;
    bottom: 12%;
    left: -30px;
    width: 220px;
    height: 335px;
    z-index: 0;
    opacity: 0.16;
    filter: drop-shadow(0 0 14px rgba(148, 48, 203, 0.25));
    pointer-events: none;
}

.bg-spiral path {
    fill: none;
    stroke: var(--accent-violet);
    stroke-width: 1.5;
    stroke-linecap: round;
}

@media (max-width: 900px) {
    .bg-graph, .bg-spiral { display: none; }
}

/* Site nav */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-height);
    background: rgba(20, 0, 16, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.site-logo span {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.3rem;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
}

.site-nav-links a {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

.site-nav-links a:hover {
    color: #fff;
}

.site-nav-versions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.version-pill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.version-pill:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.version-pill.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta));
    border-color: transparent;
    box-shadow: 0 0 16px rgba(255, 0, 67, 0.35);
}

@media (max-width: 768px) {
    .site-nav-links { display: none; }
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 2.5rem) 2rem 2rem;
}

.content {
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    min-width: 0;
}

/* Hero */
.logo-container {
    margin-bottom: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 2rem;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--card-shadow), 0 0 40px rgba(174, 0, 161, 0.2);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.logo svg {
    width: 60px;
    height: 60px;
}

.title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    background: linear-gradient(90deg, #ff0043 0%, #ff0043 25%, #ae00a1 50%, #9600b6 75%, #9430cb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.description {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

/* Hero fact tiles — visual stand-in for a countdown, using facts we actually know */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.1rem 0.5rem;
    border-radius: 12px;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1 1 160px;
    max-width: 220px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-magenta));
    color: white;
    padding: 0.9rem 2.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 24px rgba(255, 0, 67, 0.35), inset 0 0 10px rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(255, 0, 67, 0.5), inset 0 0 12px rgba(255, 255, 255, 0.2);
}

/* Section header pattern — kicker + heading + gradient divider */
.schedule-section,
.prizes-section,
.sponsors-section,
.partners-section,
.team-section,
.faq-section {
    text-align: left;
}

.schedule-title,
.prizes-title,
.sponsors-title,
.partners-title,
.team-title,
.faq-title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: white;
}

.schedule-title::before,
.prizes-title::before,
.sponsors-title::before,
.partners-title::before,
.team-title::before,
.faq-title::before {
    display: block;
    margin-bottom: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-magenta);
}

.schedule-title::before { content: 'Timeline'; }
.prizes-title::before { content: 'Prizes'; }
.sponsors-title::before { content: 'Sponsors'; }
.partners-title::before { content: 'Partners'; }
.team-title::before { content: 'The People'; }
.faq-title::before { content: 'Good To Know'; }

.schedule-title::after,
.prizes-title::after,
.sponsors-title::after,
.partners-title::after,
.team-title::after,
.faq-title::after {
    content: '';
    display: block;
    width: 5rem;
    height: 2px;
    margin-top: 1rem;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-magenta), transparent);
}

.schedule-description,
.prizes-description,
.sponsors-description,
.partners-description,
.team-description,
.faq-description {
    font-size: 1rem;
    opacity: 0.6;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

.faq-title {
    margin-bottom: 2rem;
}

/* Schedule Section */
.schedule-section {
    margin-top: 5rem;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
    align-items: start;
}

.schedule-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.schedule-col-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 100, 150, 0.7);
    padding: 0 0 0.25rem 0;
    border-bottom: 1px solid rgba(255, 100, 150, 0.2);
    margin-bottom: 0.15rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-left: 2px solid var(--accent-magenta);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.schedule-item:hover {
    background: var(--card-bg-hover);
    transform: translateX(2px);
}

.schedule-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 100, 150, 0.9);
    white-space: nowrap;
    letter-spacing: 0.3px;
    min-width: 58px;
    text-align: right;
}

.schedule-divider {
    width: 1px;
    height: 1.4rem;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.schedule-event {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

@media (max-width: 768px) {
    .schedule-container { grid-template-columns: 1fr; gap: 0.6rem 0; }
    .schedule-col-header { margin-top: 0.5rem; }
    .schedule-time { font-size: 0.75rem; min-width: 52px; }
    .schedule-event { font-size: 0.9rem; }
}

/* Prizes Section */
.prizes-section {
    margin-top: 5rem;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.prizes-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prizes-overall {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.prizes-special {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.prize-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--card-radius);
    padding: 1.25rem 1rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    flex: 1;
}

.prize-card:hover {
    transform: translateY(-4px);
}

.prize-medal {
    font-size: 2rem;
}

.prize-place {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    color: white;
}

.prize-amount {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.prize-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.prize-first {
    border-color: rgba(255, 215, 0, 0.4);
}

.prize-first:hover {
    box-shadow: var(--card-shadow), 0 0 28px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.7);
}

.prize-first .prize-amount {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-second {
    border-color: rgba(192, 192, 192, 0.4);
}

.prize-second:hover {
    box-shadow: var(--card-shadow), 0 0 28px rgba(192, 192, 192, 0.25);
    border-color: rgba(192, 192, 192, 0.7);
}

.prize-second .prize-amount {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-third {
    border-color: rgba(205, 127, 50, 0.4);
}

.prize-third:hover {
    box-shadow: var(--card-shadow), 0 0 28px rgba(205, 127, 50, 0.25);
    border-color: rgba(205, 127, 50, 0.7);
}

.prize-third .prize-amount {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-perks {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.prize-perks li {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: left;
    padding-left: 0.9rem;
    position: relative;
    line-height: 1.4;
}

.prize-perks li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.35);
}

.prize-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 0.25rem;
    font-style: italic;
}

.prize-special-card {
    border-color: rgba(174, 0, 161, 0.4);
}

.prize-special-card:hover {
    box-shadow: var(--card-shadow), 0 0 28px rgba(174, 0, 161, 0.3);
    border-color: var(--accent-magenta);
}

.prize-special-card .prize-amount {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .prize-amount { font-size: 1.3rem; }
    .prize-medal { font-size: 1.6rem; }
}

/* Sponsors Section */
.sponsors-section {
    margin-top: 5rem;
    width: 100%;
}

.sponsors-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.sponsors-small-container {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.sponsor-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--card-radius);
    padding: 1rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    text-decoration: none;
    cursor: pointer;
    grid-column: span 1;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-magenta);
    box-shadow: var(--card-shadow), 0 0 24px rgba(174, 0, 161, 0.25);
}

.sponsor-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo-placeholder img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-placeholder img {
    opacity: 1;
}

.sponsor-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
}

.sponsor-card-small {
    min-height: 70px;
    padding: 0.75rem;
    flex: 0 1 150px;
}

.sponsor-card-small .sponsor-name {
    font-size: 0.85rem;
}

.sponsor-card-platinum {
    grid-column: 1 / -1;
    min-height: 220px;
    width: 130%;
    margin-left: -15%;
    position: relative;
    background: rgba(173, 216, 230, 0.08);
    border: 1px solid rgba(173, 216, 230, 0.6);
    box-shadow: var(--card-shadow), 0 0 40px rgba(176, 224, 230, 0.3);
}

.sponsor-card-platinum .sponsor-logo-placeholder,
.sponsor-card-platinum .sponsor-name {
    position: relative;
    z-index: 1;
}

.sponsor-card-platinum .sponsor-logo-placeholder img {
    max-height: 140px;
    max-width: 80%;
}

.sponsor-card-platinum:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow), 0 0 50px rgba(176, 224, 230, 0.4);
    border-color: rgba(224, 255, 255, 0.85);
}

.sponsor-card-premium {
    grid-column: span 3;
    min-height: 160px;
    width: 120%;
    margin-left: -10%;
    position: relative;
    background: rgba(255, 215, 0, 0.07);
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: var(--card-shadow), 0 0 24px rgba(255, 215, 0, 0.2);
}

.sponsor-card-premium .sponsor-logo-placeholder,
.sponsor-card-premium .sponsor-name {
    position: relative;
    z-index: 1;
}

.sponsor-card-premium .sponsor-logo-placeholder img {
    max-height: 100px;
}

.sponsor-logo-placeholder img[alt="QNX"] {
    max-height: 90px !important;
}

.sponsor-logo-placeholder img[alt="NordVPN"],
.sponsor-logo-placeholder img[alt="Incogni"],
.sponsor-logo-placeholder img[alt="Saily"] {
    max-height: 35px !important;
}

.sponsor-card-premium .sponsor-name {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.sponsor-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow), 0 0 40px rgba(255, 215, 0, 0.35);
    border-color: rgba(255, 215, 0, 0.65);
}

.sponsor-card-silver {
    min-height: 120px;
    position: relative;
    background: rgba(192, 192, 192, 0.04);
    border: 1px solid rgba(192, 192, 192, 0.25);
}

.sponsor-card-silver .sponsor-logo-placeholder {
    position: relative;
    z-index: 1;
}

.sponsor-card-silver:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow), 0 0 24px rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.4);
}

.sponsor-card-inkind {
    grid-column: 1 / -1;
    min-height: 120px;
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.sponsor-card-inkind .sponsor-logo-placeholder {
    position: relative;
    z-index: 1;
}

.sponsor-card-inkind:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow), 0 0 22px rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Partners Section */
.partners-section {
    margin-top: 5rem;
    width: 100%;
}

.partners-container {
    display: flex;
    justify-content: flex-start;
    gap: 1.25rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.partner-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width: 250px;
    text-decoration: none;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
    box-shadow: var(--card-shadow), 0 0 28px rgba(255, 0, 67, 0.25);
}

.partner-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-placeholder img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.partner-logo-placeholder img[alt="Hack Club Bank"] {
    max-height: 85px !important;
    width: auto !important;
}

.partner-logo-placeholder img[alt="De La Salle College"] {
    max-height: 100px !important;
}

.partner-card:hover .partner-logo-placeholder img {
    opacity: 1;
}

/* Team Section — responsive grid instead of a horizontal scroller */
.team-section {
    margin-top: 5rem;
    width: 100%;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.team-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--card-radius);
    padding: 1.75rem 1rem 1.5rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-magenta);
    box-shadow: var(--card-shadow), 0 0 28px rgba(174, 0, 161, 0.25);
}

.team-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.25s ease;
}

.team-card:hover .team-photo {
    border-color: var(--accent-magenta);
}

.team-name {
    font-family: var(--font-display);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-align: center;
}

.team-role {
    color: var(--accent-magenta);
    filter: brightness(1.6);
    font-size: 0.72rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* FAQ Section — numbered list */
.faq-section {
    margin-top: 4rem;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    counter-reset: faq;
}

.faq-item {
    counter-increment: faq;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--accent-magenta);
    box-shadow: var(--card-shadow), 0 0 24px rgba(174, 0, 161, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    color: white;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease;
}

.faq-question::before {
    content: counter(faq, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: rgba(174, 0, 161, 0.2);
    color: var(--accent-magenta);
    filter: brightness(1.5);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-question:hover {
    color: #e274df;
}

.faq-icon {
    margin-left: auto;
    font-size: 1.4rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--accent-magenta);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem 0 3.4rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem 3.4rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    border-radius: var(--card-radius);
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.footer-brand span {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.3rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    color: white;
}

.social-icon {
    opacity: 0.85;
}

.icons-attribution {
    margin: 1.5rem 0 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.icons-attribution a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icons-attribution a:hover {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
    .sponsors-container { grid-template-columns: repeat(3, 1fr); }
    .sponsor-card { grid-column: span 1; }
    .sponsor-card-premium { grid-column: span 3; }
    .sponsor-card-platinum { grid-column: 1 / -1; min-height: 220px; width: 120%; margin-left: -10%; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    .site-nav-inner { padding: 0 1rem; }
    .site-logo { font-size: 1rem; }
    .version-pill { padding: 0.3rem 0.55rem; font-size: 0.7rem; }

    .title { font-size: clamp(2rem, 9vw, 3.4rem); }
    .description { font-size: 0.95rem; }

    .hero-stats { max-width: 320px; gap: 0.75rem; }

    .footer-top { flex-direction: column; align-items: flex-start; }

    .container { padding: calc(var(--nav-height) + 1.5rem) 1.25rem 1.25rem; }

    .faq-question { font-size: 1rem; padding: 1rem 1.25rem; gap: 0.75rem; }
    .faq-answer { padding: 0 1.25rem 0 3.15rem; }
    .faq-item.active .faq-answer { padding: 0 1.25rem 1.1rem 3.15rem; }
    .faq-answer p { font-size: 0.92rem; }

    .sponsors-container { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .sponsor-card { padding: 0.75rem; min-height: 65px; grid-column: span 1; }
    .sponsor-card-small { min-height: 60px; padding: 0.6rem; }
    .sponsor-logo-placeholder img { max-height: 35px; }

    .sponsor-card-platinum { grid-column: 1 / -1; min-height: 200px; padding: 1.5rem; width: 100%; margin-left: 0; }
    .sponsor-card-platinum .sponsor-logo-placeholder img { max-height: 180px !important; transform: scale(1.2); }

    .sponsor-card-premium { grid-column: span 3; min-height: 130px; padding: 1.5rem; width: 100%; margin-left: 0; }
    .sponsor-card-premium:has(img[alt="QNX"]) { height: 130px; }
    .sponsor-card-premium .sponsor-logo-placeholder img { max-height: 80px; }
    .sponsor-logo-placeholder img[alt="QNX"] { max-height: clamp(30px, 17vw, 90px) !important; }
    .sponsor-logo-placeholder img[alt="HausWorth"] { transform: scale(1.8) !important; }
    .sponsor-logo-placeholder img[alt="NordVPN"],
    .sponsor-logo-placeholder img[alt="Incogni"],
    .sponsor-logo-placeholder img[alt="Saily"] { max-height: 26px !important; }
    .sponsor-card-premium .sponsor-name { font-size: 1.1rem; }

    .team-container { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
    .team-photo { width: 84px; height: 84px; }
    .team-name { font-size: 0.9rem; }
    .team-role { font-size: 0.65rem; }

    .partners-container { gap: 1rem; justify-content: center; }
    .partner-card { width: 100%; max-width: 280px; min-height: 100px; padding: 1.25rem; }
    .partner-logo-placeholder img { max-height: 75px; }
    .partner-logo-placeholder img[alt="Hack Club Bank"] { max-height: 75px !important; }
    .partner-logo-placeholder img[alt="De La Salle College"] { max-height: 75px !important; }

    .math-decor { display: none; }
}
