/* SCS Tarang 2026 — event microsite */

:root {
  --navy: #161c4a;
  --navy-2: #202a6b;
  --blue: #1858c7;
  --pink: #e6127f;
  --pink-2: #ff4fa6;
  --red: #e42332;
  --orange: #f5821f;
  --amber: #ffb703;
  --green: #1c9a4b;
  --cyan: #18a8dd;
  --purple: #3d2e8c;
  --cream: #fff9f1;
  --paper: #fffdf9;
  --ink: #1b1730;
  --ink-soft: #5a5570;
  --line: #ece5d8;
  --shadow: 0 14px 34px -14px rgba(22, 28, 74, 0.35);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-family: "Sora", "Manrope", sans-serif;
  line-height: 1.12;
  margin: 0;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  color: var(--pink);
  background: #fff0f7;
  border: 1px solid #ffd7ea;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); color: var(--navy); margin-top: 14px; }
.section-head p.lead { margin-top: 12px; font-size: 17px; color: var(--ink-soft); line-height: 1.6; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { position: relative; padding: 88px 0; }
.section-alt { background: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(230, 18, 127, 0.55);
}
.btn-primary:hover { background: #c90e6d; box-shadow: 0 16px 28px -10px rgba(230, 18, 127, 0.6); }
.btn-dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(22, 28, 74, 0.5);
}
.btn-dark:hover { background: #0f1436; }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.26); }
.btn-amber {
  background: var(--amber);
  color: #2a1400;
  box-shadow: 0 12px 24px -10px rgba(255, 183, 3, 0.55);
}
.btn-amber:hover { background: #ffa600; box-shadow: 0 16px 28px -10px rgba(255, 183, 3, 0.65); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 11px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #d9def2;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 700; }
.topbar .tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 249, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
header.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(0,0,0,0.35); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span { width: 24px; height: 3px; border-radius: 3px; background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #1a2166 0%, #241a72 45%, #3a1a72 100%);
  color: #fff;
  padding: 56px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(42px, 6vw, 74px);
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--pink-2); }
.hero h1 .accent2 { color: var(--amber); }
.hero .tagline {
  margin-top: 14px;
  font-size: clamp(17px, 2vw, 21px);
  color: #d8dcff;
  font-weight: 600;
  max-width: 480px;
}
.hero-facts {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}
.hero-fact .ic { font-size: 18px; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-teacher-link {
  display: inline-flex;
  margin-top: 28px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--amber);
  border-bottom: 1px solid rgba(255,183,3,0.45);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-teacher-link:hover { color: #fff; border-color: #fff; }
.hero-visual { position: relative; }
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 230px auto;
  grid-template-areas: "cash dance" "volley dance" "schol schol";
  gap: 16px;
}
.hp {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 40px -18px rgba(0,0,0,0.55);
  border: 4px solid rgba(255,255,255,0.85);
}
.hp img { height: 100%; width: 100%; object-fit: cover; }
.hb-dance { grid-area: dance; }
.hb-volley { grid-area: volley; }
.hb-stat {
  border-radius: 20px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.hb-stat:hover { transform: translateY(-3px); }
.hb-stat strong { font-family: "Sora", sans-serif; font-weight: 800; line-height: 1.05; }
.hb-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hb-sub { font-size: 13px; font-weight: 600; line-height: 1.4; }
.hb-cash { grid-area: cash; background: linear-gradient(140deg, #ffd25a, var(--amber)); color: var(--navy); }
.hb-cash strong { font-size: clamp(22px, 1.95vw, 28px); white-space: nowrap; }
.hb-cash .hb-label, .hb-cash .hb-sub { color: rgba(22,28,74,0.78); }
.hb-schol {
  grid-area: schol;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: linear-gradient(120deg, var(--pink), var(--pink-2));
  color: #fff;
}
.hb-schol strong { font-size: clamp(28px, 3vw, 38px); white-space: nowrap; }
.hb-schol .hb-sub { color: rgba(255,255,255,0.92); font-size: 14px; }
.hb-go { margin-left: auto; font-size: 22px; font-weight: 800; }

.hero-countdown {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 92px));
  gap: 12px;
}
.cd-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}
.cd-box strong { display: block; font-family: "Sora", sans-serif; font-size: 26px; }
.cd-box span { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #c9cdf2; }

/* ---------- Quick facts strip (floats over the hero's lower edge) ---------- */
.facts-strip {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  padding-bottom: 8px;
}
.facts-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 48px -20px rgba(22, 28, 74, 0.45);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}
.fact-item {
  padding: 28px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.fact-item:first-child { border-left: none; }
.fact-item .fi-num { font-family: "Sora", sans-serif; font-size: 25px; color: var(--navy); }
.fact-item .fi-label { margin-top: 5px; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-points { margin-top: 26px; display: grid; gap: 16px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.ap-ic {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #fff;
}
.ap-ic svg { width: 22px; height: 22px; }
.about-point:nth-child(1) .ap-ic { background: var(--pink); }
.about-point:nth-child(2) .ap-ic { background: var(--blue); }
.about-point:nth-child(3) .ap-ic { background: var(--orange); }
.about-point:nth-child(4) .ap-ic { background: var(--green); }
.ap-rupee { font-family: "Sora", sans-serif; font-weight: 700; font-size: 22px; }
.about-point h4 { font-size: 16.5px; color: var(--navy); }
.about-point p { margin-top: 4px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }

.about-visual { position: relative; }
.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.about-card img { border-radius: 16px; }
.about-card .cap { margin-top: 14px; font-weight: 800; color: var(--navy); }
.about-card .cap span { display: block; font-weight: 600; color: var(--ink-soft); font-size: 13.5px; margin-top: 2px;}
.about-blob {
  position: absolute;
  z-index: -1;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: #ffe1ef;
  top: -40px; right: -40px;
}

/* ---------- Tabs (Cultural / Sports) ---------- */
.cat-tabs-sticky {
  position: sticky;
  top: var(--header-h, 74px);
  z-index: 45;
  background: var(--paper);
  padding: 16px 0 20px;
}
.cat-tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  box-shadow: 0 6px 18px -12px rgba(0,0,0,0.2);
}
.cat-tab {
  border: none;
  background: transparent;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.cat-tab.active { background: var(--navy); color: #fff; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.event-panel { display: none; }
.event-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.ec-photo { position: relative; height: 190px; overflow: hidden; }
.ec-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.event-card:hover .ec-photo img { transform: scale(1.06); }
.ec-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.ec-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ec-body h3 { font-size: 19px; color: var(--navy); }
.ec-sub { font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; color: var(--pink); text-transform: uppercase; }
.ec-body ul { display: grid; gap: 6px; margin-top: 2px; }
.ec-body ul li { font-size: 13.5px; color: var(--ink-soft); padding-left: 18px; position: relative; line-height: 1.4; }
.ec-body ul li::before { content: "•"; position: absolute; left: 4px; color: var(--pink); font-weight: 900; }
.ec-foot { margin-top: auto; display: flex; gap: 10px; padding-top: 10px; }
.ec-more {
  background: #f4f1ea;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}

/* Detail drawer (rules) */
.rules-drawer {
  display: none;
  padding: 0 22px 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.rules-drawer.open { display: block; }
.rules-drawer ul { margin-top: 8px; display: grid; gap: 6px; }
.rules-drawer li { padding-left: 16px; position: relative; }
.rules-drawer li::before { content: "—"; position: absolute; left: 0; color: var(--navy); }

.switch-tab-nudge {
  grid-column: 1 / -1;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 18px 22px;
  border: 1.5px dashed #d9cdb8;
  border-radius: 16px;
  background: #fff9f0;
}
.switch-tab-nudge span { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.switch-tab-nudge strong { font-size: 14.5px; color: var(--pink); font-weight: 800; }

.prize-strip {
  margin-top: 46px;
  background: linear-gradient(95deg, var(--navy), var(--purple));
  border-radius: 20px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: #fff;
}
.prize-list { display: flex; gap: 28px; flex-wrap: wrap; }
.prize-list .pl-item { text-align: center; }
.prize-list strong { display: block; font-family: "Sora", sans-serif; font-size: 22px; color: var(--amber); }
.prize-list span { font-size: 12px; color: #d8dcff; font-weight: 700; }

/* ---------- Awards ---------- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.award-card {
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.award-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,20,0.15), rgba(10,10,20,0.82));
}
.award-card img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.award-card .content { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.award-badge {
  align-self: flex-start;
  background: var(--amber);
  color: #2a1400;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.award-card h3 { margin-top: 16px; font-size: 24px; }
.award-card .aw-sub { margin-top: 4px; font-size: 13.5px; color: #f0dfff; font-weight: 600; }
.award-card ul { margin-top: 16px; display: grid; gap: 8px; }
.award-card li { font-size: 13.5px; padding-left: 18px; position: relative; color: #f2f0fb; line-height: 1.4; }
.award-card li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 900; }
.award-card .aw-foot { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.award-card .aw-cash { font-family: "Sora", sans-serif; font-size: 22px; color: var(--amber); }
.awards-grid .award-card:nth-child(3) .aw-cash { font-size: 19px; }

/* ---------- Exhibitions ---------- */
.expo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.expo-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px 18px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.expo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.expo-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.expo-item p { margin-top: 12px; font-weight: 700; font-size: 13px; color: var(--navy); line-height: 1.3; }

/* ---------- Rules ---------- */
.rules-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
}
.rules-list { display: grid; }
.rules-list li {
  display: flex;
  gap: 18px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.rules-list li:last-child { border-bottom: none; }
.rules-list .rn {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #fff0f7;
  color: var(--pink);
  font-weight: 900;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.rules-list strong { color: var(--navy); }

/* ---------- Registration ---------- */
.register-section {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.register-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.4px, transparent 1.4px);
  background-size: 20px 20px;
}
.reg-inner { position: relative; z-index: 2; }
.reg-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.reg-head h2 { font-size: clamp(28px, 4vw, 40px); }
.reg-head p { margin-top: 12px; color: #c9cdf2; font-size: 16px; }

.reg-switch {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.reg-switch button {
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reg-switch button.active { background: var(--pink); border-color: var(--pink); }

.reg-panel { display: none; }
.reg-panel.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

.reg-form {
  background: #fff;
  color: var(--ink);
  border-radius: 26px;
  padding: 40px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.5);
}
.reg-form h3 { font-size: 21px; color: var(--navy); }
.reg-form .reg-note { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }
.form-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; color: var(--navy); }
.field label .opt { font-weight: 600; color: var(--ink-soft); text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  border: 1.6px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fdfbf8;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(230,18,127,0.12);
}
.field small.hint { color: var(--ink-soft); font-size: 12px; }

.group-box {
  grid-column: 1 / -1;
  border: 1.6px dashed #d9cdb8;
  border-radius: 16px;
  padding: 18px;
  background: #fff9f0;
  display: none;
}
.group-box.show { display: block; }
.group-box .gb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.group-box .gb-head h4 { font-size: 14.5px; color: var(--navy); }
.group-box .gb-head span { font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.member-rows { margin-top: 14px; display: grid; gap: 10px; }
.member-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.member-row input { flex: 1; min-width: 0; }
.member-row .idx {
  flex: none; width: 26px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--ink-soft); font-size: 13px;
}
.member-row .rm {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: none;
  background: #ffe4e4;
  color: #c92a2a;
  font-weight: 900;
}
.add-member {
  margin-top: 12px;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
}
.add-member:disabled { opacity: 0.45; cursor: not-allowed; }

.spl-note {
  grid-column: 1 / -1;
  display: none;
  background: #eef3ff;
  border: 1px solid #c9d8ff;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: #253a7a;
  line-height: 1.55;
}
.spl-note.show { display: block; }
.spl-note strong { display: block; margin-bottom: 4px; }

.reg-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.reg-submit-row small { color: var(--ink-soft); font-size: 12.5px; max-width: 320px; }

.form-success {
  display: none;
  grid-column: 1 / -1;
  background: #eafaf0;
  border: 1px solid #b9edcb;
  color: #146c34;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
footer {
  background: #101335;
  color: #b9bdd9;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-brand img { height: 46px; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #9ea3c8; }
footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 14px; color: #b9bdd9; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; font-size: 14px; }
.footer-contact div { display: flex; gap: 10px; }
.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #7f84ab;
}

.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 70;
  display: none;
}
.sticky-cta.show { display: block; }

.whatsapp-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: #25D366;
  box-shadow: 0 12px 22px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 26px -10px rgba(37, 211, 102, 0.8); }
.whatsapp-fab .wf-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wfPulse 2.2s ease-in-out infinite;
}
.whatsapp-fab svg { width: 19px; height: 19px; }
.whatsapp-fab .wf-text {
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  white-space: nowrap;
}
@keyframes wfPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}
@media (max-width: 340px) {
  .whatsapp-fab { padding: 8px; }
  .whatsapp-fab .wf-text { display: none; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 90px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { color: #fff; font-size: 20px; font-weight: 800; }
.mobile-nav .btn { margin-top: 10px; }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255,255,255,0.1);
  border: none; color: #fff;
  width: 42px; height: 42px; border-radius: 12px;
  font-size: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .event-grid, .event-panel.active, .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .expo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-bento { grid-template-rows: auto 170px auto; gap: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .facts-card { grid-template-columns: repeat(2, 1fr); }
  .fact-item:nth-child(2n+1) { border-left: none; }
  .fact-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  section { padding: 64px 0; }
  .event-grid, .event-panel.active, .awards-grid { grid-template-columns: 1fr; }
  .expo-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .reg-form { padding: 26px 20px; }
  .topbar { display: none; }
  .prize-strip { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 100px; }
  .hero-countdown { grid-template-columns: repeat(4, 1fr); }
  .cd-box { padding: 10px 6px; }
  .cd-box strong { font-size: 21px; }
  .facts-strip { margin-top: -56px; }
  .fact-item { padding: 18px 10px; }
  .fact-item .fi-num { font-size: 19px; }
  .fact-item .fi-label { font-size: 11px; }

  .cat-tabs { display: flex; width: 100%; }
  .cat-tab { flex: 1; padding: 11px 10px; font-size: 13px; white-space: nowrap; }

  .hero-cta { flex-wrap: nowrap; gap: 10px; }
  .hero-cta .btn { flex: 1 1 0; min-width: 0; padding: 13px 10px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.25; }

  /* Surface the CTA right after the tagline, before facts/prize/countdown */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-badge { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy .tagline { order: 3; }
  .hero-cta { order: 4; margin-top: 22px; }
  .hero-facts { order: 5; margin-top: 22px; }
  .hero-teacher-link { order: 6; }
  .hero-countdown { order: 8; }
}

@media (max-width: 460px) {
  .cat-tab .tab-sub { display: none; }
  .cat-tab { font-size: 15px; }
}

@media (max-width: 360px) {
  .hero-cta .btn { font-size: 12px; padding: 12px 8px; }
}

.credit-link {
  font-weight: 700;
  color: #fff;
}
.credit-link:hover {
  color: #b9bdd9;
}

#about { overflow-x: clip; }

@media (max-width: 560px) {
  .hb-stat { padding: 14px 16px; border-radius: 16px; }
  .hb-cash strong { font-size: 22px; }
  .hb-label { font-size: 10.5px; }
  .hb-sub { font-size: 11.5px; }
  .hb-schol strong { font-size: 24px; }
  .hb-schol .hb-sub { font-size: 12.5px; }
  .hp { border-radius: 16px; border-width: 3px; }
  .hero-bento { grid-template-rows: auto 120px auto; gap: 10px; }
  .hb-schol { padding: 12px 16px; gap: 12px; }
  .hb-go { font-size: 18px; }
}

/* Visitor counter, overlaid on the dance photo */
.hb-dance { position: relative; }
.hero-visits {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.55);
}
.hero-visits[hidden] { display: none; }
.hero-visits strong { font-family: "Sora", sans-serif; font-size: 16px; color: var(--pink); }
.hv-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #12a150;
  animation: hvPulse 1.8s infinite;
}
@keyframes hvPulse {
  0% { box-shadow: 0 0 0 0 rgba(18,161,80,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(18,161,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); }
}
@media (max-width: 560px) {
  .hero-visits {
    top: 8px; right: 8px; left: 8px;
    justify-content: center; text-align: center;
    white-space: normal; border-radius: 12px;
    padding: 6px 6px; font-size: 10.5px; line-height: 1.2;
  }
  .hero-visits strong { display: block; font-size: 16px; }
  .hv-dot { display: none; }
}
