/* ============================================================
   WIUT Hackathon 2026 — "Intelligence in Use"
   Deep-navy tech aesthetic, animated.
   ============================================================ */

:root {
  --bg-0: #030818;
  --bg-1: #050d2b;
  --bg-2: #081338;
  --panel: rgba(13, 27, 71, 0.55);
  --panel-solid: #0a1740;
  --line: rgba(76, 141, 255, 0.22);
  --line-strong: rgba(76, 141, 255, 0.45);
  --text: #eaf1ff;
  --text-dim: #9fb2d8;
  --text-faint: #6b7ba4;
  --cyan: #38bdf8;
  --blue: #2f7cf6;
  --violet: #8b5cf6;
  --gold: #f5b93c;
  --silver: #c9d4e8;
  --bronze: #e08a3c;
  --radius: 14px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; background-color: var(--bg-0); }

body {
  font-family: var(--font-body);
  background-color: var(--bg-0);
  background-image:
    radial-gradient(1100px 600px at 80% -10%, rgba(47, 124, 246, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 30%, rgba(139, 92, 246, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Faint animated grid backdrop */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(76, 141, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 141, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
  animation: grid-drift 24s linear infinite;
}
@keyframes grid-drift { to { background-position: 48px 48px; } }

/* ---------- Typography helpers ---------- */
.gradient-text {
  background: linear-gradient(93deg, #7dd3fc 0%, #38bdf8 35%, #4f7ef8 70%, #8b5cf6 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-slide 6s ease-in-out infinite alternate;
}
.gradient-text-alt {
  background: linear-gradient(93deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-slide 6s ease-in-out infinite alternate-reverse;
}
@keyframes gradient-slide { to { background-position: 100% 0; } }

.section { padding: 88px 0; position: relative; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan); text-align: center; margin-bottom: 48px;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}
.section-title-sm {
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--text-faint); text-align: center; margin-bottom: 36px;
}
.section-title-sm::before, .section-title-sm::after {
  content: ""; display: inline-block; width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
  vertical-align: middle; margin: 0 16px;
}
.section-title-sm::after { transform: scaleX(-1); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: none; border-radius: 999px; transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn svg { width: 1em; height: 1em; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(120deg, #2563eb, #38bdf8);
  color: #fff; padding: 14px 30px; font-size: 0.85rem;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.35) inset, 0 8px 32px rgba(37, 99, 235, 0.45);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: btn-sheen 4.5s ease-in-out infinite;
}
@keyframes btn-sheen { 12% { transform: translateX(120%); } 100% { transform: translateX(120%); } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.6) inset, 0 12px 44px rgba(56, 189, 248, 0.55); filter: brightness(1.08); }
.btn-lg { padding: 17px 38px; font-size: 0.95rem; }
.btn-sm { padding: 10px 20px; font-size: 0.72rem; }

/* ---------- Header ---------- */
.announcement-bar {
  background: linear-gradient(90deg, rgba(37,99,235,0.9), rgba(139,92,246,0.9));
  text-align: center; padding: 8px 16px; font-size: 0.85rem; font-weight: 500;
}
.announcement-bar a { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 10, 34, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(4, 10, 34, 0.9); }
.site-header .container { max-width: 1320px; }
.header-inner { display: flex; align-items: center; justify-content: center; gap: 28px; height: 68px; position: relative; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; color: var(--text); }
/* All partner logos share one bounding box so they read as equals. */
.brand-logo { display: block; height: 38px; max-width: 118px; object-fit: contain; transition: filter 0.3s ease; }
.brand-logo-wiut { height: 52px; }  /* squarer mark — needs extra height to match visual weight */
.brand:hover .brand-logo { filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45)); }
.brand-divider { width: 1px; height: 30px; background: var(--line-strong); }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a, .main-nav .nav-auth { white-space: nowrap; }
.main-nav a:not(.btn) {
  color: var(--text-dim); text-decoration: none; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; position: relative; transition: color 0.25s ease;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); border-radius: 2px;
  transition: width 0.3s ease;
}
.main-nav a:not(.btn):hover { color: var(--text); }
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-wordmark { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 68px); min-height: 700px;
  display: flex; align-items: center; text-align: center;
  overflow: hidden; padding: 60px 0 100px;
}
/* WIUT building photo behind the hero, tinted into the navy palette.
   ManifestStaticFilesStorage rewrites this url() to the hashed filename. */
.hero-photo {
  position: absolute; inset: 0;
  background: url("../img/hero-wiut.0ee9a8454619.jpg") center top / cover no-repeat;
  filter: saturate(0.6) brightness(0.85);
  opacity: 0.45;
  /* fade the photo itself to transparent so the hero melts into the page
     background with no visible seam */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 95%);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 43, 0.25) 0%, rgba(5, 13, 43, 0.72) 55%, rgba(5, 13, 43, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 13, 43, 0.55) 0%, rgba(5, 13, 43, 0.68) 45%, rgba(5, 13, 43, 0.8) 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; }

.hero-circuits { position: absolute; inset: 0; pointer-events: none; color: var(--line-strong); }
.circuit { position: absolute; width: 220px; opacity: 0.7; }
.circuit circle { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); animation: node-pulse 2.6s ease-in-out infinite; }
.circuit circle:nth-of-type(2) { animation-delay: 0.6s; }
.circuit circle:nth-of-type(3) { animation-delay: 1.2s; }
.circuit circle:nth-of-type(4) { animation-delay: 1.8s; }
@keyframes node-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.circuit-path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: circuit-draw 5s ease forwards; }
@keyframes circuit-draw { to { stroke-dashoffset: 0; } }
.circuit-left { left: 2%; top: 14%; }
.circuit-right { right: 2%; top: 40%; }

.hero-ring {
  position: absolute; right: -140px; top: 46%; width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 80px rgba(56, 189, 248, 0.12) inset, 0 0 60px rgba(56,189,248,0.08);
  animation: ring-spin 26s linear infinite;
}
.hero-ring::before, .hero-ring::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.35);
}
.hero-ring::before { inset: 40px; animation: ring-spin 18s linear infinite reverse; }
.hero-ring::after { inset: 90px; border-style: solid; border-color: rgba(56, 189, 248, 0.2); }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-kicker {
  font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--text-faint);
}
.hero-kicker::before, .hero-kicker::after {
  content: ""; display: inline-block; width: 48px; height: 1px;
  background: var(--line-strong); vertical-align: middle; margin: 0 14px;
}

/* Partner logo carousel: two identical sets scroll left by exactly one set. */
.partners-marquee {
  overflow: hidden; margin: 18px auto 34px; max-width: 1120px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.partners-marquee { width: 100%; }  /* flex child: never let the track widen the hero */
.partners-track { display: flex; width: max-content; animation: partners-scroll 32s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners-set { display: flex; }
.partners-set .partner-chip { margin-right: 44px; }
@keyframes partners-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partners-track { animation: none; } }
.partner-chip {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 6px 10px; transition: transform 0.3s ease, filter 0.3s ease;
}
.partner-chip:hover { transform: translateY(-2px); filter: drop-shadow(0 0 12px rgba(56,189,248,0.35)); }
/* Fixed box so every partner chip is the same size regardless of logo shape. */
.partner-chip img { height: 78px; width: min(190px, 55vw); object-fit: contain; }
.partner-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; }
.partner-chip small { font-size: 0.6rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }

.hero-title { font-family: var(--font-display); line-height: 0.98; margin-bottom: 18px; }
.hero-title .line { display: block; font-weight: 700; }
.line-1 { font-size: clamp(3rem, 9vw, 6.2rem); letter-spacing: 0.12em; color: #fff; text-shadow: 0 0 60px rgba(56, 189, 248, 0.4); }
.line-2 { font-size: clamp(3rem, 9.5vw, 6.6rem); letter-spacing: 0.05em; }
.line-3 { font-size: clamp(2.6rem, 8vw, 5.4rem); letter-spacing: 0.16em; }

.hero-tagline {
  font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.34em; color: var(--text-dim); margin: 8px 0 36px;
}
.hero-tagline em { font-style: italic; }

.hero-meta {
  display: flex; align-items: stretch; gap: 26px;
  border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 18px 34px; margin-bottom: 40px;
  background: rgba(8, 19, 56, 0.55); backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}
.meta-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-align: left; }
.meta-item svg { width: 30px; height: 30px; color: var(--cyan); flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(56,189,248,0.5)); }
.meta-sep { width: 1px; background: var(--line-strong); }


/* ---------- Tracks ---------- */
.tracks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.track-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 34px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  backdrop-filter: blur(8px); overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.track-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px 220px at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, 0.12), transparent 65%);
  opacity: 0; transition: opacity 0.35s ease;
}
.track-card:hover::before { opacity: 1; }
.track-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(3, 8, 24, 0.7), 0 0 40px rgba(56, 189, 248, 0.12); transform: translateY(-6px); }
.track-card[data-accent="fintech"]:hover { box-shadow: 0 18px 50px rgba(3, 8, 24, 0.7), 0 0 40px rgba(139, 92, 246, 0.16); }

.track-icon { width: 68px; height: 68px; color: var(--cyan); filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.45)); }
.track-card[data-accent="fintech"] .track-icon { color: var(--violet); filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.5)); }
.track-icon svg { width: 100%; height: 100%; }

.track-body h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 10px; }
.track-body p { color: var(--text-dim); font-size: 0.95rem; }
.track-details { margin-top: 10px; font-size: 0.85rem !important; color: var(--text-faint) !important; }

.track-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); text-decoration: none; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.track-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.track-link:hover svg { transform: translateX(5px); }

/* ---------- Timeline ---------- */
.timeline { position: relative; }
.timeline-line {
  position: absolute; top: 33px; left: 8%; right: 8%; height: 2px;
  background: rgba(76, 141, 255, 0.18); border-radius: 2px;
}
.timeline-progress {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  border-radius: 2px; transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline.in .timeline-progress { width: 100%; }

.timeline-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; position: relative; }
.timeline-item { text-align: center; }
.timeline-node {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--bg-2);
  color: var(--cyan); position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.timeline-node::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.25);
  animation: node-halo 3s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * 0.4s);
}
@keyframes node-halo { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.12); opacity: 1; } }
.timeline-item:hover .timeline-node { box-shadow: 0 0 26px rgba(56, 189, 248, 0.4); transform: translateY(-4px); }
.timeline-node svg { width: 28px; height: 28px; }
.timeline-item:last-child .timeline-node { color: var(--violet); border-color: rgba(139, 92, 246, 0.5); }

.timeline-title { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--cyan); margin-bottom: 6px; }
.timeline-date { font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.timeline-desc { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Stats ---------- */
.stats-panel {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 44px 48px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--panel);
  backdrop-filter: blur(8px); box-shadow: 0 20px 60px rgba(3, 8, 24, 0.55);
  flex-wrap: wrap;
}
.stat { text-align: center; flex: 1; min-width: 150px; }
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1;
  background: linear-gradient(120deg, #7dd3fc, #4f7ef8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 10px;
}
.stat:nth-child(n+5) .stat-value { background: linear-gradient(120deg, #f5b93c, #e08a3c); -webkit-background-clip: text; background-clip: text; }
.stat-label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; }
.stat-sub { font-size: 0.7rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.stat-sep { width: 1px; align-self: stretch; background: var(--line); }

/* ---------- Prizes ---------- */
.prizes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.prize-card {
  --accent: var(--gold);
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--panel-solid)) 0%, var(--panel-solid) 60%);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.prize-card.place-2 { --accent: var(--silver); }
.prize-card.place-3 { --accent: var(--bronze); }
.prize-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 24px 60px rgba(3, 8, 24, 0.7), 0 0 46px color-mix(in srgb, var(--accent) 22%, transparent); }

.prize-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.prize-trophy { width: 54px; height: 54px; color: var(--accent); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 60%, transparent)); animation: trophy-float 4s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 0.5s); }
.prize-trophy svg { width: 100%; height: 100%; }
@keyframes trophy-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.prize-head h3 { font-family: var(--font-display); letter-spacing: 0.14em; font-size: 1rem; color: var(--accent); }
.prize-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2rem); color: var(--accent); margin-bottom: 10px; text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 40%, transparent); }
.prize-extra { font-size: 0.85rem; color: var(--text-dim); }
.prize-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--accent) 14%, transparent) 50%, transparent 58%);
  transform: translateX(-130%);
}
.prize-card:hover .prize-shine { animation: prize-sheen 1.1s ease forwards; }
@keyframes prize-sheen { to { transform: translateX(130%); } }

.prizes-note { text-align: center; margin-top: 30px; color: var(--cyan); font-size: 0.85rem; }

/* Single prize-pool card (default) */
.prize-pool {
  --accent: var(--gold);
  position: relative; overflow: hidden; text-align: center;
  max-width: 760px; margin: 0 auto; padding: 48px 32px 44px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 22px;
  background:
    radial-gradient(600px 240px at 50% -20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(160deg, rgba(20, 30, 70, 0.85), rgba(8, 15, 45, 0.9));
  box-shadow: 0 24px 70px rgba(3, 8, 24, 0.6), 0 0 60px color-mix(in srgb, var(--accent) 14%, transparent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.prize-pool:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(3, 8, 24, 0.7), 0 0 80px color-mix(in srgb, var(--accent) 24%, transparent); }
.prize-pool-trophy { width: 72px; height: 72px; margin: 0 auto 14px; display: block; }
.prize-pool-label { font-family: var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.85rem; color: var(--accent); margin-bottom: 10px; }
.prize-pool-amount { font-family: var(--font-display); font-weight: 700; line-height: 1.05; font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 16px; letter-spacing: 0.01em; }
.gradient-text-gold {
  background: linear-gradient(93deg, #fde68a 0%, #f5b93c 45%, #fbbf24 70%, #fff3c4 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.prize-pool-extra {
  display: inline-block; margin: 0 auto 16px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(245, 185, 60, 0.45); background: rgba(245, 185, 60, 0.1);
  color: #fde68a; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
}
.prize-pool-note { color: var(--text-dim); max-width: 520px; margin: 0 auto; font-size: 0.95rem; }

/* ---------- Judging + FAQ ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.judging-panel, .faq-panel {
  padding: 34px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(8px);
}
.panel-title { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 26px; }

.criterion { margin-bottom: 20px; }
.criterion-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.criterion-name { font-size: 0.92rem; font-weight: 500; }
.criterion-weight { font-family: var(--font-display); font-weight: 700; color: var(--cyan); }
.criterion-bar { height: 6px; border-radius: 4px; background: rgba(76, 141, 255, 0.14); overflow: hidden; }
.criterion-bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.judging-panel.in .criterion-bar span { width: var(--w); }
.criterion:nth-child(3) .criterion-bar span { transition-delay: 0.1s; }
.criterion:nth-child(4) .criterion-bar span { transition-delay: 0.2s; }
.criterion:nth-child(5) .criterion-bar span { transition-delay: 0.3s; }
.criterion:nth-child(6) .criterion-bar span { transition-delay: 0.4s; }

.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: rgba(8, 19, 56, 0.5); overflow: hidden; transition: border-color 0.3s ease; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 15px 18px; cursor: pointer; list-style: none;
  font-size: 0.92rem; font-weight: 500; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform 0.3s ease; }
.faq-plus::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq-plus::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-item p { padding: 0 18px 16px; color: var(--text-dim); font-size: 0.88rem; }

/* ---------- Sponsors ---------- */
.sponsors-section { padding-bottom: 40px; }
.sponsors-row, .organizers-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 22px 56px;
}
.organizers-row { margin-top: 34px; opacity: 0.75; gap: 18px 44px; }
.sponsor { display: flex; flex-direction: column; align-items: center; gap: 2px; filter: grayscale(0.4); opacity: 0.8; transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
.sponsor:hover { filter: none; opacity: 1; transform: translateY(-3px); }
.sponsor img { height: 42px; max-width: min(360px, 70vw); object-fit: contain; }
.sponsor-organizer img { height: 46px; max-width: min(300px, 60vw); object-fit: contain; }
.sponsor-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.16em; text-transform: uppercase; }
.sponsor-organizer .sponsor-wordmark { font-size: 1.05rem; }
.sponsor small { font-size: 0.62rem; color: var(--text-faint); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 40px; }
.cta-inner {
  text-align: center; padding: 70px 30px; border-radius: 22px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(56, 189, 248, 0.14), transparent 70%),
    var(--panel);
}
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.cta-inner p { color: var(--text-dim); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; background: rgba(3, 8, 24, 0.8); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; align-items: start; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-logo { height: 64px; flex-shrink: 0; }
.footer-brand p { color: var(--text-faint); font-size: 0.82rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.25s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact { text-align: right; }
.footer-contact a { color: var(--cyan); text-decoration: none; font-size: 0.9rem; }
.footer-contact p { color: var(--text-faint); font-size: 0.75rem; margin-top: 10px; }

/* ---------- Registration form ---------- */
.form-section { min-height: 70vh; }
.form-container { max-width: 760px; }
.form-intro { text-align: center; color: var(--text-dim); margin: -22px 0 40px; }
.form-intro strong { color: var(--text); }

.reg-form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin-bottom: 26px; background: var(--panel);
}
.reg-form legend {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); padding: 0 12px;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 7px; text-transform: uppercase; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(3, 8, 24, 0.6);
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18); }
.field select option { background: var(--bg-2); }
.field .errorlist, .form-errors { list-style: none; color: #fca5a5; font-size: 0.8rem; margin-top: 6px; }
.form-errors { border: 1px solid rgba(248, 113, 113, 0.4); background: rgba(127, 29, 29, 0.25); border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; }
.form-errors ul { list-style: none; }
.has-error input, .has-error select { border-color: rgba(248, 113, 113, 0.6); }
.reg-form .btn { width: 100%; justify-content: center; }

.status-page { text-align: center; }
.status-icon { width: 84px; height: 84px; margin: 0 auto 26px; color: var(--cyan); }
.status-icon.success { color: #4ade80; filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.45)); }
.status-icon svg { width: 100%; height: 100%; }
.team-ref { font-family: ui-monospace, monospace; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 8px; padding: 3px 10px; color: var(--cyan); letter-spacing: 0.12em; }
.status-page .btn { margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .timeline-items { grid-template-columns: repeat(2, 1fr); gap: 34px 14px; }
  .timeline-line { display: none; }
  .split-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; text-align: left; }
  .footer-contact { text-align: center; }
  .hero-ring { display: none; }
}

/* Four partner logos need the width: collapse the menu early. */
@media (max-width: 1100px) {
  .main-nav {
    position: fixed; top: 68px; right: 0; left: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(4, 10, 34, 0.98); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    transform: translateY(-130%); transition: transform 0.35s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid rgba(76, 141, 255, 0.1); }
  .nav-cta { margin-top: 16px; justify-content: center; }
  .nav-toggle { display: block; }
  .nav-wordmark {
    display: block; position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; font-size: 1rem;
    color: var(--text); text-decoration: none; white-space: nowrap;
  }
  .nav-wordmark em { font-style: normal; color: var(--cyan); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .brand { gap: 7px; }
  .brand-logo { height: 28px; max-width: 62px; }
  .brand-logo-wiut { height: 38px; }
  .brand-divider { display: none; }

  .hero { min-height: 0; padding: 70px 0 90px; }
  .hero-meta { flex-direction: column; gap: 14px; padding: 20px; }
  .meta-sep { width: auto; height: 1px; }
  .section { padding: 64px 0; }
  .stats-panel { flex-direction: column; padding: 34px 24px; }
  .stat-sep { display: none; }
  .circuit { display: none; }

  /* Timeline becomes a vertical line with the same nodes */
  .timeline-items { grid-template-columns: 1fr; gap: 28px; }
  .timeline-item { display: grid; grid-template-columns: 66px 1fr; column-gap: 18px; align-items: start; text-align: left; }
  .timeline-node { margin: 0; grid-row: 1 / span 3; }
  .timeline-line { display: block; top: 33px; bottom: 33px; left: 32px; right: auto; width: 2px; height: auto; }
  .timeline-progress { width: 100%; height: 0; transition: height 1.6s cubic-bezier(0.22, 1, 0.36, 1); background: linear-gradient(180deg, var(--cyan), var(--violet)); }
  .timeline.in .timeline-progress { height: 100%; }
  .timeline-title { margin-top: 12px; }
}

@media (max-width: 480px) {
  .brand-logo { height: 24px; max-width: 54px; }
  .brand-logo-wiut { height: 32px; }
  .timeline-items { grid-template-columns: 1fr; }
}


/* ---------- Portal (participants & reviewers) ---------- */
.nav-auth { color: var(--text-dim); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; background: none; border: none; cursor: pointer; font-family: inherit; line-height: 1.6; padding: 0; transition: color 0.25s ease; }
.nav-auth:hover { color: var(--text); }
.nav-logout { display: flex; align-items: center; }
.flash-wrap { padding-top: 18px; }
.flash { border-radius: 10px; padding: 12px 18px; margin-bottom: 10px; font-size: 0.9rem; border: 1px solid var(--line); background: rgba(10, 23, 64, 0.6); }
.flash-success { border-color: rgba(74, 222, 128, 0.45); background: rgba(22, 101, 52, 0.28); }
.flash-warning { border-color: rgba(245, 185, 60, 0.5); background: rgba(120, 80, 10, 0.28); }
.flash-error { border-color: rgba(248, 113, 113, 0.45); background: rgba(127, 29, 29, 0.28); }
.flash-info { border-color: rgba(56, 189, 248, 0.45); background: rgba(12, 74, 110, 0.28); }

.form-narrow { max-width: 480px; }
.form-grid-1 { grid-template-columns: 1fr; }
.form-links { text-align: center; margin-top: 18px; font-size: 0.85rem; color: var(--text-faint); }
.form-links a { color: var(--cyan); text-decoration: none; }
.form-links span { margin: 0 8px; }
.fieldset-hint { font-size: 0.85rem; color: var(--text-dim); margin: -6px 0 16px; }
.field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 13, 43, 0.7); color: var(--text); font-family: inherit; font-size: 0.95rem; }
.field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18); }
.field small { display: block; margin-top: 6px; }
.field input:disabled { opacity: 0.55; }

.portal { padding: 56px 0 80px; }
.container-wide { max-width: 1280px; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.portal-kicker { font-family: var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.72rem; color: var(--cyan); margin-bottom: 6px; }
.portal-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; }
.portal-sub { color: var(--text-dim); margin-top: 6px; }
.portal-ref { text-align: right; }
.portal-ref span { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.team-ref { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.12em; color: var(--gold); background: rgba(245, 185, 60, 0.1); border: 1px solid rgba(245, 185, 60, 0.35); padding: 4px 12px; border-radius: 8px; }
.portal-card { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); backdrop-filter: blur(8px); padding: 26px 28px; margin-bottom: 22px; }
.portal-card-title { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.portal-hint { color: var(--text-dim); font-size: 0.85rem; margin-top: 14px; }
.portal-hint a { color: var(--cyan); }
.centered { text-align: center; }
.muted { color: var(--text-faint); font-size: 0.85rem; }
.back-link { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; }

.status-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.status-pending { color: var(--cyan); border-color: rgba(56, 189, 248, 0.5); background: rgba(56, 189, 248, 0.1); }
.status-rejected { color: #fca5a5; border-color: rgba(248, 113, 113, 0.5); background: rgba(248, 113, 113, 0.1); }
.status-approved { color: #4ade80; border-color: rgba(74, 222, 128, 0.5); background: rgba(74, 222, 128, 0.1); }
.status-qualified { color: var(--gold); border-color: rgba(245, 185, 60, 0.55); background: rgba(245, 185, 60, 0.12); }
.status-waitlist { color: #c4b5fd; border-color: rgba(167, 139, 250, 0.5); background: rgba(167, 139, 250, 0.1); }
.status-eliminated { color: var(--text-faint); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.status-placement { color: var(--gold); border-color: var(--gold); background: rgba(245, 185, 60, 0.18); }
.status-card { border-left: 4px solid var(--cyan); }
.status-card.status-rejected { border-left-color: #f87171; }
.status-card.status-approved { border-left-color: #4ade80; }
.status-card.status-qualified { border-left-color: var(--gold); }
.status-card-head { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.status-explain { color: var(--text-dim); max-width: 720px; }
.status-line { margin-bottom: 14px; color: var(--text-dim); }
.review-note { margin: 18px 0; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(245, 185, 60, 0.4); background: rgba(245, 185, 60, 0.08); }
.review-note strong { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.status-card .btn { margin-top: 8px; }

.stages { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.stage { display: flex; gap: 12px; align-items: flex-start; opacity: 0.55; }
.stage strong { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.stage p { font-size: 0.8rem; color: var(--text-dim); }
.stage-dot { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; border: 1px solid var(--line-strong); color: var(--text-dim); }
.stage-done { opacity: 1; } .stage-done .stage-dot { background: #16a34a; border-color: #16a34a; color: #fff; }
.stage-current { opacity: 1; } .stage-current .stage-dot { background: linear-gradient(120deg, #2563eb, #38bdf8); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(56, 189, 248, 0.5); }
.stage-blocked { opacity: 1; } .stage-blocked .stage-dot { background: rgba(248, 113, 113, 0.2); border-color: #f87171; color: #fca5a5; }

.member-list { list-style: none; }
.member-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.member-list li:last-child { border-bottom: none; }
.member-list p { color: var(--text-dim); font-size: 0.85rem; }
.member-list a { color: inherit; text-decoration: none; }
.chip { display: inline-block; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-dim); margin-left: 6px; vertical-align: middle; }
.chip-warn { color: #fbbf24; border-color: rgba(251, 191, 36, 0.6); background: rgba(251, 191, 36, 0.1); margin-left: 0; }
.chip-ok { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); margin-left: 0; text-transform: none; letter-spacing: 0; }
.email-warn { color: #fbbf24 !important; }
.date-list { list-style: none; }
.date-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.date-list li:last-child { border-bottom: none; }
.date-list span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.date-list p { color: var(--text-dim); font-size: 0.85rem; }
.history { list-style: none; }
.history li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.history li:last-child { border-bottom: none; }
.history span { color: var(--text-faint); font-size: 0.8rem; margin-right: 10px; }
.history em { color: var(--text-faint); font-style: normal; margin-left: 6px; }

.filter-bar { margin-bottom: 18px; display: flex; flex-direction: column; gap: 14px; }
.status-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.status-tabs a { text-decoration: none; color: var(--text-dim); font-size: 0.8rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); transition: all 0.2s ease; }
.status-tabs a span { color: var(--text-faint); margin-left: 4px; }
.status-tabs a.active, .status-tabs a:hover { color: var(--text); border-color: var(--cyan); background: rgba(56, 189, 248, 0.1); }
.filter-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-controls input, .filter-controls select { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 13, 43, 0.7); color: var(--text); font-family: inherit; font-size: 0.9rem; }
.filter-controls input[type=search] { flex: 1; min-width: 220px; }
.filter-controls select option { background: var(--bg-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.review-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.review-table th { text-align: left; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.review-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.review-table tr:last-child td { border-bottom: none; }
.review-table tr.row-flag td:first-child { box-shadow: inset 3px 0 0 #fbbf24; }
.team-link { color: var(--text); text-decoration: none; }
.team-link:hover { color: var(--cyan); }
.member-compact { list-style: none; font-size: 0.85rem; }
.member-compact li { margin-bottom: 6px; }
.decision-form fieldset { border: none; padding: 0; }
.quick-actions { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.btn-success { background: linear-gradient(120deg, #16a34a, #4ade80); color: #fff; padding: 10px 20px; font-size: 0.72rem; }
.btn-danger { background: linear-gradient(120deg, #b91c1c, #f87171); color: #fff; padding: 10px 20px; font-size: 0.72rem; }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-dim); margin: 14px 0 18px; }
.decision-form .field { margin-bottom: 14px; }
.decision-form .btn-primary { width: auto; }

@media (max-width: 760px) {
  .nav-logout { display: block; }
  .main-nav .nav-auth { display: block; padding: 13px 0; border-bottom: 1px solid rgba(76, 141, 255, 0.1); width: 100%; text-align: left; }
  .portal-ref { text-align: left; }
  .portal-card { padding: 20px; }
}


/* ---------- Password toggle / track & contact pages ---------- */
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 64px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid var(--line-strong); color: var(--cyan); border-radius: 6px;
  font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; cursor: pointer;
}
.pw-toggle:hover { background: rgba(56, 189, 248, 0.12); }
.track-text { color: var(--text); line-height: 1.75; }
.how-list { padding-left: 20px; color: var(--text-dim); display: grid; gap: 10px; }
.how-list strong { color: var(--text); }
.criteria-compact { list-style: none; }
.criteria-compact li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.criteria-compact li:last-child { border-bottom: none; }
.criteria-compact strong { color: var(--cyan); }
.footer-contact a { color: var(--cyan); text-decoration: none; }

.faq-contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 10px; color: var(--text-dim); font-size: 0.92rem; }
.faq-contact.centered { justify-content: center; margin-bottom: 28px; }
.tg-link {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE, #229ED9); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(42, 171, 238, 0.35); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tg-link svg { width: 20px; height: 20px; margin-left: -2px; }
.tg-link:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(42, 171, 238, 0.5); }

/* Telegram group card (contact page) */
.tg-group { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; margin: 0 0 36px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.tg-group-qr { display: block; border-radius: 12px; overflow: hidden; background: #fff; padding: 8px; box-shadow: 0 10px 30px rgba(3, 8, 24, 0.5); transition: transform 0.25s ease; }
.tg-group-qr:hover { transform: scale(1.03); }
.tg-group-qr img { display: block; width: 100%; height: auto; }
.tg-group-text h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 4px 0 8px; }
.tg-group-text p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 14px; }
.tg-group-text .btn { gap: 8px; }
.faq-contact-sep { color: var(--text-faint); }
.faq-group-link { color: var(--cyan); text-decoration: none; font-weight: 600; }
.faq-group-link:hover { text-decoration: underline; }
@media (max-width: 600px) { .tg-group { grid-template-columns: 1fr; text-align: center; } .tg-group-qr { width: 200px; margin: 0 auto; } }
