:root {
  --ink: #1e1e19;
  --ink-soft: #4a4a42;
  --paper: #f4f4f1;
  --panel: #ffffff;
  --line: #c2cccc;
  --line-strong: #9ca8a8;
  --rust: #bf4419;
  --rust-deep: #8f3110;
  --mauve: #c67188;
  --gold: #e4c697;
  --red: #cc3315;
  --grad: linear-gradient(120deg, #c67188 0%, #e4c697 52%, #cc3315 100%);
  --grad-tight: linear-gradient(120deg, #cc3315, #bf4419);
  --shadow: 0 18px 40px -22px rgba(30, 30, 25, 0.35);
  --font-display:
    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:
    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #1e1e19;
    --paper: #f4f4f1;
    --panel: #ffffff;
  }
}
:root[data-theme="dark"] {
  --ink: #1e1e19;
  --paper: #f4f4f1;
  --panel: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px));
}
html,
body {
  height: auto;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
a {
  color: var(--rust);
}

/* ---------- language switch ---------- */
.lang-switch {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 16px;
  z-index: 61;
  display: flex;
  background: rgba(244, 244, 241, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 6px 16px -8px rgba(30, 30, 25, 0.3);
  backdrop-filter: blur(6px);
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  background: none;
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.lang-btn.active {
  background: var(--ink);
  color: #f4f4f1;
}
@media (max-width: 720px) {
  .lang-switch {
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: 10px;
  }
  .lang-btn {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

/* ---------- progress bar ---------- */
#progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(30, 30, 25, 0.08);
  z-index: 60;
}
#progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad);
  transition: width 0.15s linear;
}

/* ---------- hero with background image ---------- */

.hero {
  position: relative;
  padding: 100px 0 84px;

  background-color: #1e1e19;
  background-image: url("../gallery/monas-hero.jpg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;

  overflow: hidden;
  isolation: isolate;
}

/* Dark overlay for readable text */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(20, 20, 17, 0.82) 0%,
    rgba(20, 20, 17, 0.60) 55%,
    rgba(20, 20, 17, 0.35) 100%
  );

  z-index: 0;
}

/* Keep hero text above the overlay */
.hero .wrap {
  position: relative;
  z-index: 1;
}

/* Tablet */
@media (min-width: 681px) and (max-width: 1024px) {
  .hero {
    padding: 88px 0 72px;
    background-position: center center;
  }

  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(20, 20, 17, 0.78),
      rgba(20, 20, 17, 0.48)
    );
  }
}

/* Mobile */
@media (max-width: 680px) {
  .hero {
    padding: 76px 0 56px;
    background-position: 60% center;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(20, 20, 17, 0.68),
      rgba(20, 20, 17, 0.78)
    );
  }
}

.sprockets {
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 2;

  background-image: linear-gradient(
    90deg,
    rgba(244, 244, 241, 0.9) 0,
    rgba(244, 244, 241, 0.9) 18px,
    transparent 18px,
    transparent 26px
  );

  background-size: 60px 8px;
  background-position: 13px center;
  background-repeat: repeat-x;

  opacity: 0.85;
}
.sprockets.top {
  top: 0;
}
.sprockets.bottom {
  bottom: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #f4f4f1;
}
.clap {
  width: 40px;
  height: 34px;
  flex: 0 0 auto;
}
.hero-kicker span {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f4f4f1;
  opacity: 0.92;
}
h1.headline {
  font-family: var(--font-display);
  font-weight: 700;
  /* font-style: italic; */
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.03;
  margin: 0 0 20px;
  color: #f8f7f3;
  /* max-width: 15ch; */
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.18);
}
.hero p.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 46ch;
  color: #f4f0e8;
  margin: 0 0 6px;
}
.hero p.sub {
  font-size: 0.92rem;
  color: #f4f0e8;
  opacity: 0.82;
  margin: 0;
}

/* ---------- step rail ---------- */
.step-nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.step-nav .wrap {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  scrollbar-width: none;
}
.step-nav .wrap::-webkit-scrollbar {
  display: none;
}
.step-link {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.step-link .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 0.82rem;
  background: var(--line);
  color: var(--ink);
  flex: 0 0 auto;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.step-link.active {
  border-color: transparent;
  background: var(--ink);
  color: #f4f4f1;
}
.step-link.active .num {
  background: var(--grad);
  color: #fff;
}

/* ---------- layout / filmstrip frame ---------- */
.stage {
  padding: 56px 0 100px;
}
.frame {
  display: grid;
  grid-template-columns: 26px 1fr 26px;
  align-items: stretch;
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: 6px;
  overflow: hidden;
}
.reel-edge {
  background: var(--ink);
  background-image: radial-gradient(
    circle,
    var(--paper) 5.2px,
    transparent 5.6px
  );
  background-size: 26px 26px;
  background-position: center 8px;
}
form {
  padding: 8px clamp(20px, 4vw, 64px) 12px;
}

section.block {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}
section.block:last-of-type {
  border-bottom: none;
}
.block-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
}
.block-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 2.1rem;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  flex: 0 0 auto;
}
.block-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
  color: var(--ink);
}
.block-head p {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 28px;
}
.grid.cols-1 {
  grid-template-columns: 1fr;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}

.sub-field {
  grid-column: 1 / -1;
  max-height: 0;
  opacity: 0;
  margin-top: -26px;
  pointer-events: none;
  overflow: hidden;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    margin-top 0.28s ease;
}
.sub-field.show {
  max-height: 110px;
  opacity: 1;
  margin-top: 0;
  pointer-events: auto;
}
label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  gap: 5px;
  align-items: center;
}
label .req {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rust);
  display: inline-block;
}
label .opt {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line-strong);
  padding: 9px 2px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' stroke='%231E1E19' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}
textarea {
  resize: vertical;
  min-height: 64px;
  font-family: var(--font-body);
}
input::placeholder,
textarea::placeholder {
  color: #9a9a90;
}
input:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--rust);
}
input:invalid:not(:placeholder-shown) {
  border-bottom-color: var(--red);
}

.hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: -2px;
}

/* ---------- pemisah dua kelompok field di section gabungan (02) ---------- */
.field-divider {
  height: 1px;
  margin: 8px 0 28px;
  background: var(--line);
}
.field-subheading {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 680px) {
  .field-divider {
    margin: 4px 0 22px;
  }
  .field-subheading {
    margin-bottom: 16px;
    font-size: 0.72rem;
  }
}

/* chip groups */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1.4px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    transform 0.12s ease;
}
.chip:hover {
  border-color: var(--rust);
}
.chip.is-selected {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.chip:active {
  transform: scale(0.97);
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* consent rows */
.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.consent:first-of-type {
  border-top: none;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1.6px solid var(--line-strong);
  border-radius: 5px;
  margin-top: 2px;
  display: grid;
  place-content: center;
  cursor: pointer;
  background: var(--panel);
  transition:
    border-color 0.16s ease,
    background 0.16s ease;
}
.consent input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.12s ease;
  background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 45% 62%);
}
.consent input[type="checkbox"]:checked {
  background: var(--grad-tight);
  border-color: transparent;
}
.consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.consent label {
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.consent label b {
  color: var(--ink);
  font-weight: 600;
}

/* submit */
.submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 38px;
}
.submit-row p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0;
}
button.cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--grad-tight);
  border: none;
  border-radius: 999px;
  padding: 15px 34px;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 26px -12px rgba(191, 68, 25, 0.55);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}
button.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}
button.cta:active {
  transform: translateY(0);
}
button.cta:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.error-banner {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  background: rgba(204, 51, 21, 0.08);
  border: 1px solid rgba(204, 51, 21, 0.35);
  color: var(--rust-deep);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
}
.error-banner.show {
  display: flex;
}

/* success ticket */
.ticket {
  display: none;
  padding: 64px clamp(20px, 5vw, 72px) 70px;
  text-align: center;
}
.ticket.show {
  display: block;
}
.ticket .stub {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1.6px dashed var(--line-strong);
  border-radius: 14px;
  padding: 40px clamp(24px, 6vw, 60px);
  background: linear-gradient(180deg, #fff, #fbfaf7);
}
.ticket .badge {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.ticket h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 2px 0 4px;
}
.ticket p {
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto;
}
.ticket .code {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
  margin-top: 6px;
  color: var(--ink);
}
.ticket button.again {
  margin-top: 0;
  background: none;
  border: none;
  text-decoration: underline;
  color: var(--rust);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

/* QR block */
.qr-wrap {
  margin-top: 8px;
}
.qr-wrap img {
  width: 190px;
  height: 190px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fff;
  margin: 0 auto;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(244, 240, 232, 0.7);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

/* Logo footer */
footer .foot-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* Logo utama JFS */
footer .foot-brand > img {
  display: block;
  flex: 0 1 auto;
  width: auto !important;
  height: 48px !important;
  max-width: 260px;
  object-fit: contain;
}

/* Garis pemisah */
footer .foot-brand .foot-sep {
  flex: 0 0 1px;
  width: 1px;
  height: 40px;
  background: rgba(244, 240, 232, 0.28);
}

/* Logo mitra */
footer .foot-brand .foot-partner {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: transform 0.18s ease;
}

footer .foot-brand .foot-partner img {
  display: block;
  width: auto !important;
  height: 48px !important;
  max-width: 110px;
  object-fit: contain;
}

footer .foot-brand .foot-partner:hover {
  transform: translateY(-2px);
}

/* Deskripsi */
footer p {
  font-size: 0.88rem;
  max-width: 36ch;
  line-height: 1.6;
  margin: 0;
}

/* Judul kolom */
footer h5 {
  color: #f4f0e8;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

/* Navigasi dan kontak */
footer .flinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .flinks a {
  color: rgba(244, 240, 232, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

footer .flinks a:hover {
  color: #f4f0e8;
}

/* Copyright */
.foot-bottom {
  border-top: 1px solid rgba(244, 240, 232, 0.12);
  padding: 22px 0 40px;
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* Tablet */
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
  }
}

/* HP */
@media (max-width: 700px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 30px;
  }

  footer .foot-brand {
    gap: 12px;
  }

  footer .foot-brand > img {
    height: 42px !important;
    max-width: 200px;
  }

  footer .foot-brand .foot-sep {
    height: 32px;
  }

  footer .foot-brand .foot-partner {
    height: 42px;
  }

  footer .foot-brand .foot-partner img {
    height: 42px !important;
    max-width: 100px;
  }

  .foot-bottom {
    padding-bottom: 28px;
  }
}

/* HP kecil: logo boleh turun baris jika ruang sempit */
@media (max-width: 380px) {
  footer .foot-brand {
    gap: 12px;
  }

  footer .foot-brand .foot-sep {
    display: none;
  }
}

/* ---------- mobile ---------- */
@media (max-width: 680px) {
  .hero {
    padding: 64px 0 48px;
  }
  h1.headline {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .step-nav .wrap {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .step-link {
    font-size: 0.78rem;
    padding: 6px 12px 6px 6px;
  }
  .step-link .num {
    width: 20px;
    height: 20px;
    font-size: 0.76rem;
  }

  .stage {
    padding: 32px 0 60px;
  }
  form {
    padding: 6px 16px 8px;
  }
  section.block {
    padding: 34px 0;
  }
  .block-head {
    gap: 12px;
    margin-bottom: 22px;
  }
  .block-num {
    font-size: 1.6rem;
  }
  .block-head h2 {
    font-size: 1.2rem;
  }
  .block-head p {
    font-size: 0.86rem;
  }

  /* the two-column field grid was never collapsing on phones — fix that */
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chips {
    gap: 8px;
  }
  .chip {
    padding: 8px 13px;
    font-size: 0.84rem;
  }

  .submit-row {
    flex-direction: column;
    align-items: stretch;
    padding-top: 28px;
  }
  .submit-row p {
    max-width: none;
  }
  button.cta {
    width: 100%;
    padding: 15px 20px;
  }

  .ticket {
    padding: 44px 18px 50px;
  }
  .ticket .stub {
    padding: 30px 20px;
    width: 100%;
  }
  .qr-wrap img {
    width: 160px;
    height: 160px;
  }
}

/* =======================================================
   REGISTRATION — MOBILE FIX
   Prevent overlapping / overflow on phones
======================================================= */

@media (max-width: 680px) {
  /* =====================================================
     GLOBAL
  ===================================================== */

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* =====================================================
     HERO
  ===================================================== */

  .hero {
    padding: 88px 0 52px;
  }

  .hero .wrap {
    width: 100%;
  }

  .hero-kicker {
    gap: 8px;
    margin-bottom: 16px;
  }

  .clap {
    width: 32px;
    height: 28px;
  }

  .hero-kicker span {
    font-size: 0.82rem;
  }

  h1.headline {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    max-width: 11ch;
  }

  .hero p.lead {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero p.sub {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* =====================================================
     STEP NAVIGATION
  ===================================================== */

  .step-nav {
    overflow: hidden;
  }

  .step-nav .wrap {
    width: 100%;
    max-width: 100%;

    padding: 9px 16px;

    gap: 7px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .step-nav .wrap::-webkit-scrollbar {
    display: none;
  }

  .step-link {
    flex: 0 0 auto;

    font-size: 0.76rem;

    padding: 6px 11px 6px 6px;

    gap: 7px;
  }

  .step-link .num {
    width: 20px;
    height: 20px;

    font-size: 0.72rem;
  }

  /* =====================================================
     MAIN STAGE
  ===================================================== */

  .stage {
    width: 100%;
    max-width: 100%;

    padding: 24px 0 50px;

    overflow: hidden;
  }

  /* =====================================================
     FILMSTRIP FRAME
  ===================================================== */

  .frame {
    width: 100%;
    max-width: 100%;

    /*
      Desktop:
      26px | FORM | 26px

      Mobile:
      hilangkan reel samping supaya
      form mendapat seluruh lebar layar.
    */
    grid-template-columns: 1fr;

    border-radius: 12px;

    overflow: hidden;
  }

  .reel-edge {
    display: none;
  }

  /* =====================================================
     FORM
  ===================================================== */

  form {
    width: 100%;
    max-width: 100%;

    padding: 4px 16px 20px;

    box-sizing: border-box;

    overflow: hidden;
  }

  /* =====================================================
     SECTION
  ===================================================== */

  section.block {
    width: 100%;
    max-width: 100%;

    padding: 30px 0;

    overflow: hidden;
  }

  .block-head {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 22px;
  }

  .block-num {
    flex: 0 0 auto;

    font-size: 1.45rem;

    line-height: 1;
  }

  .block-head > div {
    min-width: 0;
  }

  .block-head h2 {
    font-size: 1.12rem;

    line-height: 1.3;

    overflow-wrap: anywhere;
  }

  .block-head p {
    font-size: 0.8rem;

    line-height: 1.5;

    overflow-wrap: anywhere;
  }

  /* =====================================================
     FIELD GRID
  ===================================================== */

  .grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr);

    width: 100%;
    max-width: 100%;

    gap: 22px;

    min-width: 0;
  }

  .field,
  .field.full,
  .sub-field {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    grid-column: 1 / -1;
  }

  .field {
    gap: 7px;
  }

  /* =====================================================
     LABEL
  ===================================================== */

  label {
    max-width: 100%;

    font-size: 0.8rem;

    line-height: 1.35;

    overflow-wrap: anywhere;
  }

  label .opt {
    font-size: 0.7rem;
  }

  /* =====================================================
     INPUT
  ===================================================== */

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    font-size: 16px;

    padding: 10px 2px;

    box-sizing: border-box;
  }

  /*
    16px penting di iPhone supaya Safari
    tidak melakukan auto-zoom ketika input disentuh.
  */

  select {
    padding-right: 24px;

    text-overflow: ellipsis;
  }

  textarea {
    min-height: 90px;

    line-height: 1.5;

    overflow-wrap: anywhere;
  }

  input::placeholder,
  textarea::placeholder {
    font-size: 0.88rem;
  }

  /* =====================================================
     HINT
  ===================================================== */

  .hint {
    font-size: 0.7rem;

    line-height: 1.45;

    max-width: 100%;

    overflow-wrap: anywhere;
  }

  /* =====================================================
     SUB FIELD / OTHER
  ===================================================== */

  .sub-field {
    margin-top: -12px;

    max-height: 0;

    overflow: hidden;
  }

  .sub-field.show {
    max-height: 180px;

    margin-top: 0;
  }

  /* =====================================================
     CHIPS
  ===================================================== */

  .chips {
    width: 100%;
    max-width: 100%;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    min-width: 0;
  }

  .chip {
    flex: 0 1 auto;

    max-width: 100%;

    padding: 8px 12px;

    font-size: 0.76rem;

    line-height: 1.3;

    white-space: normal;

    overflow-wrap: anywhere;

    text-align: center;
  }

  /* =====================================================
     CONSENT
  ===================================================== */

  .consent {
    width: 100%;
    max-width: 100%;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 14px 0;
  }

  .consent input[type="checkbox"] {
    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    margin-top: 2px;
  }

  .consent label {
    flex: 1;

    min-width: 0;

    font-size: 0.78rem;

    line-height: 1.5;

    overflow-wrap: anywhere;
  }

  /* =====================================================
     ERROR
  ===================================================== */

  .error-banner {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    padding: 11px 13px;

    margin-bottom: 20px;

    font-size: 0.78rem;

    line-height: 1.45;

    overflow-wrap: anywhere;
  }

  /* =====================================================
     SUBMIT
  ===================================================== */

  .submit-row {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 16px;

    padding-top: 26px;
  }

  .submit-row p {
    width: 100%;
    max-width: none;

    font-size: 0.72rem;

    line-height: 1.5;

    margin: 0;
  }

  button.cta {
    width: 100%;

    max-width: 100%;

    box-sizing: border-box;

    padding: 14px 18px;

    font-size: 0.92rem;
  }

  /* =====================================================
     SUCCESS TICKET
  ===================================================== */

  .ticket {
    width: 100%;
    max-width: 100%;

    padding: 40px 16px 46px;

    box-sizing: border-box;

    overflow: hidden;
  }

  .ticket .stub {
    width: 100%;
    max-width: 100%;

    padding: 28px 16px;

    box-sizing: border-box;

    border-radius: 12px;

    overflow: hidden;
  }

  .ticket h2 {
    font-size: 1.6rem;

    line-height: 1.2;

    overflow-wrap: anywhere;
  }

  .ticket p {
    max-width: 100%;

    font-size: 0.82rem;

    line-height: 1.5;
  }

  .ticket .code {
    max-width: 100%;

    font-size: 0.8rem;

    padding: 8px 12px;

    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* =====================================================
     QR
  ===================================================== */

  .qr-wrap img {
    width: 150px;
    height: 150px;

    padding: 9px;

    border-radius: 10px;
  }

  /* =====================================================
     FOOTER
  ===================================================== */

  .foot-grid {
    grid-template-columns: 1fr;

    gap: 26px;

    padding: 40px 0 30px;
  }

  .foot-brand img {
    width: 130px;
  }

  footer p {
    font-size: 0.8rem;

    line-height: 1.55;
  }

  footer h5 {
    font-size: 0.74rem;

    margin-bottom: 12px;
  }

  footer .flinks {
    gap: 8px;
  }

  footer .flinks a {
    font-size: 0.8rem;
  }

  .foot-bottom {
    flex-direction: column;

    align-items: flex-start;

    gap: 6px;

    padding: 18px 0 30px;

    font-size: 0.7rem;
  }
}

/* =======================================================
   EXTRA SMALL PHONE
======================================================= */

@media (max-width: 400px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 82px;
    padding-bottom: 46px;
  }

  h1.headline {
    font-size: 2rem;
  }

  .hero-kicker span {
    font-size: 0.76rem;
  }

  form {
    padding-left: 14px;
    padding-right: 14px;
  }

  .grid {
    gap: 19px;
  }

  .chip {
    padding: 7px 10px;

    font-size: 0.72rem;
  }

  .consent label {
    font-size: 0.74rem;
  }

  button.cta {
    font-size: 0.88rem;
  }
}

/* =======================================================
   DAY SELECTION CARDS
======================================================= */
.day-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
label.day-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 22px 20px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 400;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}
/* hari yang kuotanya penuh */
label.day-card.is-full {
  cursor: not-allowed;
  background: #ecebe6;
  border: 1.5px dashed var(--line-strong);
  box-shadow: none;
}
label.day-card.is-full:hover {
  border-color: var(--line-strong);
}
.day-card.is-full > :not(.day-badge) {
  opacity: 0.45;
  filter: grayscale(1);
}
.day-card.is-full .day-check {
  display: none;
}

.day-badge {
  position: absolute;
  top: 16px;
  right: 52px; /* di kiri lingkaran centang */
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.day-badge[hidden] {
  display: none;
}
.day-badge.low {
  background: rgba(191, 68, 25, 0.12);
  color: var(--rust-deep);
}
.day-badge.full {
  right: 16px;
  background: var(--ink);
  color: #fff;
}
.day-card:hover {
  border-color: var(--rust);
}
.day-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.day-card:has(input:focus-visible) {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
.day-card:has(input:checked) {
  border-color: var(--rust);
  background: rgba(191, 68, 25, 0.045);
  box-shadow: 0 0 0 1px var(--rust);
}
.day-check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border: 1.6px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--panel);
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}
.day-check::before {
  content: "";
  width: 11px;
  height: 11px;
  background: #fff;
  transform: scale(0);
  transition: transform 0.12s ease;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 45% 62%);
}
.day-card:has(input:checked) .day-check {
  background: var(--grad-tight);
  border-color: transparent;
}
.day-card:has(input:checked) .day-check::before {
  transform: scale(1);
}
.day-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
/* Baris atas card: "Day N" + logo kolaborasi */
.day-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 40px; /* sisakan ruang untuk lingkaran centang di kanan atas */
}

/* Logo JEF berwarna putih, jadi diberi latar gelap agar terbaca */
.day-collab {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 4px 10px;
  border-radius: 10px;
  /* background: var(--ink); */
}
.day-collab img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

@media (max-width: 680px) {
  .day-top { gap: 10px; }
  .day-collab { height: 38px; padding: 3px 8px; }
  .day-collab img { max-width: 100px; }
}
.day-date {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rust-deep);
}
.day-card h3 {
  margin: 16px 0 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.day-card p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.day-card ul {
  list-style: none;
  width: 100%;
  margin: auto 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.day-card li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.day-card li:last-child {
  border-bottom: 0;
}
.day-card li b {
  color: var(--ink);
  font-weight: 700;
}
.day-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.day-summary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.day-all {
  background: none;
  border: none;
  padding: 0;
  color: var(--rust);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: underline;
  cursor: pointer;
}
.days-error {
  display: none;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--red);
}
.days-error.show {
  display: block;
}
.ticket .ticket-days {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rust-deep);
}
@media (max-width: 900px) {
  .day-cards {
    grid-template-columns: 1fr;
  }
}

/* =======================================================
   MULTI-SELECT DROPDOWN (tujuan menghadiri)
======================================================= */
.multi {
  position: relative;
}
.multi-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line-strong);
  border-radius: 0;
  padding: 9px 2px;
  cursor: pointer;
}
.multi-btn:focus-visible,
.multi.open .multi-btn {
  outline: none;
  border-bottom-color: var(--rust);
}
.multi-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.multi-text.is-placeholder {
  color: #9a9a90;
}
.caret {
  width: 14px;
  height: 9px;
  flex: 0 0 auto;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' stroke='%231E1E19' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    no-repeat center;
  transition: transform 0.18s ease;
}
.multi.open .caret {
  transform: rotate(180deg);
}
.multi-panel {
  display: none;
  margin-top: 8px;
  padding: 6px;
  border: 1.4px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
}
.multi.open .multi-panel {
  display: block;
}
.multi-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
}
.multi-opt:hover {
  background: rgba(191, 68, 25, 0.06);
}
.multi-opt input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-content: center;
  border: 1.6px solid var(--line-strong);
  border-radius: 5px;
  background: var(--panel);
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease;
}
.multi-opt input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  transform: scale(0);
  transition: transform 0.12s ease;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 45% 62%);
}
.multi-opt input[type="checkbox"]:checked {
  background: var(--grad-tight);
  border-color: transparent;
}
.multi-opt input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.multi-opt input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

/* consent tunggal: tanpa garis atas */
#s3 .consent {
  border-top: none;
  padding-top: 0;
}
.consent label a {
  font-weight: 600;
}

/* =======================================================
   TERMS & CONDITIONS POPUP
======================================================= */
body.modal-open {
  overflow: hidden;
}
.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.terms-modal.open {
  display: flex;
}
.terms-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 8, 0.7);
  backdrop-filter: blur(4px);
}
.terms-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(720px, 90vh);
  display: flex;
  flex-direction: column;
  padding: 32px 32px 24px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}
.terms-dialog h2 {
  margin: 0 40px 8px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.terms-intro {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.terms-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 10px 4px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.terms-body h3 {
  margin: 18px 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}
.terms-body p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.terms-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
}
.terms-actions .cta {
  padding: 12px 30px;
}
.terms-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.terms-x:hover {
  border-color: var(--rust);
}

@media (max-width: 680px) {
  .multi-btn {
    font-size: 16px;
  }
  .multi-opt {
    font-size: 0.84rem;
    padding: 10px;
  }
  .terms-modal {
    padding: 12px;
  }
  .terms-dialog {
    padding: 26px 20px 18px;
    max-height: 92vh;
  }
  .terms-dialog h2 {
    font-size: 1.2rem;
  }
  .terms-actions .cta {
    width: 100%;
  }
}

/* Card Day 3: bukan <label>, jadi samakan style dasarnya */
div.day-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
}

.day-groups {
  width: 100%;
  margin: auto 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.day-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.day-group b {
  font-size: 0.86rem;
  color: var(--rust-deep);
}

/* Day 3 — Premium registration buttons */
.day-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  width: 100%;
  min-height: 58px;
  padding: 17px 20px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;

  background: linear-gradient(
    135deg,
    #bf4419 0%,
    #a83716 55%,
    #8f3110 100%
  );

  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;

  box-shadow:
    0 6px 16px rgba(143, 49, 16, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  overflow: hidden;
}

/* Panah di ujung tombol */
.day-cta::after {
  content: "↗";
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;

  width: 30px;
  height: 30px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

/* Efek saat kursor diarahkan ke tombol */
.day-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    #d45425 0%,
    #bf4419 55%,
    #9d3511 100%
  );

  box-shadow:
    0 12px 24px rgba(143, 49, 16, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.day-cta:hover::after {
  transform: translate(2px, -2px);
  background: rgba(255, 255, 255, 0.25);
}

.day-cta:active {
  transform: translateY(-1px);
}

.day-cta:focus-visible {
  outline: 3px solid #e4c697;
  outline-offset: 4px;
}

/* Penyesuaian layar HP */
@media (max-width: 680px) {
  .day-cta {
    min-height: 54px;
    padding: 15px 16px;
    border-radius: 12px;
    font-size: 14px;
  }

  .day-cta::after {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .day-cta,
  .day-cta::after {
    transition: none;
  }
}


/* Fix layout Day 3 on tablet */
@media (min-width: 681px) and (max-width: 1024px) {
  .day-groups {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .day-group {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
  }

  .day-cta {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 16px;
    gap: 10px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .day-cta::after {
    flex-shrink: 0;
  }

  .day-note {
    overflow-wrap: anywhere;
  }
}


.day-note {
  margin-top: 10px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.day-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.day-group b { font-size: 0.86rem; color: var(--rust-deep); }

/* tombol di dalam group: dorong ke bawah agar sejajar */
.day-group .day-cta {
  margin-top: auto;
  padding: 11px 12px;
  font-size: 0.82rem;
}

@media (max-width: 680px) {
  .day-groups { grid-template-columns: 1fr; }
}


  /* ===== Day 3: Group A/B cards ===== */
  #day3Card {
    min-width: 0;
  }

  #day3Card .day-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin: 18px 0 14px;
  }

  #day3Card .day-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
  }

  #day3Card .day-group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
  }

  #day3Card .day-group-head > b {
    color: var(--rust-deep);
    font-size: 1rem;
  }

  #day3Card .day-group-name {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
  }

  #day3Card .day-group-desc {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
    line-height: 1.55;
  }

  #day3Card .day-info,
  #day3Card .day-group .day-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease,
      transform 0.18s ease, box-shadow 0.18s ease;
  }

  #day3Card .day-info {
    border: 1.5px solid var(--rust);
    background: transparent;
    color: var(--rust-deep);
  }

  #day3Card .day-info::before {
    content: "i";
    display: inline-grid;
    place-items: center;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--rust);
    color: white;
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 800;
  }

  #day3Card .day-info:hover {
    background: rgba(191, 68, 25, 0.08);
  }

  #day3Card .day-group .day-cta {
    margin-top: 0;
    border: 0;
    background: var(--grad-tight);
    color: #fff;
    box-shadow: 0 8px 20px -12px rgba(143, 49, 16, 0.75);
    white-space: normal;
  }

  #day3Card .day-group .day-cta::after {
    content: "→";
    flex: 0 0 auto;
    font-size: 1.05rem;
    transition: transform 0.18s ease;
  }

  #day3Card .day-group .day-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -12px rgba(143, 49, 16, 0.8);
  }

  #day3Card .day-group .day-cta:hover::after {
    transform: translateX(3px);
  }

  #day3Card .day-info:focus-visible,
  #day3Card .day-group .day-cta:focus-visible,
  .route-modal a:focus-visible,
  .route-modal button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
  }

  /* ===== Route modal ===== */
  body.modal-open {
    overflow: hidden;
  }

  .route-modal {
    position: fixed;
    inset: 0;
    z-index: 3100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .route-modal.open {
    display: flex;
  }

  .route-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 8, 0.72);
    backdrop-filter: blur(4px);
  }

  .route-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(580px, 100%);
    max-height: min(760px, 92dvh);
    overflow: hidden;
    border-radius: 18px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: routeModalIn 0.2s ease-out;
  }

  @keyframes routeModalIn {
    from { opacity: 0; transform: translateY(10px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .route-x {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: rgba(10,10,8,0.25);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  .route-x:hover {
    background: var(--rust);
  }

  .route-head {
    padding: 26px 64px 22px 26px;
    background: var(--grad-tight);
    color: #fff;
  }

  .route-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
  }

  .route-head h2 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.2;
  }

  .route-head p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .route-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px 26px 12px;
  }

  .route-body h3 {
    margin: 0 0 14px;
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .route-stops {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .route-stops::before {
    position: absolute;
    top: 17px;
    bottom: 17px;
    left: 16px;
    width: 2px;
    background: var(--line);
    content: "";
  }

  .route-stops li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 7px 0;
    font-size: 0.91rem;
    font-weight: 600;
    line-height: 1.45;
  }

  .route-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 2px solid var(--rust);
    border-radius: 50%;
    background: var(--paper);
    color: var(--rust-deep);
    font-size: 0.7rem;
    font-weight: 800;
  }

  .route-stop-text {
    padding-top: 6px;
  }

  .route-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 26px 20px;
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .route-more {
    color: var(--rust);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
  }

  .route-more:hover {
    text-decoration: underline;
  }

  .route-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--grad-tight);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px -12px rgba(143, 49, 16, 0.75);
  }

  .route-register::after {
    content: "→";
  }

  .route-register:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }

  @media (max-width: 600px) {
    .route-modal {
      padding: 8px;
    }

    .route-dialog {
      max-height: 94dvh;
      border-radius: 15px;
    }

    .route-head {
      padding: 22px 56px 18px 20px;
    }

    .route-body {
      padding: 18px 20px 10px;
    }

    .route-foot {
      flex-direction: column-reverse;
      align-items: stretch;
      padding: 14px 20px 18px;
    }

    .route-more {
      text-align: center;
    }

    .route-register {
      width: 100%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .route-dialog {
      animation: none;
    }

    #day3Card .day-info,
    #day3Card .day-group .day-cta,
    #day3Card .day-group .day-cta::after {
      transition: none;
    }
  }

  
/* ==========================================
   COMPACT FIX — CARD HARI 3 REGISTRATION
   Tempel paling bawah setelah CSS sebelumnya
   ========================================== */

/* Ringkas jarak konten di card Hari 3 */
#day3Card {
  min-width: 0;
}

#day3Card > h3 {
  margin-bottom: 8px;
}

#day3Card > p {
  margin-bottom: 12px;
  line-height: 1.45;
}

/* Grup A dan B lebih padat */
#day3Card .day-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin: 12px 0;
}

#day3Card .day-group {
  gap: 7px;
  padding: 12px 14px;
  border-radius: 12px;
}

/* Nama grup lebih ringkas */
#day3Card .day-group-head {
  gap: 4px 8px;
}

#day3Card .day-group-head > b {
  font-size: 0.91rem;
}

#day3Card .day-group-name {
  font-size: 0.81rem;
  line-height: 1.3;
}

/* Deskripsi dipadatkan */
#day3Card .day-group-desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Tombol informasi dan daftar lebih pendek */
#day3Card .day-info,
#day3Card .day-group .day-cta {
  min-height: 38px;
  padding: 8px 12px;
  gap: 7px;
  font-size: 0.79rem;
}

/* Ikon informasi lebih kecil */
#day3Card .day-info::before {
  flex-basis: 17px;
  width: 17px;
  height: 17px;
  font-size: 0.68rem;
}

/* Panah tombol daftar tidak terlalu dominan */
#day3Card .day-group .day-cta::after {
  font-size: 0.9rem;
}

/* Catatan bawah card lebih rapat */
#day3Card .day-note {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Tablet dan layar sempit */
@media (max-width: 900px) {
  #day3Card .day-group {
    padding: 12px;
  }
}

/* Ponsel */
@media (max-width: 600px) {
  #day3Card .day-groups {
    gap: 10px;
  }

  #day3Card .day-group {
    padding: 13px;
  }

  #day3Card .day-info,
  #day3Card .day-group .day-cta {
    min-height: 42px;
    font-size: 0.83rem;
  }
}

/* ===== Compact Day 3 route links ===== */
#day3Card .day-groups--compact {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0 12px;
  border-top: 1px solid var(--line);
}

#day3Card .day-route-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--rust-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, padding 0.18s ease;
}

#day3Card .day-route-link:hover {
  padding-right: 6px;
  padding-left: 6px;
  color: var(--rust);
}

#day3Card .day-route-arrow {
  flex: 0 0 auto;
  font-size: 1rem;
  transition: transform 0.18s ease;
}

#day3Card .day-route-link:hover .day-route-arrow {
  transform: translate(2px, -2px);
}

#day3Card .day-route-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 5px;
}

@media (prefers-reduced-motion: reduce) {
  #day3Card .day-route-link,
  #day3Card .day-route-arrow {
    transition: none;
  }
}

/* ===== Day 3: Compact route + registration buttons ===== */
#day3Card .day-groups--compact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 14px 0 12px;
}

#day3Card .day-route-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

#day3Card .day-route-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--rust-deep);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

#day3Card .day-route-link:hover {
  color: var(--rust);
}

#day3Card .day-route-link:focus-visible,
#day3Card .day-register-compact:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

#day3Card .day-route-arrow {
  flex: 0 0 auto;
  font-size: 1rem;
}

#day3Card .day-register-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-tight);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px -10px rgba(143, 49, 16, 0.75);
  transition: filter 0.18s ease, transform 0.18s ease;
}

#day3Card .day-register-compact:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

#day3Card .day-register-compact span {
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  #day3Card .day-register-compact {
    transition: none;
  }
}
