/* =========================================================
   HA SB-IPB's GOT TALENT 2026 — Design System v2
   Tema: Gebyar Kemerdekaan RI ke-81 — Merah-Putih Cerah + Emas
   Font: League Spartan (display) + Poppins (body) — dipakai juga
   di guidebook resmi acara, jadi konsisten dengan brand asli.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* --- Color tokens: merah bendera cerah + emas modern --- */
  --red-800: #8C1109;
  --red-700: #C41E17;
  --red-600: #E23428;
  --red-500: #F04A3C;
  --maroon-900: #4A0B0C;   /* dipakai terbatas: footer & aksen gelap saja */
  --gold-600: #D68A00;
  --gold-500: #F6B31A;
  --gold-300: #FBD877;
  --cream-100: #FFFFFF;
  --cream-200: #FFF8EE;
  --cream-300: #FDEFD9;
  --ink-900: #221312;
  --ink-700: #4E3A36;
  --ink-500: #83706B;
  --white: #ffffff;
  --line: rgba(34, 19, 18, 0.10);
  --shadow-red: 0 20px 45px -20px rgba(196, 30, 23, 0.4);

  /* --- Type tokens --- */
  --font-display: 'League Spartan', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: 'Poppins', sans-serif;

  /* --- Layout --- */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --flagbar-h: 6px;
  --nav-h: 88px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream-100);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.eyebrow {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-500);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--maroon-900);
  margin: 0;
  line-height: 1.06;
  font-weight: 800;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  margin-top: 10px;
  letter-spacing: -0.01em;
}

.section-lede {
  font-size: 17px;
  color: var(--ink-700);
  max-width: 620px;
  line-height: 1.65;
  margin-top: 14px;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }

/* =========================================================
   Flag topbar — strip bendera tipis di atas navbar (signature)
   ========================================================= */
.flag-topbar {
  position: fixed; top:0; left:0; right:0; z-index: 101;
  height: var(--flagbar-h);
  background: linear-gradient(90deg,
    var(--red-700) 0%, var(--red-700) 48%,
    var(--white) 48%, var(--white) 52%,
    var(--gold-500) 52%, var(--gold-500) 100%);
  background-size: 220px 100%;
}

/* =========================================================
   Merah-Putih bunting divider (signature motif — umbul-umbul)
   ========================================================= */
.bunting {
  display: flex;
  height: 24px;
  width: 100%;
  overflow: hidden;
}
.bunting span {
  flex: 1 0 24px;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid var(--red-600);
  margin: 0 1px;
  animation: bunting-sway 3.2s ease-in-out infinite;
  transform-origin: top center;
}
.bunting span:nth-child(2n) { border-top-color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.bunting span:nth-child(7n) { border-top-color: var(--gold-500); }
.bunting span:nth-child(odd) { animation-delay: -1.6s; }
@keyframes bunting-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(4deg); }
}

/* =========================================================
   Small flag icon graphic (reusable inline)
   ========================================================= */
.flag-icon { display:inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow:hidden; box-shadow: 0 0 0 1px var(--line); flex-shrink:0;}
.flag-icon span { display:block; width:100%; height:50%; }
.flag-icon span:first-child { background: var(--red-600); }
.flag-icon span:last-child { background: var(--white); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, background 0.3s, color 0.3s, border-color .3s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -18px rgba(196,30,23,0.55); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--maroon-900);
}
.btn--gold:hover { transform: translateY(-3px); }

.btn--ghost {
  background: transparent;
  color: var(--maroon-900);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--red-600); background: rgba(196,30,23,0.06); }

.btn--on-dark {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--on-dark:hover { background: rgba(255,255,255,0.18); border-color: var(--gold-300); }

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}
.btn--whatsapp:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -18px rgba(37,211,102,0.55); }

.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* =========================================================
   Navbar — latar putih solid, logo Got Talent tampil jelas
   ========================================================= */
.nav {
  position: fixed;
  top: var(--flagbar-h); left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px -18px rgba(34,19,18,0.25);
  transition: height .35s, box-shadow .35s;
}
.nav.is-scrolled {
  height: 74px;
  box-shadow: 0 10px 30px -18px rgba(34,19,18,0.3);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__brand img { height: 56px; width: auto; transition: height .35s; }
.nav.is-scrolled .nav__brand img { height: 46px; }

.nav__links {
  display: none;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.nav__links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--red-600);
  transition: right .3s ease;
}
.nav__links a:hover { color: var(--red-700); }
.nav__links a:hover::after { right: 0; }
@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__menu-btn {
  display: inline-flex; align-items:center; justify-content:center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white);
}
@media (min-width: 900px) { .nav__menu-btn { display: none; } }

.nav__mobile {
  position: fixed; inset: 78px 16px auto 16px;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
  padding: 10px;
  display: none;
  flex-direction: column;
  z-index: 99;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 14px 16px; border-radius: 12px; font-weight: 600;
  color: var(--ink-900);
}
.nav__mobile a:hover { background: var(--cream-300); }

/* =========================================================
   Hero — merah cerah, bukan gelap pekat
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--flagbar-h));
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(246,179,26,0.35), transparent 60%),
    radial-gradient(900px 550px at 5% 105%, rgba(140,17,9,0.55), transparent 60%),
    linear-gradient(165deg, var(--red-700) 0%, var(--red-600) 48%, var(--red-800) 100%);
  color: var(--cream-200);
  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: 28px 28px;
  opacity: .6;
  pointer-events: none;
}
.hero__flags {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero__ribbon {
  position: absolute;
  width: 160%; height: 240px;
  left: -30%;
  background: linear-gradient(90deg, var(--white), var(--gold-500) 50%, var(--red-800) 50%, var(--white));
  background-size: 200% 100%;
  opacity: 0.1;
  transform: rotate(-8deg);
  animation: ribbon-flow 14s linear infinite;
}
.hero__ribbon--1 { top: 4%; }
.hero__ribbon--2 { top: 58%; opacity: 0.08; animation-duration: 20s; animation-direction: reverse; }
@keyframes ribbon-flow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* Waving flag graphic — pojok hero */
.hero__flagpole {
  position: absolute; right: 6%; top: 14%;
  width: 150px; height: 320px;
  opacity: .9;
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) { .hero__flagpole { display: block; } }
.hero__flagpole svg { width: 100%; height: 100%; }
.flagwave { animation: flagwave 3.4s ease-in-out infinite; transform-origin: left center; }
@keyframes flagwave {
  0%, 100% { transform: skewY(0deg) scaleY(1); }
  50% { transform: skewY(3deg) scaleY(0.98); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
}

.hero__eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 13px;
  color: var(--white);
  display: inline-flex; align-items:center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
}
.hero__eyebrow b { color: var(--gold-300); }

.hero__title {
  margin-top: 22px;
  font-size: clamp(42px, 6.6vw, 82px);
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-300);
}

.hero__desc {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  color: var(--white);
}
.hero__meta b span { font-size: inherit; font-weight: inherit; color: inherit; text-transform: none; letter-spacing: normal; }
.hero__meta > div > span {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* Seal / stamp — signature element */
.hero__seal-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.hero__seal {
  position: relative;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-500), var(--red-800) 75%);
  border: 4px solid var(--white);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5), inset 0 0 40px rgba(0,0,0,0.25);
  display: flex; align-items:center; justify-content:center;
}
.hero__seal-ring {
  position: absolute; inset: 14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.6);
  animation: spin 40s linear infinite;
}
.hero__seal-core {
  text-align: center;
  color: var(--white);
}
.hero__seal-core .num {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.hero__seal-core .lbl {
  display:block; margin-top: 6px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero__scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items:center; gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-label); font-size: 11px; font-weight:700; letter-spacing: .1em;
  z-index: 2;
}
.hero__scroll-cue .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-300);
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* =========================================================
   Marquee strip
   ========================================================= */
.marquee {
  background: var(--maroon-900);
  color: var(--cream-200);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 0;
  animation: marquee 32s linear infinite;
  padding: 14px 0;
}
.marquee__track span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 28px;
  display: inline-flex; align-items:center; gap: 12px;
}
.marquee__track span::after { content: "★"; color: var(--gold-500); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   About / Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-red); border-color: transparent; }
.stat b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--red-700);
  display: block;
}
.stat b span { font-size: inherit; font-weight: inherit; color: inherit; display: inline; }
.stat > span {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

/* =========================================================
   Competition Cards
   ========================================================= */
.comp-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 700px) { .comp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .comp-grid { grid-template-columns: repeat(3, 1fr); } }

.comp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--maroon-900);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 20px 40px -24px rgba(34,19,18,0.35);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.comp-card:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -30px rgba(34,19,18,0.5); }
.comp-card__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
  transition: transform .8s ease;
}
.comp-card:hover .comp-card__bg { transform: scale(1.12); }
.comp-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,19,18,0.05) 0%, rgba(34,19,18,0.45) 55%, rgba(34,19,18,0.92) 100%);
}
.comp-card__icon-wrap {
  position: absolute; inset: 0;
  display: flex; align-items:center; justify-content:center;
  z-index: 1;
  opacity: .9;
}
.comp-card__icon-wrap svg { width: 42%; height: 42%; transition: transform .6s ease; opacity: .95; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.35)); }
.comp-card:hover .comp-card__icon-wrap svg { transform: scale(1.08) translateY(-6px); }
.comp-card__tag {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.95);
  color: var(--red-700);
  padding: 7px 13px;
  border-radius: 999px;
  z-index: 2;
  display: inline-flex; align-items:center; gap:6px;
}
.comp-card__body {
  position: relative; z-index: 2;
  padding: 26px 24px 28px;
  color: var(--white);
}
.comp-card__body h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
}
.comp-card__body p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.comp-card__foot {
  margin-top: 18px;
  display: flex; align-items:center; justify-content: space-between;
  gap: 10px;
}
.comp-card__link {
  display: inline-flex; align-items:center; gap: 8px;
  font-weight: 700; font-size: 13.5px;
  color: var(--gold-300);
}
.comp-card__link svg { transition: transform .3s; width: 16px; height: 16px; }
.comp-card:hover .comp-card__link svg { transform: translateX(5px); }

/* =========================================================
   Timeline
   ========================================================= */
.timeline {
  margin-top: 40px;
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--line);
}
.timeline__item {
  position: relative;
  padding-bottom: 34px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute; left: -37px; top: 2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream-100);
  border: 3px solid var(--red-600);
}
.timeline__date {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--red-700);
}
.timeline__label {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.5;
}

/* =========================================================
   Generic content blocks (detail page)
   ========================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  font-size: 11px;
  display: flex; align-items:center; justify-content:center;
}
.num-list { counter-reset: n; }
.num-list li {
  counter-increment: n;
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700);
}
.num-list li::before {
  content: counter(n);
  position: absolute; left: 0; top: -2px;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--cream-300);
  color: var(--red-700);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  display: flex; align-items:center; justify-content:center;
}

.weight-bar-row { margin-bottom: 16px; }
.weight-bar-row .top { display:flex; justify-content:space-between; font-size: 13.5px; margin-bottom: 6px; color: var(--ink-700); font-weight: 600;}
.weight-bar-track { height: 8px; border-radius: 999px; background: var(--cream-300); overflow:hidden; }
.weight-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--red-600), var(--gold-500)); width: 0%; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }

.tag {
  display: inline-flex; align-items:center; gap:6px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px; letter-spacing:.03em; text-transform: uppercase;
  background: var(--cream-300); color: var(--red-700);
  padding: 6px 12px; border-radius: 999px;
}

.prize-grid { display:grid; grid-template-columns: 1fr; gap: 16px; }
@media(min-width:700px){ .prize-grid{ grid-template-columns: repeat(2,1fr);} }
.prize-card {
  border-radius: var(--radius-md);
  padding: 22px;
  background: linear-gradient(150deg, var(--red-700), var(--maroon-900));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.prize-card::after {
  content: "🏅";
  position: absolute; right: -6px; bottom: -14px; font-size: 70px; opacity: .14;
}
.prize-card h4 { color: var(--gold-300); font-size: 18px; font-weight:800; }
.prize-card p { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,0.88); line-height:1.55; }

/* =========================================================
   Contact buttons (Narahubung)
   ========================================================= */
.contact-grid { display:grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width:700px) { .contact-grid { grid-template-columns: repeat(2,1fr); } }
.contact-btn {
  display:flex; align-items:center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--white);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.contact-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-red); border-color: transparent; }
.contact-btn__icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink:0;
  background: #25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size: 20px;
}
.contact-btn__icon.ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.contact-btn__icon svg, .ig-icon svg { width: 20px; height: 20px; }
.ig-icon { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-btn__text { min-width:0; }
.contact-btn__text b { display:block; font-size: 14px; color: var(--ink-900); }
.contact-btn__text span { display:block; font-size: 12.5px; color: var(--ink-500); margin-top:2px; }

/* =========================================================
   Detail page hero
   ========================================================= */
.detail-hero {
  padding-top: calc(var(--nav-h) + var(--flagbar-h) + 40px);
  padding-bottom: 60px;
  background: linear-gradient(165deg, var(--red-700), var(--red-800));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.detail-hero::before {
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.6px, transparent 1.6px);
  background-size: 28px 28px;
}
.detail-hero__inner { position:relative; z-index:1; }
.detail-hero .tag { background: rgba(255,255,255,0.16); color: var(--gold-300); }
.detail-hero h1 { margin-top: 16px; color: var(--white); font-size: clamp(32px,5vw,54px); text-transform: uppercase; }
.detail-hero .lede { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,0.9); max-width: 640px; line-height: 1.7;}
.detail-hero__meta {
  margin-top: 30px; display:flex; flex-wrap:wrap; gap: 14px;
}
.meta-pill {
  display:flex; align-items:center; gap:8px;
  background: rgba(0,0,0,0.16); border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight:500;
}
.detail-hero__actions { margin-top: 30px; display:flex; gap:14px; flex-wrap:wrap; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1.6fr 1fr; } }

.detail-block { margin-bottom: 48px; }
.detail-block:last-child { margin-bottom: 0; }
.detail-block h2 { font-size: 25px; margin-bottom: 20px; font-weight:800; }

.sidebar-card { margin-bottom: 20px; }
.sidebar-card h4 {
  font-family: var(--font-label); font-weight:700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--red-700); margin-bottom: 14px;
}

.game-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
}
.game-card h4 { font-family: var(--font-display); font-weight:800; font-size: 20px; color: var(--red-700); }
.game-card .meta { font-family: var(--font-label); font-weight:700; font-size: 11.5px; text-transform: uppercase; letter-spacing:.04em; color: var(--gold-600); margin-top: 4px; display:block; }
.game-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-700); }
.game-card .scoring { margin-top: 10px; font-size: 13.5px; color: var(--red-700); font-weight: 700; }

/* =========================================================
   Forms
   ========================================================= */
.form-shell {
  max-width: 760px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 46px);
  box-shadow: var(--shadow-red);
}
.field { margin-bottom: 22px; }
.field label {
  display:block; font-size: 13.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px;
}
.field .hint { font-size: 12.5px; color: var(--ink-500); margin-top: 6px; }
.field input[type=text],
.field input[type=tel],
.field input[type=url],
.field input[type=email],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--cream-200);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(196,30,23,0.12);
}
.field-checkbox-group { display:flex; flex-wrap:wrap; gap: 10px; }
.chk-pill {
  display:inline-flex; align-items:center; gap:8px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 15px; font-size: 13.5px; cursor:pointer;
  transition: all .25s;
}
.chk-pill input { accent-color: var(--red-600); }
.chk-pill:has(input:checked) { border-color: var(--red-600); background: rgba(196,30,23,0.06); color: var(--red-700); font-weight:700;}

.form-msg {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: 14px; display:none;
}
.form-msg.show { display:block; }
.form-msg.success { background: #E7F5EA; color: #1E6B33; border: 1px solid #b7e0c1; }
.form-msg.error { background: #FBEAEA; color: #A32A2A; border: 1px solid #f2c1c1; }

/* Roster (tim/anggota) repeater */
.roster-intro { font-size: 13px; color: var(--ink-500); margin-bottom: 14px; }
.roster-row {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  background: var(--cream-200);
  position: relative;
}
.roster-row__label {
  font-family: var(--font-label); font-weight:700; font-size: 12px; text-transform:uppercase; letter-spacing:.04em;
  color: var(--red-700); margin-bottom: 12px; display:flex; align-items:center; justify-content:space-between;
}
.roster-row__grid { display:grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .roster-row__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.roster-row__grid input, .roster-row__grid select {
  width:100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 14px; background: var(--white);
}
.roster-row__remove {
  background: none; border:none; color: var(--red-700); font-weight:700; font-size: 12.5px;
  display:flex; align-items:center; gap:4px;
}
.roster-add-btn {
  width:100%; padding: 13px; border-radius: 12px; border: 1.5px dashed var(--red-600);
  background: rgba(196,30,23,0.04); color: var(--red-700); font-weight:700; font-size: 14px;
  margin-top: 4px; transition: background .25s;
}
.roster-add-btn:hover { background: rgba(196,30,23,0.09); }
.roster-add-btn[disabled] { opacity:.4; cursor:not-allowed; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--maroon-900);
  color: rgba(255,255,255,0.78);
  padding-top: 70px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logos { display:flex; align-items:center; gap: 14px; flex-wrap: wrap; }
.footer__logo-chip {
  display:flex; align-items:center; justify-content:center;
  background: var(--white);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.35);
}
.footer__logo-chip img { height: 40px; width: auto; opacity: 1; }
.footer__brand p { font-size: 14px; line-height: 1.65; max-width: 380px; }
.footer h5 {
  font-family: var(--font-label); font-weight:700; font-size: 12.5px; text-transform: uppercase; letter-spacing:.05em;
  color: var(--gold-300); margin-bottom: 18px;
}
.footer__links a, .footer__ig a {
  display: flex; align-items:center; gap: 10px;
  padding: 9px 0; font-size: 14.5px; color: rgba(255,255,255,0.78);
  transition: color .25s, transform .25s;
}
.footer__links a:hover, .footer__ig a:hover { color: var(--gold-300); transform: translateX(4px); }

.footer__bcos {
  margin-top: 40px;
  padding: 26px 0 30px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
@media (min-width: 760px) {
  .footer__bcos { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__bcos-brand { display:flex; align-items:center; gap: 14px; }
.footer__bcos-brand img { height: 36px; filter: brightness(0) invert(1); opacity:.92; }
.footer__bcos-brand div { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.6); }
.footer__bcos-brand b { display:block; color: rgba(255,255,255,0.92); font-size: 13.5px; }
.footer__bcos-ig {
  display: inline-flex; align-items:center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--gold-300);
  border: 1px solid rgba(246,179,26,0.45); padding: 9px 16px; border-radius: 999px;
  transition: background .25s;
}
.footer__bcos-ig:hover { background: rgba(246,179,26,0.12); }

.footer__bunting-strip { display:flex; height: 16px; }
.footer__bunting-strip span { flex:1; }
.footer__bunting-strip span:nth-child(odd) { background: var(--red-600); }
.footer__bunting-strip span:nth-child(even) { background: var(--white); }

.footer__bottom {
  padding: 20px 0 26px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* =========================================================
   Reveal-on-scroll animation utility
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: .05s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .12s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .19s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .26s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .33s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .4s; }

/* =========================================================
   Admin
   ========================================================= */
.admin-shell { min-height: 100vh; background: var(--cream-200); }
.admin-login {
  min-height: 100vh; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(165deg, var(--red-700), var(--maroon-900));
  padding: 24px;
}
.admin-login__card {
  width: 100%; max-width: 400px;
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
}
.admin-topbar {
  height: 76px; background: var(--white); border-bottom: 1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; padding: 0 24px;
  position: sticky; top:0; z-index: 20;
}
.admin-topbar__brand { display:flex; align-items:center; gap:12px; font-weight:800; font-family: var(--font-display); }
.admin-topbar__brand img { height: 40px; }

.admin-layout { display:flex; }
.admin-sidebar {
  width: 220px; flex-shrink:0; background: var(--white); border-right: 1px solid var(--line);
  min-height: calc(100vh - 76px);
  padding: 20px 14px;
}
.admin-sidebar a, .admin-sidebar button {
  width:100%; display:flex; align-items:center; gap: 10px;
  padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight:600;
  color: var(--ink-700); margin-bottom: 4px; background:none; border:none; text-align:left;
}
.admin-sidebar a.is-active, .admin-sidebar a:hover, .admin-sidebar button:hover {
  background: var(--cream-300); color: var(--red-700);
}
.admin-main { flex:1; padding: 30px; max-width: 100%; overflow-x:auto; }

.admin-stats { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 18px; margin-bottom: 30px; }
.admin-stat { background:var(--white); border:1px solid var(--line); border-radius: 16px; padding: 20px; }
.admin-stat b { font-family: var(--font-display); font-weight:800; font-size: 32px; color: var(--red-700); display:block; }
.admin-stat span { font-size: 12.5px; color: var(--ink-500); }

.admin-toolbar { display:flex; flex-wrap:wrap; gap: 12px; align-items:center; margin-bottom: 18px; justify-content: space-between;}
.admin-toolbar__filters { display:flex; gap: 10px; flex-wrap:wrap; }
.select-chip {
  padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 13.5px; font-weight:600;
}

.table-wrap { background:var(--white); border:1px solid var(--line); border-radius: 16px; overflow:hidden; }
table { width:100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
thead th {
  text-align:left; padding: 14px 16px; background: var(--cream-300); color: var(--red-800);
  font-family: var(--font-label); font-weight:700; font-size: 11px; text-transform:uppercase; letter-spacing:.04em;
  position: sticky; top:0;
}
tbody td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:hover { background: rgba(196,30,23,0.03); }
.status-badge {
  display:inline-block; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight:700;
  text-transform: capitalize;
}
.status-badge.pending { background:#FCEFD6; color:#8A5A00; }
.status-badge.verified { background:#DFF3E4; color:#1E6B33; }
.status-badge.rejected { background:#FBEAEA; color:#A32A2A; }

.icon-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--white); display:inline-flex; align-items:center; justify-content:center;
  margin-right: 4px; transition: background .2s;
}
.icon-btn:hover { background: var(--cream-300); }

.empty-state { text-align:center; padding: 60px 20px; color: var(--ink-500); }

/* Modal */
.modal-backdrop {
  position: fixed; inset:0; background: rgba(34,19,18,0.55); backdrop-filter: blur(4px);
  display:none; align-items:center; justify-content:center; z-index: 200; padding: 20px;
}
.modal-backdrop.is-open { display:flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 560px; width:100%;
  max-height: 85vh; overflow-y:auto; padding: 30px;
}
.modal h3 { font-size: 20px; margin-bottom: 18px; font-weight:800; }
.modal .kv { display:flex; justify-content:space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px;}
.modal .kv b { color: var(--ink-500); font-weight:600; }
.modal .kv span { text-align:right; }

/* Utility */
.flex { display:flex; }
.items-center { align-items:center; }
.gap-8 { gap:8px; }
.gap-12 { gap:12px; }
.mt-24 { margin-top:24px; }
.text-center { text-align:center; }
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}