/* Colors & Cyber Brand Theme from Cyber Frontier emblem. */
:root {
  color-scheme: dark;
  --bg: #010409;
  --panel: #080f1e;
  --panel-hover: #0d1a36;
  --line: #162234;
  --ink: #e8f4ff;
  --muted: #7d95b0;
  --cyan: #38bdf8;
  --neon-cyan: #00f5ff;
  --neon-purple: #bf5fff;
  --lime: #39ff8a;
  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5);
  --glow-purple: 0 0 25px rgba(191, 95, 255, 0.5);
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
}

/* === SCANLINE OVERLAY === */
body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.03) 0px,
    rgba(0, 0, 0, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
}

body {
  background: var(--bg);
  color: var(--ink);
  background-image: 
    radial-gradient(ellipse at 20% 0%, rgba(0, 245, 255, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 30%, rgba(191, 95, 255, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 245, 255, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #010409 0%, #020810 100%);
  background-attachment: fixed;
}

/* === ANIMATED CYBER GRID === */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
  0%   { opacity: 0.4; }
  100% { opacity: 1; }
}

/* === GLITCH KEYFRAMES === */
@keyframes glitchText {
  0%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  10% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 1px); }
  20% { clip-path: inset(50% 0 10% 0); transform: translate(3px,-1px); }
  30% { clip-path: inset(80% 0 5% 0);  transform: translate(-2px, 2px); }
  40% { clip-path: inset(30% 0 40% 0); transform: translate(2px,-2px); }
  50% { clip-path: inset(70% 0 20% 0); transform: translate(-1px, 1px); }
}

@keyframes neonPulse {
  0%,100% { box-shadow: 0 0 5px var(--neon-cyan), 0 0 15px rgba(0,245,255,0.3); }
  50%      { box-shadow: 0 0 10px var(--neon-cyan), 0 0 35px rgba(0,245,255,0.6), 0 0 60px rgba(0,245,255,0.2); }
}

@keyframes terminalBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

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

header {
  background: rgba(1, 4, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid transparent;
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 245, 255, 0.15);
  box-shadow: 0 0 30px rgba(0,0,0,0.8), 0 1px 0 rgba(0,245,255,0.25), inset 0 -1px 0 rgba(0,245,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-cyan) 20%, var(--neon-purple) 50%, var(--neon-cyan) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: borderScan 4s linear infinite;
}

.brand { color: #f1f5ff; text-shadow: 0 0 12px rgba(56, 189, 248, 0.4); }
.brand small { color: #98acca; }
.brand-logo { 
  width: 57px; 
  height: 59px; 
  object-fit: contain; 
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.8));
}

.stat-icon { width: 24px; height: 24px; color: var(--neon-cyan); margin-bottom: 8px; display: block; stroke-width: 1.75; filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5)); transition: transform 0.3s ease; }
.stat:hover .stat-icon { transform: scale(1.15) translateY(-2px); filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.8)); }
.card-icon { width: 28px; height: 28px; color: var(--neon-cyan); float: right; stroke-width: 1.75; filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4)); transition: transform 0.3s ease; }
.card:hover .card-icon { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.8)); }
.card:nth-child(2) .card-icon { color: var(--neon-purple); filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4)); }
.card:nth-child(2):hover .card-icon { filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.8)); }
.btn-icon { width: 16px; height: 16px; margin-left: 8px; vertical-align: -2px; display: inline-block; stroke-width: 2; }
.btn-icon-left { width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px; display: inline-block; stroke-width: 2; }
.nav-links { color: #c0cde4; }
.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--neon-cyan);
}
.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}
.nav-links .nav-cta { 
  background: linear-gradient(135deg, #1d4ed8, #4f46e5); 
  border: 1px solid rgba(99, 102, 241, 0.6); 
  color: #fff;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}
.nav-links .nav-cta:hover { 
  background: linear-gradient(135deg, #2563eb, #6366f1);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.7);
  transform: translateY(-2px);
}

.hero {
  --ink: #f1f5ff; --muted: #b2c0dc; --line: #2b3a60; --cyan: #49dfff; --lime: #49dfff;
  background: 
    radial-gradient(ellipse at 85% 20%, rgba(24, 76, 192, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(147, 51, 234, 0.18) 0%, transparent 45%),
    #030712;
  padding-top: 50px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 50px; padding-bottom: 36px; align-items: end; }
.hero h1 { 
  font-size: clamp(3.2rem, 5.2vw, 4.8rem); 
  line-height: 0.98; 
  letter-spacing: -0.04em; 
  font-weight: 900; 
  margin-bottom: 22px; 
}
.hero h1 span { 
  display: block;
  background: linear-gradient(120deg, #00f0ff 0%, #a855f7 50%, #ff2e93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.45));
}
.theme { 
  color: #d5b2ff; 
  text-shadow: 0 0 10px rgba(213, 178, 255, 0.4);
  letter-spacing: 0.15em;
}
.tag { 
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 8px 18px;
  color: #00f5ff; 
  background: rgba(0, 245, 255, 0.05); 
  border: 1px solid rgba(0, 245, 255, 0.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.25), inset 0 0 12px rgba(0, 245, 255, 0.08);
  letter-spacing: 0.14em;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.6);
  position: relative;
}
.tag::after {
  content: "";
  position: absolute;
  top: -1px; right: 8px;
  width: 6px; height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
}
.tag::before { 
  width: 16px; 
  height: 11px; 
  border-radius: 1px; 
  background: linear-gradient(#ed2e43 50%, #fff 50%); 
  vertical-align: -1px; 
}
.hero-organizers { border-color: #7749c7; }

.hero .button { 
  background: linear-gradient(135deg, #00f0ff, #0099ff); 
  border: none;
  color: #030712; 
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transition: all 0.3s ease;
}
.hero .button:hover { 
  background: linear-gradient(135deg, #70f4ff, #38bdf8); 
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
  transform: translateY(-2px);
}
.hero .button.secondary { 
  background: rgba(11, 22, 53, 0.7); 
  color: #e4eaff; 
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.hero .button.secondary:hover { 
  background: rgba(22, 41, 74, 0.9); 
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.hero-visual { margin: 0; min-width: 0; position: relative; }
.hero-emblem { 
  display: block; 
  width: min(100%, 535px); 
  height: auto; 
  margin: 0 auto; 
  filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.35)) drop-shadow(0 12px 32px rgba(18, 55, 167, 0.4)); 
  animation: floatEmblem 6s ease-in-out infinite alternate;
}

@keyframes floatEmblem {
  0% { transform: translateY(0px); filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.3)); }
  100% { transform: translateY(-12px); filter: drop-shadow(0 0 45px rgba(168, 85, 247, 0.5)); }
}

.stat strong { color: #f0f4ff; }
.stat span { color: #a6b7d5; }

#about, #rules, #contact, #scope { background: #050b1a; }
#about .section-heading { max-width: 100%; }
#about .section-heading h2 {
  white-space: nowrap;
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
}
.event-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}
.event-item {
  min-height: 80px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-content: center;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(240, 171, 252, 0.42);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px rgba(217, 70, 239, 0.08);
  position: relative;
  transform-origin: center center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  will-change: transform;
}
.event-item:hover {
  transform: translateY(-4px) scale(1.03);
  z-index: 10;
  background: rgba(15, 23, 42, 0.95);
}
.event-cyan { border-color: rgba(34, 211, 238, 0.44); }
.event-cyan:hover {
  border-color: rgba(103, 232, 249, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 26px rgba(34, 211, 238, 0.28);
}
.event-fuchsia { border-color: rgba(240, 171, 252, 0.44); }
.event-fuchsia:hover {
  border-color: rgba(240, 171, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 26px rgba(240, 171, 252, 0.28);
}
.event-lime { border-color: rgba(190, 242, 100, 0.44); }
.event-lime:hover {
  border-color: rgba(190, 242, 100, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 26px rgba(163, 255, 18, 0.24);
}
.event-amber { border-color: rgba(251, 191, 36, 0.44); }
.event-amber:hover {
  border-color: rgba(251, 191, 36, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 26px rgba(251, 191, 36, 0.24);
}
.event-item i {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: center;
  font-size: 1.8rem;
}
.event-cyan i { color: #38bdf8; text-shadow: 0 0 18px rgba(34, 211, 238, 0.42); }
.event-fuchsia i { color: #f0abfc; text-shadow: 0 0 18px rgba(240, 171, 252, 0.42); }
.event-lime i { color: #bef264; text-shadow: 0 0 18px rgba(163, 255, 18, 0.36); }
.event-amber i { color: #fbbf24; text-shadow: 0 0 18px rgba(251, 191, 36, 0.36); }
.event-item b {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
}
.event-item span {
  grid-column: 2;
  grid-row: 2;
  color: #94a3b8;
  font-size: 0.7rem;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .event-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .event-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    gap: 6px;
    min-height: 100px;
    padding: 12px;
    text-align: center;
  }
  .event-item i {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.8rem;
  }
  .event-item b { grid-column: 1; grid-row: 2; font-size: 0.78rem; }
  .event-item span { grid-column: 1; grid-row: 3; font-size: 0.68rem; }
}
section.section { border-bottom-color: rgba(30, 46, 74, 0.6); position: relative; }
.section-heading > .eyebrow::before { background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }
.eyebrow {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5), 0 0 20px rgba(0, 245, 255, 0.2);
  letter-spacing: 0.22em;
  font-weight: 700;
}
.eyebrow::after {
  content: " _";
  color: var(--neon-cyan);
  animation: terminalBlink 1s infinite;
}

/* Futuristic Card Styling */
.card { 
  background: linear-gradient(135deg, rgba(8, 15, 30, 0.85), rgba(4, 9, 20, 0.95)); 
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 245, 255, 0.2); 
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 245, 255, 0.05); 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover { 
  border-color: rgba(0, 245, 255, 0.7); 
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 245, 255, 0.2), inset 0 0 15px rgba(0, 245, 255, 0.1); 
  transform: translateY(-4px) scale(1.01);
}
.card:hover::after {
  opacity: 1;
}

.card .number { 
  font-family: var(--font-mono); 
  color: #00f5ff; 
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.6); 
  letter-spacing: 0.1em; 
}
.card li::marker { color: #5bd3ed; }
#challenges .card::before { background: var(--neon-cyan); box-shadow: 0 0 12px var(--neon-cyan); }
#challenges .card:nth-child(2)::before { background: var(--neon-purple); box-shadow: 0 0 12px var(--neon-purple); }
#challenges .card:nth-child(2) .number { color: #c99aff; text-shadow: 0 0 8px rgba(201, 154, 255, 0.4); }

.text-link { color: #6edff9; font-weight: 600; transition: all 0.2s ease; }
.text-link:hover { color: #c99aff; text-shadow: 0 0 10px rgba(201, 154, 255, 0.6); }

.note { 
  color: #b1c1db; 
  background: rgba(16, 31, 58, 0.6); 
  backdrop-filter: blur(8px);
  border: 1px solid rgba(43, 63, 98, 0.7); 
  border-left: 3px solid #49cce9; 
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 0 10px 10px 0;
}


.menu-toggle:focus-visible { outline-color: #7fe7ff; }

.score { border-color: rgba(41, 59, 90, 0.7); }
.score b { color: #6fdffb; text-shadow: 0 0 10px rgba(111, 223, 251, 0.4); }

.registration { 
  background: 
    radial-gradient(ellipse at top right, rgba(168, 85, 247, 0.25), transparent 70%),
    radial-gradient(ellipse at bottom left, rgba(56, 189, 248, 0.15), transparent 70%),
    rgba(16, 35, 74, 0.85); 
  backdrop-filter: blur(16px);
  border: 1px solid rgba(61, 77, 128, 0.8); 
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.registration p { color: #b9c8e4; }
.registration-form label {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.registration-form input,
.registration-form select {
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(0, 245, 255, 0.3);
  color: #fff;
  font-family: var(--font-mono);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}
.registration-form input:focus,
.registration-form select:focus {
  border-color: var(--neon-cyan);
  outline: none;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.5), inset 0 0 10px rgba(0, 245, 255, 0.2);
}
.registration .status { 
  background: rgba(16, 44, 76, 0.8); 
  color: #97e2fc; 
  border: 1px solid rgba(59, 110, 153, 0.6); 
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.button { 
  background: linear-gradient(135deg, #1d4ed8, #3b82f6); 
  border: 1px solid rgba(96, 165, 250, 0.5); 
  color: #fff;
  transition: all 0.3s ease;
}
.button:hover { 
  background: linear-gradient(135deg, #2563eb, #60a5fa); 
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
}
.button.secondary { color: #d5e4fc; border-color: rgba(73, 97, 138, 0.8); }
.button.secondary:hover { background: rgba(23, 44, 81, 0.8); border-color: rgba(131, 188, 249, 0.8); color: #fff; transform: translateY(-2px); }

.registration .button { 
  background: linear-gradient(135deg, #00f0ff, #38bdf8); 
  border: none; 
  color: #030712;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}
.registration .button.secondary { background: transparent; color: #e2eaff; border-color: #6276a0; }
.registration .button:hover { 
  background: linear-gradient(135deg, #70f4ff, #60a5fa); 
  color: #030712; 
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

footer { 
  background: #020510; 
  border-top: 1px solid rgba(36, 52, 89, 0.8); 
  color: #eaf2ff; 
}
footer strong { color: #eef4ff; }
.footer-grid { display: grid; grid-template-columns: 30% 40% 30%; gap: 0; }
.footer-logo { width: 86px; height: 90px; object-fit: contain; float: left; margin-right: 20px; filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4)); }
.footer-grid p { color: #a4b5d3; font-size: .75rem; }
.footer-operator { white-space: nowrap; }
.footer-links { color: #becdeb; grid-column: 3; }
.copyright { color: #94a6c7; border-color: rgba(36, 52, 84, 0.8); }

.sponsor-banner { 
  margin-bottom: 38px; 
  padding: 28px; 
  border: 1px solid rgba(48, 69, 107, 0.8); 
  border-radius: 16px; 
  background: linear-gradient(135deg, rgba(16, 35, 68, 0.7), rgba(21, 22, 48, 0.7)); 
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.sponsor-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.sponsor-heading .eyebrow { margin-bottom: 9px; }
.sponsor-heading h2 { font-size: 1.5rem; margin: 0; color: #eef4ff; }
.sponsor-heading .text-link { margin: 0; white-space: nowrap; }
.sponsor-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.sponsor-slot { 
  min-height: 108px; 
  padding: 16px 12px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 6px; 
  border: 1px solid rgba(56, 189, 248, 0.25); 
  border-radius: 12px; 
  background: linear-gradient(145deg, rgba(13, 27, 60, 0.7), rgba(8, 15, 37, 0.85)); 
  backdrop-filter: blur(8px);
  text-align: center; 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.sponsor-slot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sponsor-slot:hover {
  border-color: rgba(0, 240, 255, 0.7);
  background: linear-gradient(145deg, rgba(18, 38, 84, 0.85), rgba(12, 22, 54, 0.95));
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2), inset 0 0 15px rgba(0, 240, 255, 0.08);
  transform: translateY(-3px);
}
.sponsor-slot:hover::before {
  opacity: 1;
}
.sponsor-slot .sponsor-icon {
  width: 32px;
  height: 32px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
  margin-bottom: 2px;
  transition: transform 0.3s ease;
}
.sponsor-slot:hover .sponsor-icon {
  transform: scale(1.12);
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.8));
}
.sponsor-slot strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #f1f5ff;
}
.sponsor-slot span { color: #b1c0dc; font-size: .75rem; font-weight: 600; letter-spacing: .06em; }



.sponsor-slot:nth-child(1) .sponsor-icon { color: #c084fc; filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.7)); }
.sponsor-slot:nth-child(1) { border-color: rgba(192, 132, 252, 0.4); }
.sponsor-slot:nth-child(1):hover { border-color: rgba(192, 132, 252, 0.9); box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3); }


.sponsor-slot:nth-child(2) .sponsor-icon,
.sponsor-slot:nth-child(3) .sponsor-icon { color: #fbbf24; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.7)); }
.sponsor-slot:nth-child(2),
.sponsor-slot:nth-child(3) { border-color: rgba(251, 191, 36, 0.3); }
.sponsor-slot:nth-child(2):hover,
.sponsor-slot:nth-child(3):hover { border-color: rgba(251, 191, 36, 0.8); box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25); }


.sponsor-slot:nth-child(4) .sponsor-icon,
.sponsor-slot:nth-child(5) .sponsor-icon { color: #94a3b8; filter: drop-shadow(0 0 8px rgba(148, 163, 184, 0.5)); }

.sponsor-slot:nth-child(6) .sponsor-icon { color: #34d399; filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.6)); }
.sponsor-slot:nth-child(6) { border-color: rgba(52, 211, 153, 0.3); }
.sponsor-slot:nth-child(6):hover { border-color: rgba(52, 211, 153, 0.8); box-shadow: 0 8px 25px rgba(52, 211, 153, 0.2); }
.sponsor-caption { margin: 16px 0 0; color: #a0b2d1; font-size: .74rem; }

/* === JURY PANELS === */
.jury-section { background: #020510; }
.jury-panel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.jury-panel {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(8, 15, 30, 0.95), rgba(2, 6, 18, 0.98));
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.jury-panel:hover { transform: translateY(-7px); }
.jury-panel i { font-size: 2.5rem; margin-bottom: 18px; }
.jury-panel h3 { margin: 0 0 4px; font-size: 1.2rem; }
.jury-panel span { color: #8094af; font-size: .76rem; font-family: var(--font-mono); }
.jury-cyan { border-color: rgba(0, 245, 255, .3); }
.jury-cyan i { color: #00f5ff; filter: drop-shadow(0 0 12px rgba(0,245,255,.65)); }
.jury-cyan:hover { border-color: #00f5ff; box-shadow: 0 0 28px rgba(0,245,255,.2); }
.jury-fuchsia { border-color: rgba(240,171,252,.3); }
.jury-fuchsia i { color: #f0abfc; filter: drop-shadow(0 0 12px rgba(240,171,252,.65)); }
.jury-fuchsia:hover { border-color: #f0abfc; box-shadow: 0 0 28px rgba(240,171,252,.2); }
.jury-lime { border-color: rgba(190,242,100,.3); }
.jury-lime i { color: #bef264; filter: drop-shadow(0 0 12px rgba(190,242,100,.65)); }
.jury-lime:hover { border-color: #bef264; box-shadow: 0 0 28px rgba(190,242,100,.2); }
.jury-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 28px;
  margin-top: 42px;
}
.jury-brief {
  padding: 28px;
  border: 1px solid rgba(0,245,255,.28);
  border-radius: 9px;
  background: rgba(1,4,9,.75);
}
.jury-brief h3 { margin: 8px 0 13px; }
.jury-brief p { margin-bottom: 25px; }
.jury-speakers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.jury-speaker {
  padding: 15px;
  border: 1px solid rgba(0,245,255,.25);
  border-radius: 9px;
  background: rgba(8,15,30,.85);
  text-align: center;
}
.jury-speaker > div {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,245,255,.25);
  border-radius: 7px;
  background: radial-gradient(circle, rgba(0,245,255,.12), transparent 65%), #020510;
}
.jury-speaker i { font-size: 3.2rem; color: var(--neon-cyan); filter: drop-shadow(0 0 16px rgba(0,245,255,.65)); }
.jury-speaker img.speaker-photo { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(0,245,255,.55); box-shadow: 0 0 24px rgba(0,245,255,.25); }
.jury-speaker > div span { color: var(--neon-cyan); font: 700 .7rem var(--font-mono); letter-spacing: .12em; }
.jury-speaker > div span.status-pending { color: #fbbf24; }
.jury-speaker small { display: block; margin-bottom: 7px; color: #62728c; font-size: .64rem; text-transform: uppercase; }
.jury-speaker h4 { margin: 0; color: #e8f4ff; font-size: .92rem; line-height: 1.45; }
@media (max-width: 900px) {
  .jury-panel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .jury-panel:last-child { grid-column: 1 / -1; }
  .jury-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .jury-panel-grid { grid-template-columns: 1fr; }
  .jury-panel:last-child { grid-column: auto; }
  .jury-speakers { grid-template-columns: 1fr; }
  .jury-speaker > div { min-height: 160px; }
}

/* === PRIZES === */
.prizes-section { background: #020510; border-color: rgba(38,55,88,.6); }
.prizes-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.05fr); gap: 48px; align-items: start; }
.prizes-intro { position: sticky; top: 110px; text-align: center; }
.prizes-intro h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; }
.prizes-intro h2 span { color: #bef264; text-shadow: 0 0 16px rgba(190,242,100,.45); }
.prize-icon-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 28px 0; }
.prize-perk { display: grid; place-items: center; min-height: 88px; padding: 12px; border: 1px solid rgba(0,245,255,.22); border-radius: 9px; background: rgba(8,15,30,.75); text-align: center; transition: transform .18s, border-color .18s, box-shadow .18s, background .18s; }
.prize-perk:hover { transform: translateY(-6px); border-color: rgba(190,242,100,.65); background: rgba(15,23,42,.9); box-shadow: 0 0 24px rgba(190,242,100,.16); }
.prize-perk i { margin-bottom: 8px; font-size: 1.7rem; color: var(--neon-cyan); transition: transform .18s, text-shadow .18s; }
.prize-perk:hover i { transform: scale(1.15); text-shadow: 0 0 18px currentColor; }
.prize-perk span { color: #e2e8f0; font-size: .74rem; font-weight: 750; }
.prize-detail-action { display: flex; justify-content: center; margin-top: 12px; }
.prizes-cards { display: grid; gap: 16px; }
.prize-card { position: relative; overflow: hidden; border-radius: 9px; padding: 24px; transition: transform .18s, border-color .18s, box-shadow .18s, background .18s; }
.prize-card:hover { transform: translateY(-6px); }
.prize-first { background: linear-gradient(135deg, #38bdf8 0%, #bef264 50%, #f0abfc 100%); color: #020617; display: flex; align-items: center; justify-content: center; gap: 28px; text-align: left; }
.prize-first i { font-size: 3.8rem; }
.prize-first strong { display: block; font-size: 1.6rem; }
.prize-first span { display: block; font-size: 1rem; font-weight: 600; }
.prize-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prize-trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.prize-second, .prize-third, .prize-harapan { display: grid; place-items: center; text-align: center; background: rgba(8,15,30,.85); border: 1px solid rgba(0,245,255,.22); color: #e8f4ff; }
.prize-second i { font-size: 3rem; color: #38bdf8; margin-bottom: 10px; }
.prize-third i { font-size: 3rem; color: #f0abfc; margin-bottom: 10px; }
.prize-harapan i { font-size: 3rem; color: #bef264; margin-bottom: 10px; }
.prize-second strong, .prize-third strong, .prize-harapan strong { font-size: 1.3rem; }
.prize-second span { font-size: 1rem; color: #38bdf8; }
.prize-third span { font-size: 1rem; color: #f0abfc; }
.prize-harapan span { font-size: 1rem; color: #bef264; }
.prize-disclaimer { margin: 10px 0 0; font-size: .78rem; color: #93a4c4; }
.special-prize-panel { padding: 22px; border: 1px solid rgba(190,242,100,.28); border-radius: 9px; background: rgba(8,15,30,.85); text-align: center; }
.special-prize-panel > span { color: #bef264; font: 700 .8rem var(--font-mono); }
.special-prize-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.special-prize-item { padding: 14px 10px; border: 1px solid rgba(0,245,255,.22); border-radius: 7px; background: rgba(2,6,23,.35); transition: transform .18s, border-color .18s, box-shadow .18s; }
.special-prize-item:hover { transform: translateY(-4px); border-color: rgba(0,245,255,.65); }
.special-prize-item i { display: block; font-size: 1.8rem; color: var(--neon-cyan); margin-bottom: 8px; }
.special-prize-item span { font-size: .72rem; color: #cbd5e1; }
@media (max-width: 850px) {
  .prizes-layout { grid-template-columns: 1fr; }
  .prizes-intro { position: static; text-align: left; }
}
@media (max-width: 560px) {
  .prize-icon-row { grid-template-columns: repeat(2,1fr); }
  .prize-duo, .prize-trio { grid-template-columns: 1fr; }
  .special-prize-grid { grid-template-columns: 1fr; }
}

/* Sponsor area */

@media(max-width: 1000px) { .sponsor-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media(max-width: 560px) {
  .sponsor-banner { padding: 21px 17px; }
  .sponsor-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .sponsor-heading h2 { font-size: 1.3rem; }
  .sponsor-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sponsor-slot { min-height: 92px; padding: 12px; }
}
@media(max-width: 850px) {
  .footer-grid { grid-template-columns: 1fr; gap: 15px; }
  .footer-links { grid-column: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-visual { max-width: 550px; width: 100%; margin: 0 auto; }
  .js .menu-toggle { background: #111e39; border-color: #364c72; color: #dde9fc; }
  .js .nav-links.is-open { border-top-color: #30425f; }
}
@media(max-width: 560px) {
  .nav { min-height: 78px; }
  .brand-logo { width: 46px; height: 48px; }
  .hero { padding-top: 35px; }
  .hero-emblem { width: 100%; }
  .footer-logo { width: 64px; height: 68px; margin-right: 13px; }
}


/* Timeline cards based on the reference landing page. */
#timeline .timeline-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; counter-reset:timeline; padding:0; margin:0; list-style:none; }
#timeline .timeline-card { position:relative; display:flex; flex-direction:column; gap:16px; padding:28px 24px; min-width:0; height:100%; background:rgba(24,24,27,.85); border:1px solid rgba(148,163,184,.22); border-radius:16px; counter-increment:timeline; }
#timeline .timeline-card::before { content:counter(timeline,decimal-leading-zero); position:absolute; right:18px; top:16px; color:rgba(148,163,184,.2); font-family:"Space Grotesk",sans-serif; font-size:2.8rem; font-weight:900; line-height:1; pointer-events:none; }
#timeline .timeline-card .date { display:block; padding-right:48px; color:#67e8f9; font-weight:900; text-transform:uppercase; line-height:1.5; }
#timeline .timeline-card h3 { margin:0; font-family:"Space Grotesk",sans-serif; font-size:1.35rem; line-height:1.25; }
#timeline .timeline-card p { margin:0; color:#94a3b8; line-height:1.65; }
@media(max-width:1024px) { #timeline .timeline-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { #timeline .timeline-grid { grid-template-columns:1fr; } }

/* Registration form and example participant list. */
.registration-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:24px; align-items:start; }
.registration-layout > * { min-width:0; }
.registered-teams { padding:30px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(145deg,#0d1a2a,#080f1e); }
.registered-teams h3 { margin:12px 0; }
.registered-teams > p { font-size:.85rem; }
.registered-team-list { list-style:none; padding:0; margin:24px 0 0; }
.registered-team-list li { display:flex; gap:12px; align-items:center; padding:16px 0; border-top:1px solid var(--line); }
.registered-team-list strong { flex:1; overflow-wrap:anywhere; font-size:.9rem; }
@media(max-width:850px) { .registration-layout { grid-template-columns:1fr; } .registered-teams { padding:24px; } }

.registered-teams { display:flex; flex-direction:column; height:var(--registration-height,620px); overflow:hidden; }
.registered-teams-heading { flex:none; padding-bottom:18px; }
.registered-teams-heading p { font-size:.85rem; margin-bottom:12px; }
.team-scroll-window { flex:1; min-height:0; overflow:auto; }
.team-scroll-window .registered-team-list { margin:0; }
.team-city { color:var(--cyan); font-size:.78rem; text-align:right; }
.teams-animated .team-scroll-window { overflow:hidden; }
.teams-animated .registered-team-list { animation:teams-scroll 65s linear infinite; }
@keyframes teams-scroll { to { transform:translateY(-50%); } }
@media(max-width:850px) { .registered-teams { height:480px; } }
@media(prefers-reduced-motion:reduce) { .teams-animated .registered-team-list { animation:none; } .teams-animated .team-scroll-window { overflow:auto; } .registered-team-list > [aria-hidden="true"] { display:none; } }

.hero-sub-box > .tag { align-self:center; margin:0; text-align:center; }

/* Partner contact cards */
.partner-contacts { margin: 26px 0 30px; }
.partner-contact { text-align: center; background: rgba(2,6,23,.5); border-color: rgba(0,245,255,.25); transition: transform .18s, border-color .18s, box-shadow .18s; }
.partner-contact:hover { transform: translateY(-6px); border-color: rgba(0,245,255,.6); box-shadow: 0 0 28px rgba(0,245,255,.14); }
.contact-avatar { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#38bdf8,#bef264); color: #04121a; font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; }
.partner-contact .number { margin-bottom: 14px; }
.partner-contact h3 { margin: 0 0 8px; font-size: 1.25rem; color: #f3f4f8; }
.registration .button.wa-button { background: #22c55e; border-color: #22c55e; color: #04120a; gap: 10px; margin-top: 20px; }
.registration .button.wa-button:hover { background: #4ade80; border-color: #4ade80; color: #04120a; }
.wa-button svg { width: 20px; height: 20px; flex: none; }

/* Loading date indicator */
.loading-date { white-space: nowrap; }
.loading-date .dots::after { content: ''; animation: loading-dots 1.5s steps(1) infinite; }
@keyframes loading-dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%, 100% { content: '...'; } }
@media (prefers-reduced-motion: reduce) { .loading-date .dots::after { animation: none; content: '...'; } }

/* === CMS dinamis: logo sponsor & daftar tim === */
.sponsor-slot.has-logo img { max-width: 100%; max-height: 54px; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px; }
.sponsor-slot.has-logo a { display: contents; }
.sponsor-slot.has-logo small { color: #dbe6ff; font-weight: 600; }
.registered-team-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; }
.registered-team-list li { border: 1px solid rgba(56, 189, 248, .25); border-radius: 8px; padding: 9px 12px; font-size: .82rem; color: #e8f0ff; background: rgba(13, 27, 60, .6); }
