:root {
  --bg: #050815;
  --bg-alt: #0a1020;
  --panel: rgba(10, 16, 32, 0.72);
  --panel-strong: rgba(13, 20, 38, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(123, 247, 218, 0.14);
  --border-strong: rgba(123, 247, 218, 0.24);
  --text: #eef5ff;
  --muted: rgba(238, 245, 255, 0.72);
  --muted-2: rgba(238, 245, 255, 0.48);
  --primary: #7bf7da;
  --primary-2: #39d0ff;
  --accent: #f4b84b;
  --danger: #ff7b7b;
  --shadow-s: 0 8px 20px rgba(0, 0, 0, 0.28);
  --shadow-m: 0 16px 40px rgba(0, 0, 0, 0.38);
  --shadow-l: 0 30px 70px rgba(0, 0, 0, 0.5);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --nav-h: 74px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(57, 208, 255, 0.12), transparent 55%),
    radial-gradient(900px 700px at 80% 20%, rgba(123, 247, 218, 0.1), transparent 45%),
    radial-gradient(700px 600px at 50% 85%, rgba(244, 184, 75, 0.08), transparent 42%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, black 28%, transparent 100%);
  opacity: 0.35;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  inset: auto -8% -10% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 247, 218, 0.14), transparent 62%);
  pointer-events: none;
  filter: blur(18px);
  z-index: -1;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

::selection { background: rgba(123, 247, 218, 0.24); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(5, 8, 21, 0.98), rgba(5, 8, 21, 1));
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  min-width: min(92vw, 360px);
  text-align: center;
}

.loader-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
}

.loader-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(123, 247, 218, 0.2), 0 0 30px rgba(57, 208, 255, 0.2);
}

.loader-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.loader-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  animation: loadBar 1.4s var(--ease) forwards;
}

.loader p { color: var(--muted-2); font-size: 0.92rem; }

@keyframes loadBar {
  0% { width: 0%; }
  70% { width: 82%; }
  100% { width: 100%; }
}

/* Scroll progress */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

/* Navbar */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#navbar.scrolled {
  background: rgba(7, 11, 24, 0.82);
  border-bottom-color: rgba(123, 247, 218, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(160%);
}

.nav-container {
  max-width: 1240px;
  height: var(--nav-h);
  margin: 0 auto;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(123, 247, 218, 0.2);
}

.nav-links {
  display: none;
  margin-left: auto;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions { display: none; margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #05111e;
  box-shadow: 0 10px 24px rgba(57, 208, 255, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 30px rgba(57, 208, 255, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.hamburger {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), width 0.25s var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline: 20px;
  background: rgba(7, 11, 24, 0.96);
  border-top: 1px solid rgba(123, 247, 218, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease), padding 0.35s var(--ease);
}

.mobile-menu.open {
  max-height: 360px;
  padding: 14px 20px 20px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.mobile-link:hover { color: var(--text); border-color: rgba(123, 247, 218, 0.12); }
.mobile-cta { margin-top: 8px; }

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 36px) 0 80px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 72% at 50% 35%, black 25%, transparent 100%);
  opacity: 0.24;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.85;
}

.hero-glow-1 {
  width: 460px;
  height: 460px;
  left: -120px;
  top: -80px;
  background: radial-gradient(circle, rgba(57, 208, 255, 0.2), transparent 68%);
}

.hero-glow-2 {
  width: 520px;
  height: 520px;
  right: -150px;
  top: 120px;
  background: radial-gradient(circle, rgba(123, 247, 218, 0.16), transparent 68%);
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(123, 247, 218, 0.14);
}

.hero-orbit-1 {
  width: 360px;
  height: 360px;
  left: 12%;
  top: 18%;
  animation: drift 20s linear infinite;
}

.hero-orbit-2 {
  width: 540px;
  height: 300px;
  right: -6%;
  top: 16%;
  border-radius: 50% / 44%;
  animation: driftReverse 26s linear infinite;
}

.hero-layout {
  position: relative;
  display: grid;
  gap: 26px;
}

.hero-copy,
.hero-visual { position: relative; z-index: 1; }

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(123, 247, 218, 0.12);
  color: var(--muted);
  font-size: 0.84rem;
}

.intro{
  color: var(--primary-2);
  font-weight: bold;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badges span,
.tag-row span,
.sponsor-chip,
.placeholder-box,
.agenda-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(123, 247, 218, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.hero-badges span {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.84rem;
}

.hero h1 {
  font-size: clamp(3rem, 7.8vw, 6.3rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 28px rgba(57, 208, 255, 0.16);
}

.hero-subtitle {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-hero { min-width: 190px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.stat-card {
  padding: 18px 16px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(123, 247, 218, 0.12);
  box-shadow: var(--shadow-s);
}

.stat-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card span { color: var(--muted-2); font-size: 0.9rem; }

.hero-visual {
  display: grid;
  gap: 16px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.86), rgba(10, 16, 32, 0.92));
  border: 1px solid rgba(123, 247, 218, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-m);
  backdrop-filter: blur(14px);
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57, 208, 255, 0.08), transparent 42%, rgba(123, 247, 218, 0.06));
  pointer-events: none;
}

.visual-topline {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(123, 247, 218, 0.65);
  animation: pulse 2s infinite;
}

.robot-orbit {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.82;
  min-height: 240px;
  margin: 8px 0 18px;
}

.robot-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(123, 247, 218, 0.16), rgba(57, 208, 255, 0.03) 58%, transparent 60%);
  border: 1px solid rgba(123, 247, 218, 0.22);
  box-shadow: 0 0 0 12px rgba(123, 247, 218, 0.03), 0 0 40px rgba(57, 208, 255, 0.18);
}

.robot-core::before {
  content: '';
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 18px rgba(244, 184, 75, 0.2);
}

.robot-core::after {
  content: '';
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  opacity: 0.95;
}

.orbit-line {
  position: absolute;
  inset: 12% 9%;
  border-radius: 50% / 44%;
  border: 1px solid rgba(123, 247, 218, 0.18);
  transform-origin: center;
}

.orbit-line-a { animation: rotateSlow 18s linear infinite; }
.orbit-line-b {
  inset: 18% 20%;
  transform: rotate(58deg);
  animation: rotateSlowReverse 22s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 6px rgba(123, 247, 218, 0.06), 0 0 18px rgba(57, 208, 255, 0.25);
}

.node-a { left: 17%; top: 24%; }
.node-b { right: 15%; top: 30%; }
.node-c { left: 50%; bottom: 16%; transform: translateX(-50%); }

.visual-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.visual-metrics li {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 247, 218, 0.1);
}

.visual-metrics span,
.mini-label,
.workshop-index,
.section-badge,
.workshop-level {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.visual-metrics span {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}

.visual-metrics strong {
  font-size: 0.96rem;
  color: var(--text);
  font-weight: 600;
}

.visual-card-side h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.visual-card-side p {
  color: var(--muted);
  margin-bottom: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.8rem;
}

/* Sections */
.section { padding: 92px 0; position: relative; }
.section-alt { background: rgba(255, 255, 255, 0.015); }

.section-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 14px;
}

.section-header p,
.split-copy p,
.content-card p,
.feature-card p,
.goal-card p,
.participant-copy p,
.workshop-card p,
.competition-copy p,
.contact-card p,
.placeholder-panel p,
.sponsor-panel p,
.faq-answer p,
.footer p {
  color: var(--muted);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 14px;
  color: var(--primary);
  border-radius: 999px;
  background: rgba(123, 247, 218, 0.08);
  border: 1px solid rgba(123, 247, 218, 0.16);
}

/* About */
.about-grid,
.split-layout,
.participant-layout,
.competition-layout,
.contact-grid {
  display: grid;
  gap: 20px;
}

.content-card,
.feature-card,
.participant-card,
.competition-card,
.contact-card,
.placeholder-panel,
.sponsor-panel,
.sumo-panel,
.workshop-card,
.goal-card,
.faq-item {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  backdrop-filter: blur(14px);
}

.content-card,
.contact-card,
.participant-card,
.competition-card,
.placeholder-panel,
.sponsor-panel,
.sumo-panel {
  padding: 24px;
}

.content-card h3,
.participant-card h3,
.competition-copy h2,
.contact-card h2,
.sumo-panel h2,
.split-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.content-card p + p { margin-top: 14px; }

.feature-grid,
.goal-grid,
.workshop-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 22px;
}

.feature-card h3,
.goal-card h3,
.workshop-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(123, 247, 218, 0.06);
  border: 1px solid rgba(123, 247, 218, 0.12);
  color: var(--primary);
}

.feature-icon svg { width: 32px; height: 32px; }

/* Sumo panel */
.split-layout {
  align-items: center;
}

.split-copy p + p { margin-top: 14px; }

.arena-visual {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
}

.arena-ring,
.arena-core,
.arena-robot,
.arena-edge {
  position: absolute;
}

.arena-ring {
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(123, 247, 218, 0.24);
  background:
    radial-gradient(circle at center, rgba(57, 208, 255, 0.08), transparent 55%),
    radial-gradient(circle at center, transparent 55%, rgba(244, 184, 75, 0.06) 56%, transparent 58%);
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.02), 0 0 28px rgba(57, 208, 255, 0.08);
}

.arena-core {
  inset: 17%;
  border-radius: 50%;
  border: 1px dashed rgba(123, 247, 218, 0.18);
}

.arena-robot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 8px rgba(123, 247, 218, 0.06), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.robot-left { left: 19%; top: 24%; }
.robot-right { right: 20%; bottom: 24%; }

.arena-edge {
  left: 50%;
  width: 46%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(244, 184, 75, 0.9), transparent);
}

.edge-top { top: 9%; }
.edge-bottom { bottom: 9%; }

.rules-list {
  display: grid;
  gap: 10px;
}

.rules-list li {
  padding: 14px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 247, 218, 0.1);
  color: var(--muted);
}

/* Goals */
.goal-card {
  padding: 22px;
}

.goal-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* Participants */
.participant-card ul { display: grid; gap: 10px; }
.check-list li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(123, 247, 218, 0.08);
}

.tag-row-inline { margin-top: 18px; }

/* Workshops */
.agenda-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.agenda-strip span {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

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

.workshop-card {
  padding: 22px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.workshop-card:hover,
.feature-card:hover,
.goal-card:hover,
.competition-card:hover,
.contact-card:hover,
.placeholder-panel:hover,
.sponsor-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 247, 218, 0.22);
  box-shadow: var(--shadow-m);
}

.workshop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.workshop-index {
  color: var(--primary);
}

.workshop-level {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.level-basic { color: #9ef0ff; background: rgba(57, 208, 255, 0.08); border-color: rgba(57, 208, 255, 0.16); }
.level-mid { color: #f4d07e; background: rgba(244, 184, 75, 0.1); border-color: rgba(244, 184, 75, 0.16); }
.level-final { color: #b7f5aa; background: rgba(123, 247, 218, 0.08); border-color: rgba(123, 247, 218, 0.16); }

.detail-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.detail-list li {
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 247, 218, 0.1);
  color: var(--muted);
}

.workshop-final {
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.95), rgba(10, 16, 32, 0.96));
  border-color: rgba(244, 184, 75, 0.18);
}

/* Competition */
.competition-stack {
  display: grid;
  gap: 16px;
}

.competition-card {
  padding: 20px;
}

.mini-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
}

/* FAQ */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  text-align: left;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.faq-question span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(123, 247, 218, 0.08);
  border: 1px solid rgba(123, 247, 218, 0.16);
  color: var(--primary);
  transition: transform 0.2s var(--ease);
}

.faq-item.is-open .faq-question span { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), padding 0.35s var(--ease);
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  opacity: 1;
  padding: 0 22px 20px;
}

/* Contact */
.contact-grid {
  align-items: stretch;
}

.hero-actions-left { 
  justify-content: flex-start;
  margin-top: 1rem;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 247, 218, 0.1);
  color: var(--muted);
}

.contact-side {
  display: grid;
  gap: 16px;
  align-content: stretch;
}

.sponsor-panel h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.sponsor-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.sponsor-chip {
  min-height: 122px;
  padding: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.sponsor-link {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.sponsor-link img {
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05) contrast(1.08);
  opacity: 0.78;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.sponsor-link:hover img,
.sponsor-link:focus-visible img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.03);
}

.sponsor-link:focus-visible {
  border-color: var(--border-strong);
}

/* Footer */
.footer {
  padding: 40px 0 24px;
  border-top: 1px solid rgba(123, 247, 218, 0.12);
  background: rgba(3, 7, 16, 0.72);
}

.footer-grid {
  display: grid;
  gap: 22px;
  padding-bottom: 20px;
}

.footer-brand p { max-width: 320px; margin-top: 12px; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.footer-logo img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(123, 247, 218, 0.18);
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(123, 247, 218, 0.12);
  color: var(--muted-2);
  font-size: 0.92rem;
}

.designer{
  color:  var(--primary-2);
}

/* Scroll top */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #05111e;
  box-shadow: 0 12px 24px rgba(57, 208, 255, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.scroll-top svg { width: 22px; height: 22px; }

/* Animations */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(123, 247, 218, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(123, 247, 218, 0); }
  100% { box-shadow: 0 0 0 0 rgba(123, 247, 218, 0); }
}

@keyframes drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes driftReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateSlowReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Responsive layout */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .hamburger { display: none; }
  .hero-layout,
  .about-grid,
  .split-layout,
  .participant-layout,
  .competition-layout,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
  .feature-grid,
  .goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workshop-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .competition-stack { align-self: stretch; }
  .contact-side { height: 100%; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 24px; }
  .hero-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 34px; align-items: center; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goal-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .workshop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 0.85fr 0.85fr; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  .hero-stats { grid-template-columns: 1fr; }
  .btn-hero { width: 100%; }
  .hero-actions { flex-direction: column; }
  .workshop-head,
  .faq-question {
    align-items: flex-start;
  }
  .faq-question {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}