/* =====================================================================
   HACKATHON 2026 — Stylesheet v2
   Premium tech-event identity: Deep Indigo Navy + Electric Blue + Cyan
   + Purple + Magenta + Warm Orange accents.
   All class names preserved from v1 so no PHP/HTML markup changes
   are required — only values/behaviour were upgraded, plus new
   component classes were added for new sections.
   ===================================================================== */

:root {
  /* ---- Backgrounds ---- */
  --navy: #05060f;
  --navy-2: #0b0e24;
  --navy-3: #141a3d;
  --navy-soft: #0e1330;

  /* ---- Core accents ---- */
  --blue: #3d6bff;
  --cyan: #17e3d6;
  --purple: #8b5cf6;
  --magenta: #ec4899;
  --orange: #ff8f3c;

  /* ---- Neutral text ---- */
  --silver: #b7c1de;
  --white: #f7f9ff;

  /* ---- Glass system ---- */
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-soft: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 70px rgba(2, 4, 14, 0.55);
  --radius: 18px;
  --radius-sm: 12px;

  /* ---- Gradients ---- */
  --grad-primary: linear-gradient(95deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-accent: linear-gradient(120deg, var(--purple) 0%, var(--magenta) 100%);
  --grad-warm: linear-gradient(120deg, var(--orange) 0%, var(--magenta) 100%);
  --grad-mesh: radial-gradient(circle at 12% -8%, rgba(61, 107, 255, 0.30) 0%, transparent 42%),
               radial-gradient(circle at 88% 4%, rgba(139, 92, 246, 0.24) 0%, transparent 40%),
               radial-gradient(circle at 50% 105%, rgba(23, 227, 214, 0.14) 0%, transparent 45%);

  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--grad-mesh), linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 55%, #020208 100%);
  background-attachment: fixed;
  color: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); letter-spacing: -0.01em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 20px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Circuit background ---------- */
.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 227, 214, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 15%, black 0%, transparent 78%);
}
.circuit-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 320px at 8% 6%, rgba(61, 107, 255, 0.28), transparent 70%),
    radial-gradient(460px 360px at 94% 0%, rgba(236, 72, 153, 0.18), transparent 70%),
    radial-gradient(500px 400px at 50% 100%, rgba(23, 227, 214, 0.14), transparent 70%);
  filter: blur(10px);
}

.particles { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: 0 0 8px 2px var(--cyan);
  animation: float 12s linear infinite;
}
.particle:nth-child(3n) { background: var(--purple); box-shadow: 0 0 8px 2px var(--purple); }
.particle:nth-child(5n) { background: var(--magenta); box-shadow: 0 0 8px 2px var(--magenta); }
@keyframes float {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* ---------- Glass panels / cards ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, filter .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-primary);
  color: #04101f;
  box-shadow: 0 10px 30px rgba(23, 227, 214, 0.30);
}
.btn-primary:hover { box-shadow: 0 16px 42px rgba(23, 227, 214, 0.48); filter: brightness(1.05); }
.btn-secondary {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.32);
}
.btn-secondary:hover { box-shadow: 0 16px 42px rgba(236, 72, 153, 0.45); }
.btn-outline {
  background: rgba(255,255,255,0.02);
  border-color: var(--glass-border);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--cyan); box-shadow: 0 0 25px rgba(23,227,214,0.22); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: 8px; }
.btn-danger { background: linear-gradient(90deg,#ff5f6d,#c0122f); color:#fff; box-shadow: 0 10px 26px rgba(255,95,109,0.3); }
.btn-success { background: linear-gradient(90deg,#1fce88,#0a9e63); color:#04150e; box-shadow: 0 10px 26px rgba(31,206,136,0.3); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 6, 15, 0.32);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.navbar.scrolled {
  background: rgba(5, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark { height: 46px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-text strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; color: var(--white); }
.nav-brand-text small { font-size: 0.6rem; letter-spacing: 0.06em; color: var(--silver); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--silver); transition: color .2s; position: relative; padding-bottom: 4px; }
.nav-links a:not(.cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--grad-primary); transition: right .25s ease; border-radius: 2px;
}
.nav-links a:not(.cta):hover::after, .nav-links a.active::after { right: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.cta { color: #04101f; background: var(--grad-primary); padding: 10px 22px; border-radius: 50px; font-weight: 700; box-shadow: 0 8px 24px rgba(23,227,214,0.28); }
.nav-links a.cta:hover { box-shadow: 0 12px 32px rgba(23,227,214,0.42); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.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: 900px) {
  .nav-toggle { display: flex; }
  .nav-brand-text small { display: none; }
  .nav-links {
    position: fixed; top: 64px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,6,15,0.98);
    border-top: 1px solid var(--glass-border);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 560px; overflow-y: auto; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a.cta { margin: 14px 24px; text-align: center; }
}
@media (max-width: 400px) {
  .nav-logo-mark { height: 38px; }
  .nav-brand-text strong { font-size: 0.92rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 100px 0 76px; position: relative; text-align: center; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; max-width: 180vw;
  background: radial-gradient(circle, rgba(61,107,255,0.22) 0%, rgba(139,92,246,0.12) 38%, transparent 68%);
  filter: blur(30px);
  z-index: -1;
  animation: heroDrift 16s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0% { transform: translateX(-54%) translateY(0) scale(1); }
  100% { transform: translateX(-46%) translateY(20px) scale(1.06); }
}
.hero .badge {
  display: inline-block; padding: 8px 18px; border-radius: 50px;
  font-size: 0.78rem; letter-spacing: 0.12em; font-weight: 700;
  color: var(--cyan); border: 1px solid rgba(23,227,214,0.4);
  background: rgba(23,227,214,0.08); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.08; margin: 0 0 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--silver); max-width: 680px; margin: 0 auto 34px; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.hero-stats .stat { padding: 20px 8px; text-align: center; border-top: 2px solid transparent; }
.hero-stats .stat:nth-child(6n+1) { border-top-color: rgba(23,227,214,0.5); }
.hero-stats .stat:nth-child(6n+2) { border-top-color: rgba(139,92,246,0.5); }
.hero-stats .stat:nth-child(6n+3) { border-top-color: rgba(236,72,153,0.5); }
.hero-stats .stat:nth-child(6n+4) { border-top-color: rgba(255,143,60,0.5); }
.hero-stats .stat:nth-child(6n+5) { border-top-color: rgba(61,107,255,0.5); }
.hero-stats .stat:nth-child(6n+6) { border-top-color: rgba(124,247,194,0.5); }
.hero-stats .stat .num { font-size: 1.3rem; font-weight: 800; color: var(--cyan); }
.hero-stats .stat .label { font-size: 0.7rem; color: var(--silver); letter-spacing: 0.05em; margin-top: 4px; line-height: 1.4; }
@media (max-width: 900px) { .hero-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 40px 0; }
.countdown .box { width: 92px; padding: 18px 0; text-align: center; }
.countdown .box .val { font-size: 2rem; font-weight: 800; color: var(--white); font-family: var(--font-display); }
.countdown .box .lbl { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--silver); margin-top: 4px; }
.countdown.live { color: #05f28c; font-weight: 800; font-size: 1.3rem; padding: 20px; }

/* ---------- Section generic ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: 0.14em; font-size: 0.78rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; margin: 10px 0 14px; }
.section-head p { color: var(--silver); }

/* ---------- Info chips (participation info) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.info-grid .chip { padding: 24px 14px; text-align: center; transition: transform .25s, border-color .25s; }
.info-grid .chip:hover { transform: translateY(-6px); border-color: rgba(23,227,214,0.4); }
.info-grid .chip .k { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--silver); margin-bottom: 8px; }
.info-grid .chip .v { font-weight: 800; font-size: 1rem; color: var(--white); }
@media (max-width: 900px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Event Highlight cards (home) ---------- */
.highlight-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1000px) { .highlight-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .highlight-grid { grid-template-columns: repeat(2, 1fr); } }
.highlight-card {
  padding: 28px 20px; text-align: center; position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.highlight-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(0,0,0,0.4); }
.highlight-card .hi-icon {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #04101f;
}
.highlight-card h4 { margin: 0 0 6px; font-size: 1rem; }
.highlight-card p { margin: 0; color: var(--silver); font-size: 0.83rem; line-height: 1.5; }
.highlight-card:nth-child(5n+1) .hi-icon { background: var(--grad-primary); box-shadow: 0 10px 24px rgba(23,227,214,0.3); }
.highlight-card:nth-child(5n+1):hover { border-color: rgba(23,227,214,0.45); }
.highlight-card:nth-child(5n+2) .hi-icon { background: var(--grad-accent); box-shadow: 0 10px 24px rgba(139,92,246,0.35); color:#fff; }
.highlight-card:nth-child(5n+2):hover { border-color: rgba(139,92,246,0.45); }
.highlight-card:nth-child(5n+3) .hi-icon { background: var(--grad-warm); box-shadow: 0 10px 24px rgba(255,143,60,0.35); color:#1a0d00; }
.highlight-card:nth-child(5n+3):hover { border-color: rgba(255,143,60,0.45); }
.highlight-card:nth-child(5n+4) .hi-icon { background: linear-gradient(120deg, var(--cyan), var(--purple)); box-shadow: 0 10px 24px rgba(23,227,214,0.3); color:#04101f; }
.highlight-card:nth-child(5n+4):hover { border-color: rgba(23,227,214,0.45); }
.highlight-card:nth-child(5n+5) .hi-icon { background: linear-gradient(120deg, var(--magenta), var(--orange)); box-shadow: 0 10px 24px rgba(236,72,153,0.3); color:#fff; }
.highlight-card:nth-child(5n+5):hover { border-color: rgba(236,72,153,0.45); }

/* ---------- Why Participate (feature cards) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 950px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  padding: 30px 26px; position: relative; overflow: hidden;
  border-top: 3px solid transparent; transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--grad-primary); opacity: 0.10; filter: blur(6px);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(0,0,0,0.38); }
.feature-card .f-icon { font-size: 1.6rem; margin-bottom: 14px; display:inline-block; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--silver); font-size: 0.9rem; line-height: 1.6; }
.feature-card:nth-child(3n+1) { border-top-color: var(--cyan); }
.feature-card:nth-child(3n+2) { border-top-color: var(--purple); }
.feature-card:nth-child(3n+3) { border-top-color: var(--orange); }

/* ---------- Domain cards ---------- */
.domain-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 1200px) { .domain-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 950px) { .domain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .domain-grid { grid-template-columns: 1fr; } }

.domain-card { padding: 30px 24px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; border-bottom: 3px solid transparent; }
.domain-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.4); }
.domain-card .num { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.domain-card .icon { font-size: 2rem; margin: 14px 0; }
.domain-card h3 { font-size: 1.15rem; margin: 0 0 10px; font-weight: 700; }
.domain-card p { color: var(--silver); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.domain-card:nth-child(5n+1) { border-bottom-color: var(--cyan); } .domain-card:nth-child(5n+1) .num { color: var(--cyan); } .domain-card:nth-child(5n+1):hover { border-color: rgba(23,227,214,0.4); }
.domain-card:nth-child(5n+2) { border-bottom-color: var(--purple); } .domain-card:nth-child(5n+2) .num { color: var(--purple); } .domain-card:nth-child(5n+2):hover { border-color: rgba(139,92,246,0.4); }
.domain-card:nth-child(5n+3) { border-bottom-color: var(--magenta); } .domain-card:nth-child(5n+3) .num { color: var(--magenta); } .domain-card:nth-child(5n+3):hover { border-color: rgba(236,72,153,0.4); }
.domain-card:nth-child(5n+4) { border-bottom-color: var(--orange); } .domain-card:nth-child(5n+4) .num { color: var(--orange); } .domain-card:nth-child(5n+4):hover { border-color: rgba(255,143,60,0.4); }
.domain-card:nth-child(5n+5) { border-bottom-color: var(--blue); } .domain-card:nth-child(5n+5) .num { color: #8cb4ff; } .domain-card:nth-child(5n+5):hover { border-color: rgba(61,107,255,0.4); }

/* ---------- Prizes ---------- */
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; }
@media (max-width: 800px) { .prize-grid { grid-template-columns: 1fr; } }
.prize-card {
  padding: 36px 26px; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.prize-card:hover { transform: translateY(-8px); }
.prize-card .prize-trophy {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.prize-card .prize-rank { font-size: 0.75rem; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.prize-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.prize-card .prize-note { color: var(--silver); font-size: 0.85rem; line-height: 1.6; margin: 0; }
.prize-card--winner { border: 1px solid rgba(255,209,102,0.4); box-shadow: 0 30px 70px rgba(255,209,102,0.14); transform: scale(1.05); }
.prize-card--winner .prize-trophy { background: linear-gradient(135deg,#ffd166,#ff8f3c); color:#3a1e00; box-shadow: 0 12px 30px rgba(255,209,102,0.4); }
.prize-card--winner .prize-rank { color: #ffd166; }
@media (max-width: 800px) { .prize-card--winner { transform: none; order: -1; } }
.prize-card--runner { border: 1px solid rgba(183,193,222,0.35); }
.prize-card--runner .prize-trophy { background: linear-gradient(135deg,#dbe2f2,#8b97b8); color:#0d1128; }
.prize-card--runner .prize-rank { color: #cfd8ef; }
.prize-card--special { border: 1px solid rgba(139,92,246,0.35); }
.prize-card--special .prize-trophy { background: var(--grad-accent); color:#fff; }
.prize-card--special .prize-rank { color: var(--purple); }

/* ---------- Leadership ---------- */
.lead-group { margin-bottom: 46px; }
.lead-group h3 { text-align: center; font-size: 1.05rem; letter-spacing: 0.1em; color: var(--cyan); margin-bottom: 22px; text-transform: uppercase; }
.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-card { padding: 26px; text-align: center; transition: transform .25s ease, border-color .25s ease; }
.lead-card:hover { transform: translateY(-5px); border-color: rgba(23,227,214,0.35); }
.lead-card .avatar {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 14px;
  border: 1px dashed var(--glass-border); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--silver); background: var(--grad-accent); color: #fff; border-style: solid; border-color: transparent;
}
.lead-card .name { font-weight: 700; color: var(--white); font-style: normal; }
.lead-card .role { font-size: 0.82rem; color: rgba(200,210,224,0.65); margin-top: 4px; }

/* ---------- Timeline (schedule) — legacy vertical ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 26px; border-left: 2px solid var(--glass-border); }
.timeline .item { position: relative; padding: 0 0 40px 26px; }
.timeline .item::before {
  content: ""; position: absolute; left: -37px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--cyan);
  box-shadow: 0 0 12px rgba(23,227,214,0.6);
}
.timeline .item h4 { margin: 0 0 6px; font-size: 1.05rem; }
.timeline .item p { margin: 0; color: var(--silver); font-size: 0.9rem; }

/* ---------- Timeline modern (alternating, used on schedule.php) ---------- */
.timeline-modern { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-modern::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), var(--magenta));
  transform: translateX(-50%);
}
.tl-row { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: start; margin-bottom: 8px; }
.tl-row .tl-card { padding: 22px 24px; }
.tl-row .tl-dot {
  width: 16px; height: 16px; border-radius: 50%; margin: 6px auto 0;
  background: var(--navy); border: 3px solid var(--cyan); box-shadow: 0 0 14px rgba(23,227,214,0.6);
  position: relative; z-index: 2;
}
.tl-row:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-row:nth-child(odd) .tl-spacer { grid-column: 3; }
.tl-row:nth-child(even) .tl-card { grid-column: 3; }
.tl-row:nth-child(even) .tl-spacer { grid-column: 1; }
.tl-row .tl-num { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: var(--cyan); margin-bottom: 6px; }
.tl-row:nth-child(3n+2) .tl-dot { border-color: var(--purple); box-shadow: 0 0 14px rgba(139,92,246,0.6); }
.tl-row:nth-child(3n+2) .tl-num { color: var(--purple); }
.tl-row:nth-child(3n+3) .tl-dot { border-color: var(--magenta); box-shadow: 0 0 14px rgba(236,72,153,0.6); }
.tl-row:nth-child(3n+3) .tl-num { color: var(--magenta); }
.tl-row h4 { margin: 0 0 6px; font-size: 1.02rem; }
.tl-row p { margin: 0; color: var(--silver); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 700px) {
  .timeline-modern::before { left: 18px; }
  .tl-row { grid-template-columns: 36px 1fr; }
  .tl-row .tl-dot { margin: 6px 0 0; grid-column: 1; }
  .tl-row:nth-child(odd) .tl-card, .tl-row:nth-child(even) .tl-card { grid-column: 2; text-align: left; }
  .tl-row .tl-spacer { display: none; }
}

/* ---------- Forms ---------- */
.form-card { padding: 34px; }
.form-section-title { font-size: 0.95rem; font-weight: 800; color: var(--cyan); letter-spacing: 0.06em; text-transform: uppercase; margin: 30px 0 16px; }
.form-section-title:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.form-group label { display: block; font-size: 0.82rem; color: var(--silver); margin-bottom: 7px; font-weight: 600; }
.form-group label .req { color: #ff6b81; }

/* Inputs */
.form-control {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  color: var(--white); font-size: 0.92rem; font-family: var(--font);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control::placeholder { color: rgba(183,193,222,0.55); }
.form-control:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(23,227,214,0.15); background: rgba(255,255,255,0.07); }
.form-control.invalid { border-color: #ff6b81; box-shadow: 0 0 0 3px rgba(255,107,129,0.12); }

/* ---- CRITICAL DROPDOWN FIX ----
   The select itself keeps light text on a dark glass background so it
   matches the rest of the theme. The native <option> list is forced to
   dark text on a solid light background — this is the only combination
   every major browser (Chrome, Firefox, Edge, Safari) renders reliably
   regardless of OS light/dark mode, so selected + open-list text is
   ALWAYS visible, never white-on-white. */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2317E3D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  color: var(--white);
}
select.form-control:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 8L7 2L13 8' stroke='%2317E3D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Firefox draws its own dotted "focus ring" tightly around the selected
   text inside a focused <select>, via :-moz-focusring — this ignores
   outline:none and is the dashed/hatched box some people see wrapping the
   selected value. Making the text transparent and re-drawing it with a
   solid text-shadow removes the visible dots without changing the actual
   text color (Firefox-only; other browsers ignore this rule entirely). */
select.form-control:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 var(--white);
}
select.form-control:invalid:-moz-focusring {
  text-shadow: 0 0 0 rgba(183,193,222,0.75);
}
select.form-control option,
select.form-control optgroup {
  color: #0b1530;
  background: #ffffff;
  font-weight: 500;
}
select.form-control option:checked,
select.form-control option:hover,
select.form-control option:focus {
  color: #04101f;
  background: #dff8f6;
}
select.form-control:invalid,
select.form-control option[value=""] {
  color: rgba(183,193,222,0.75);
}
/* When a real value is chosen the select text becomes fully bright */
select.form-control:not(:invalid) { color: var(--white); }

.member-block { border: 1px solid var(--glass-border); border-radius: 14px; padding: 20px; margin-bottom: 18px; background: var(--glass-bg-soft); }
.member-block h5 { margin: 0 0 14px; font-size: 0.9rem; color: var(--silver); display: flex; justify-content: space-between; align-items: center; }
.field-error { color: #ff6b81; font-size: 0.78rem; margin-top: 6px; display: none; }
.form-control.invalid + .field-error,
.form-group .field-error.show { display: block; }

/* ---------- Toasts / alerts ---------- */
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(34,211,110,0.12); border: 1px solid rgba(34,211,110,0.4); color: #7cf7c2; }
.alert-error { background: rgba(255,90,90,0.12); border: 1px solid rgba(255,90,90,0.4); color: #ffb3b3; }
.toast-wrap { position: fixed; top: 90px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 14px 18px; border-radius: 12px; min-width: 260px; background: var(--navy-3); border: 1px solid var(--glass-border); box-shadow: var(--shadow); animation: slideIn .3s ease; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Registration wizard ---------- */
.wizard-steps { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 36px; counter-reset: step; }
.wizard-step { flex: 1; text-align: center; position: relative; }
.wizard-step .dot { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 800; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); color: var(--silver); transition: all .25s ease; }
.wizard-step .lbl { font-size: 0.7rem; letter-spacing: 0.05em; color: rgba(183,193,222,0.55); text-transform: uppercase; }
.wizard-step::after { content: ""; position: absolute; top: 17px; left: 50%; width: 100%; height: 2px; background: var(--glass-border); z-index: -1; }
.wizard-step:last-child::after { display: none; }
.wizard-step.active .dot { background: var(--grad-primary); color: #04101f; border-color: transparent; box-shadow: 0 0 18px rgba(23,227,214,0.45); }
.wizard-step.active .lbl { color: var(--cyan); }
.wizard-step.done .dot { background: rgba(34,211,110,0.2); border-color: rgba(34,211,110,0.5); color: #7cf7c2; }
.wizard-step.done::after { background: rgba(34,211,110,0.5); }
@media (max-width: 700px) { .wizard-step .lbl { display: none; } }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wizard-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }
.wizard-actions .spacer { flex: 1; }

/* ---------- Payment section ---------- */
.payment-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 26px; border-radius: 16px; background: linear-gradient(120deg, rgba(61,107,255,0.14), rgba(23,227,214,0.08)); border: 1px solid rgba(23,227,214,0.3); margin-bottom: 26px; }
.payment-summary .fee-label { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--silver); text-transform: uppercase; }
.payment-summary .fee-amount { font-size: 2rem; font-weight: 900; font-family: var(--font-display); }
.payment-qr-box { text-align: center; padding: 26px; border: 1px dashed rgba(23,227,214,0.4); border-radius: 16px; background: rgba(255,255,255,0.03); }
.payment-qr-box img { width: 220px; height: 220px; object-fit: contain; margin: 0 auto 14px; background: #fff; border-radius: 12px; padding: 10px; }
.payment-qr-box #upi-qr-canvas { display: inline-block; margin: 0 auto 14px; background: #fff; border-radius: 12px; padding: 10px; line-height: 0; }
.payment-qr-box #upi-qr-canvas img,
.payment-qr-box #upi-qr-canvas canvas { width: 200px; height: 200px; display: block; }
.payment-qr-box .upi { font-weight: 800; color: var(--cyan); letter-spacing: 0.02em; font-size: 1.05rem; margin-top: 6px; }
.payment-instructions { padding: 22px 24px; }
.payment-instructions ol { padding-left: 20px; color: var(--silver); font-size: 0.9rem; line-height: 1.9; }
.payment-disabled-note { padding: 22px 24px; text-align: center; color: var(--silver); }
.upload-drop { border: 1px dashed var(--glass-border); border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.upload-drop:hover, .upload-drop.dragover { border-color: var(--cyan); background: rgba(23,227,214,0.04); }
.upload-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-drop .preview { max-width: 160px; max-height: 160px; margin: 12px auto 0; border-radius: 10px; display: none; }
.upload-drop .fname { font-size: 0.8rem; color: var(--cyan); margin-top: 8px; word-break: break-all; }

/* ---------- Review step ---------- */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { padding: 20px 22px; }
.review-card h5 { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--cyan); text-transform: uppercase; }
.review-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.87rem; }
.review-card dt { color: rgba(183,193,222,0.6); }
.review-card dd { margin: 0; color: var(--white); text-align: right; }

/* ---------- Leadership photo card ---------- */
.lead-card .photo { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 2px solid rgba(23,227,214,0.4); }
.chairman-note { font-size: 0.72rem; color: rgba(183,193,222,0.55); margin-top: 4px; }

/* ---------- Success page ---------- */
.success-card { padding: 44px; text-align: center; max-width: 640px; margin: 0 auto; }
.success-icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; background: rgba(34,211,110,0.15); border: 1px solid rgba(34,211,110,0.4); color: #7cf7c2; }
.receipt-table { width: 100%; text-align: left; border-collapse: collapse; margin: 26px 0; }
.receipt-table td { padding: 10px 6px; border-bottom: 1px solid var(--glass-border); font-size: 0.9rem; }
.receipt-table td:first-child { color: var(--silver); width: 40%; }
.reg-number-display { font-size: 1.6rem; font-weight: 900; letter-spacing: 0.06em; margin: 14px 0; }
.payment-status-line { margin-bottom: 6px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--glass-border); padding: 50px 0 26px; margin-top: 60px; background: linear-gradient(180deg, rgba(11,14,36,0.5), rgba(0,0,0,0.4)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 14px; text-transform: uppercase; }
.footer-grid p, .footer-grid li { color: var(--silver); font-size: 0.87rem; line-height: 1.7; }
.footer-grid li a:hover { color: var(--cyan); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { height: 44px; }
.footer-brand h4 { margin: 0; text-transform: none; color: var(--white); font-size: 0.92rem; letter-spacing: 0; }
.footer-bottom { text-align: center; padding-top: 22px; border-top: 1px solid var(--glass-border); font-size: 0.8rem; color: rgba(183,193,222,0.55); }

.footer-partner { display: flex; align-items: center; gap: 22px; padding: 22px 26px; margin-bottom: 34px; flex-wrap: wrap; }
.footer-partner-logo { background: #fff; border-radius: 12px; padding: 8px; flex-shrink: 0; }
.footer-partner-logo img { height: 56px; width: auto; border-radius: 6px; }
.footer-partner-txt { color: var(--silver); font-size: 0.85rem; line-height: 1.6; flex: 1; min-width: 240px; }
.footer-partner-txt strong { color: var(--white); }
@media (max-width: 560px) { .footer-partner { padding: 18px; } .footer-partner-logo img { height: 44px; } }

/* ---------- Admin ---------- */
.admin-body { background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: rgba(11,14,36,0.9); border-right: 1px solid var(--glass-border); padding: 24px 0; flex-shrink: 0; backdrop-filter: blur(10px); }
.admin-sidebar .brand { padding: 0 22px 20px; font-weight: 800; font-family: var(--font-display); letter-spacing: 0.06em; border-bottom: 1px solid var(--glass-border); margin-bottom: 14px; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.admin-sidebar a { display: block; padding: 12px 22px; color: var(--silver); font-size: 0.9rem; border-left: 3px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.admin-sidebar a i { width: 18px; margin-right: 10px; text-align: center; }
.admin-menu-toggle { margin-bottom: 18px; }
.admin-sidebar a:hover, .admin-sidebar a.active { color: var(--white); background: rgba(255,255,255,0.05); border-left-color: var(--cyan); }
.admin-sidebar a.active { background: linear-gradient(90deg, rgba(23,227,214,0.14), transparent); }
.admin-main { flex: 1; padding: 28px 30px; overflow-x: auto; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.admin-topbar h2 { font-size: 1.5rem; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login-card { width: 100%; max-width: 380px; padding: 38px 32px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 22px; position: relative; overflow: hidden; border-top: 3px solid var(--cyan); transition: transform .2s ease; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card:nth-child(7n+1) { border-top-color: var(--cyan); }
.stat-card:nth-child(7n+2) { border-top-color: var(--blue); }
.stat-card:nth-child(7n+3) { border-top-color: var(--purple); }
.stat-card:nth-child(7n+4) { border-top-color: var(--magenta); }
.stat-card:nth-child(7n+5) { border-top-color: #ffd27a; }
.stat-card:nth-child(7n+6) { border-top-color: #7cf7c2; }
.stat-card:nth-child(7n+7) { border-top-color: #ffb3b3; }
.stat-card .num { font-size: 1.9rem; font-weight: 800; font-family: var(--font-display); }
.stat-card .lbl { color: var(--silver); font-size: 0.78rem; margin-top: 4px; letter-spacing: 0.04em; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th, .data-table td { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--glass-border); white-space: nowrap; }
.data-table th { color: var(--cyan); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255,255,255,0.02); }
.data-table tbody tr { transition: background .15s ease; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.035); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 640px) {
  .data-table.responsive-cards thead { display: none; }
  .data-table.responsive-cards, .data-table.responsive-cards tbody, .data-table.responsive-cards tr, .data-table.responsive-cards td { display: block; width: 100%; }
  .data-table.responsive-cards tr { border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 12px; padding: 10px 4px; background: rgba(255,255,255,0.02); }
  .data-table.responsive-cards td { white-space: normal; border-bottom: none; padding: 6px 12px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .data-table.responsive-cards td::before { content: attr(data-label); font-weight: 700; color: var(--cyan); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; text-align: left; }
}
.badge { padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; display: inline-block; }
.badge-registered { background: rgba(61,107,255,0.18); color: #8cb4ff; }
.badge-verified { background: rgba(34,211,110,0.18); color: #7cf7c2; }
.badge-cancelled { background: rgba(255,90,90,0.18); color: #ffb3b3; }
.badge-pending { background: rgba(255,190,60,0.18); color: #ffd27a; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-bar .form-control { width: auto; min-width: 160px; }
.pagination { display: flex; gap: 8px; margin-top: 20px; justify-content: center; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--glass-border); font-size: 0.85rem; color: var(--silver); }
.pagination a:hover { border-color: var(--cyan); color: var(--cyan); }
.pagination .current { background: var(--grad-primary); color: #04101f; font-weight: 700; border-color: transparent; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); display: none; align-items: center; justify-content: center; z-index: 200; backdrop-filter: blur(3px); }
.modal-overlay.show { display: flex; }
.modal-box { width: 100%; max-width: 380px; padding: 28px; text-align: center; }
.modal-box .modal-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }

/* ---------- Guidelines accordion ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--glass-border); border-radius: 14px; margin-bottom: 14px; overflow: hidden; background: var(--glass-bg); backdrop-filter: blur(14px); transition: border-color .2s; }
.accordion-item[open] { border-color: rgba(23,227,214,0.35); }
.accordion-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .chev { transition: transform .25s ease; color: var(--cyan); flex-shrink: 0; }
.accordion-item[open] summary .chev { transform: rotate(180deg); }
.accordion-item .accordion-body { padding: 0 24px 22px; color: var(--silver); font-size: 0.92rem; line-height: 1.75; }
.accordion-item .accordion-body ul { list-style: disc; padding-left: 20px; }
.accordion-item .accordion-body li { margin-bottom: 8px; }

/* ---------- Mini bar chart (admin, no external lib) ---------- */
.bar-chart { display: flex; flex-direction: column; gap: 10px; }
.bar-chart .row { display: grid; grid-template-columns: 130px 1fr 46px; align-items: center; gap: 10px; font-size: 0.82rem; }
.bar-chart .row .name { color: var(--silver); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-chart .track { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar-chart .fill { height: 100%; border-radius: 6px; background: var(--grad-primary); }
.bar-chart .val { text-align: right; color: var(--white); font-weight: 700; }

/* ---------- Admin mobile drawer ---------- */
.admin-menu-toggle { display: none; background: none; border: 1px solid var(--glass-border); color: var(--white); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
@media (max-width: 900px) {
  .admin-shell { position: relative; }
  .admin-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 150; transform: translateX(-100%); transition: transform .3s ease; }
  .admin-sidebar.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,0.5); }
  .admin-main { width: 100%; }
  .admin-menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .admin-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 140; display: none; }
  .admin-backdrop.show { display: block; }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- counters ---------- */
.counter { font-variant-numeric: tabular-nums; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
