/* Bayar77 — warna midnight blue, cyan, dan aksen emas dari logo. */
:root {
  --night: #050b18;
  --panel: #0b1729;
  --panel-raised: #102139;
  --text: #f1f6ff;
  --muted: #adbed3;
  --cyan: #55dded;
  --cyan-light: #a8f2fa;
  --gold: #f7cc79;
  --line: #283b52;
  --logo-width: 160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--text);
  background: var(--night);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(960px, 100svh);
  background: linear-gradient(180deg, #050b18ea, #050b18df 48%, #050b18 100%), url("../img/cover-480.webp") center top / cover no-repeat;
  pointer-events: none;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--cyan-light); text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan-light); outline-offset: 5px; }
[hidden] { display: none !important; }
svg { flex-shrink: 0; }
.container { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 9px; left: 16px; padding: 11px 17px; border-radius: 6px; color: var(--night); background: var(--cyan-light); font-weight: 700; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* Header: logo tetap utuh dan seluruh navigasi dapat dipakai dengan keyboard. */
.site-header { border-bottom: 1px solid #c9e7ff16; background: #050b18ed; }
.header-inner { display: flex; align-items: center; gap: 29px; min-height: 89px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; }
.brand img { width: 230px; height: auto; object-fit: contain; }
.header-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-left: auto; }
.header-links a { display: inline-flex; align-items: center; min-height: 44px; color: #cfdbeb; font-size: 13px; font-weight: 600; text-decoration: none; }
.header-links a:hover { color: var(--cyan-light); }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 42px; padding: 9px 12px; border: 1px solid #405a73; border-radius: 6px; color: #d3e3f5; background: #0c1927; font-size: 11px; font-weight: 600; line-height: 1.4; }
.motion-toggle:hover { border-color: var(--cyan); color: var(--cyan-light); }
.motion-toggle[aria-pressed="true"] { color: var(--cyan-light); border-color: #4f8b9b; background: #11313e; }

.breadcrumb { margin: 25px 0 27px; color: var(--muted); font-size: 11px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: #91a4ba; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 30px; color: var(--cyan-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Gambar di kiri; keterangan dan dua pilihan akun di kanan. */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px; padding: 10px 0 33px; }
.hero-art, .hero-copy { min-width: 0; }
.hero-art { margin: 0; }
.poster-frame { position: relative; overflow: hidden; aspect-ratio: 1; padding: 6px; border: 1px solid #347488; border-radius: 15px; background: #0b2030; box-shadow: 0 18px 60px #0000003d; }
.poster-frame img { width: 100%; height: auto; border-radius: 9px; }
.poster-brand { position: absolute; top: 5%; left: 10%; width: 80%; filter: drop-shadow(0 4px 12px #000b); }
.poster-frame .poster-brand img { border-radius: 0; }
.poster-headline { position: absolute; bottom: 6px; left: 6px; right: 6px; margin: 0; padding: 12% 4% 5%; border-radius: 0 0 9px 9px; color: #f5fbff; background: linear-gradient(transparent, #041020e6 55%); font-size: clamp(22px, 2.8vw, 35px); font-weight: 750; line-height: 1.2; letter-spacing: -.6px; text-align: center; }
.poster-headline span { color: #8cecf7; }
.art-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 16px; margin: 8px 2px 0; color: #a8bbd0; font-size: 10px; line-height: 1.6; letter-spacing: .5px; }
.enlarge-button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 0; border: 0; color: var(--cyan-light); background: transparent; font-size: 11px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.enlarge-button:hover { color: #fff; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: 1.7px; text-transform: uppercase; }
h1 { margin: 0; color: var(--text); font-size: clamp(30px, 3vw, 40px); font-weight: 750; line-height: 1.17; letter-spacing: -1.1px; overflow-wrap: break-word; }
h1 span { color: var(--cyan); }
.hero-lead { margin: 19px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 53px; padding: 14px 20px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 750; line-height: 1.5; letter-spacing: .4px; text-decoration: none; text-align: center; transition: transform .16s ease, background-color .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #04131c; border-color: #6ce5f1; background-color: #55dded; background-image: linear-gradient(110deg, #8aebf4, #42cfe4); }
.button-primary:hover { color: #04131c; background-color: #a8f2fa; background-image: linear-gradient(110deg, #b8f7fb, #6ee4f1); border-color: #b8f7fb; }
.button-secondary { color: #e4f8ff; border-color: #568495; background-color: #0b1c2e; }
.button-secondary:hover { color: #fff; border-color: var(--cyan); background-color: #153246; }
.access-note { margin: 13px 0 0; color: #aabed3; font-size: 11px; line-height: 1.7; }
.access-details { margin: 25px 0 0; padding: 0; border-top: 1px solid var(--line); }
.access-details > div { display: grid; grid-template-columns: minmax(85px, .6fr) minmax(0, 1fr); gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.access-details dt { color: #a8bbd0; }
.access-details dd { margin: 0; color: #e0ecf8; font-weight: 600; overflow-wrap: anywhere; }

/* Logo bergerak menggunakan transform; lebar lintasan mengikuti kontainer. */
.brand-runway { position: relative; overflow: hidden; width: 100%; height: 66px; border-top: 1px solid #2c4e663d; border-bottom: 1px solid #2c4e663d; }
.brand-runway::before { content: ""; position: absolute; inset: auto 0 11px; height: 1px; background: linear-gradient(90deg, transparent, #55dded40, transparent); }
.logo-route { position: absolute; top: 12px; left: 0; width: calc(100% - var(--logo-width)); height: 42px; animation: logo-travel 17s linear infinite alternate; }
.moving-logo { display: block; width: var(--logo-width); max-width: none; height: auto; animation: logo-step .85s ease-in-out infinite; }
.moving-logo img { width: 100%; height: auto; max-width: none; }
@keyframes logo-travel { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes logo-step { 0%, 100% { transform: translateY(1px) rotate(-.4deg); } 50% { transform: translateY(-2px) rotate(.4deg); } }
body[data-motion="paused"] *, body[data-motion="paused"] *::before, body[data-motion="paused"] *::after { animation-play-state: paused !important; }

/* Panduan berupa baris ringkas, bukan deretan kartu promosi. */
.content-section { padding-top: 58px; }
h2 { margin: 0; color: var(--text); font-size: clamp(25px, 2.5vw, 31px); font-weight: 700; line-height: 1.3; letter-spacing: -.6px; }
.section-heading > p { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-heading > .eyebrow { margin: 0 0 12px; font-size: 10px; }
.access-steps { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.access-steps > article { display: grid; grid-template-columns: 40px minmax(170px, .5fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--cyan); font-size: 12px; font-weight: 700; line-height: 1.4; }
.access-steps h3 { margin: 0; color: #e8f2ff; font-size: 15px; font-weight: 600; line-height: 1.5; }
.access-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.section-grid { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 60px; }
.section-grid .section-heading { padding-top: 5px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { overflow: hidden; border: 1px solid #30465c; border-radius: 8px; background: #0b1729; }
.faq-list summary { position: relative; min-height: 57px; padding: 17px 47px 17px 18px; color: #e8f2ff; font-size: 13px; font-weight: 600; line-height: 1.65; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 14px; right: 18px; color: var(--cyan); font-size: 22px; font-weight: 400; line-height: 1.4; }
.faq-list details[open] summary { color: var(--cyan-light); background: #102338; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { background: #102338; }
.faq-list summary:focus-visible { outline-offset: -4px; }
.faq-list details p { margin: 0; padding: 0 18px 19px; color: var(--muted); font-size: 13px; line-height: 1.85; }

.site-footer { margin-top: 61px; padding: 24px 0 30px; border-top: 1px solid #c9e7ff1a; background: #040a15; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; color: #c5d4e6; font-size: 12px; text-decoration: none; }
.footer-inner nav a:hover { color: var(--cyan-light); text-decoration: underline; }

/* Dialog native; tidak mengubah display dialog yang masih tertutup. */
.image-dialog { position: fixed; inset: 0; width: min(840px, calc(100vw - 30px)); max-width: none; max-height: calc(100vh - 30px); max-height: calc(100dvh - 30px); margin: auto; padding: 0; overflow: auto; border: 1px solid #416c80; border-radius: 12px; color: var(--text); background: #071321; box-shadow: 0 25px 90px #0009; }
.image-dialog::backdrop { background: #010610d9; }
.dialog-inner { position: relative; padding: 58px 15px 15px; }
.dialog-inner img { width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); height: auto; margin-inline: auto; border-radius: 7px; object-fit: contain; }
.dialog-close { position: absolute; top: 8px; right: 12px; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 7px 12px; border: 1px solid #52778e; border-radius: 6px; color: var(--cyan-light); background: #132b3f; font-size: 21px; line-height: 1; }
.dialog-close:hover { color: #fff; background: #1c3c53; }
.dialog-caption { margin: 11px 0 0; color: #b8cce0; font-size: 12px; line-height: 1.7; text-align: center; }

@media (max-width: 1030px) {
  .container { width: calc(100% - 44px); }
  .header-inner { gap: 22px; }
  .header-links { gap: 20px; }
  .brand img { width: 205px; }
  .hero { gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  h1 { font-size: 32px; letter-spacing: -.8px; }
  .hero-lead { font-size: 13px; }
  .access-details { margin-top: 20px; }
  .section-grid { gap: 38px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 82px; flex-wrap: wrap; gap: 4px 20px; padding: 10px 0; }
  .brand img { width: 190px; }
  .header-links { gap: 19px; }
  .header-links a { font-size: 12px; }
  .motion-toggle { min-height: 40px; margin-left: auto; }
  .breadcrumb { margin: 19px 0 20px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-top: 5px; padding-bottom: 29px; }
  .hero-art { width: 100%; max-width: 560px; margin-inline: auto; }
  .hero-copy { max-width: 620px; }
  h1 { font-size: clamp(29px, 5.6vw, 38px); line-height: 1.2; }
  .hero-lead { font-size: 14px; margin-top: 16px; }
  .hero-actions { max-width: 550px; margin-top: 22px; }
  .access-details { max-width: 550px; }
  .content-section { padding-top: 43px; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-grid .section-heading { padding-top: 0; }
  .access-steps > article { grid-template-columns: 35px minmax(150px, .65fr) minmax(0, 1fr); gap: 15px; }
  .site-footer { margin-top: 45px; }
}
@media (max-width: 570px) {
  .container { width: calc(100% - 32px); }
  .header-inner { justify-content: space-between; }
  .brand img { width: 180px; }
  .motion-toggle { margin-left: 0; padding-inline: 9px; max-width: 122px; font-size: 10px; }
  .header-links { order: 3; justify-content: space-between; width: 100%; margin-left: 0; gap: 20px; }
  .header-links a { min-height: 37px; }
  .breadcrumb { font-size: 10px; }
  .hero { gap: 21px; }
  .poster-frame { border-radius: 12px; padding: 5px; }
  .poster-frame img { border-radius: 7px; }
  .eyebrow { margin-bottom: 12px; font-size: 9px; letter-spacing: 1.4px; }
  h1 { font-size: 30px; }
  .hero-lead { font-size: 13px; }
  .button { min-height: 51px; padding-inline: 12px; font-size: 12px; }
  .access-note { font-size: 10px; }
  .access-details > div { font-size: 11px; }
  .brand-runway { --logo-width: 145px; height: 62px; }
  .logo-route { top: 13px; }
  .access-steps > article { grid-template-columns: 30px minmax(0, 1fr); gap: 7px 12px; align-items: start; padding: 20px 0; }
  .access-steps .step-number { grid-row: 1 / 3; padding-top: 3px; }
  .access-steps p { grid-column: 2; font-size: 12px; }
  .access-steps h3 { font-size: 14px; }
  .section-heading > p { font-size: 13px; }
  .footer-inner nav { gap: 22px; }
}
@media (max-width: 350px) {
  .brand img { width: 163px; }
  .header-inner { column-gap: 12px; }
  .motion-toggle { padding-inline: 8px; font-size: 9px; max-width: 108px; }
  h1 { font-size: 28px; }
  .button { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
