* { box-sizing: border-box; }

body {
  margin: 0;
  color: #35134e;
  font-family: system-ui, sans-serif;
  background: radial-gradient(ellipse at top left, #fbe0ef, transparent 58%),
              radial-gradient(ellipse at top right, #dceafc, transparent 62%), #faf5ff;
}

.page {
  width: min(100% - 24px, 660px);
  margin: 16px auto;
  border: 1px solid #e3cff1;
  border-radius: 20px;
  overflow: hidden;
  background: #fffaff;
  box-shadow: 0 18px 55px #41106924;
}

.brand {
  padding: 12px;
  text-align: center;
  background: linear-gradient(120deg, #fff3fa, #f2e8ff);
}

h1 {
  margin: 0;
  color: #6c217e;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 950;
  letter-spacing: -.045em;
}

.banner, .banner img { display: block; width: 100%; }
.banner img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; background: #290b42; }

.actions, .extra { display: grid; gap: 10px; padding: 16px; }
.actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.actions a, .extra a {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 10px 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  border-radius: 10px;
}
.actions a { background: #682491; color: white; }
.actions a:first-child { background: #a51569; }
.actions a:last-child { grid-column: 1 / -1; color: #392000; background: #ffd673; }

.info { margin: 0 16px; padding: 16px; border: 1px solid #e6d3f0; border-radius: 14px; }
h2 { margin: 0 0 12px; font-size: 1.125rem; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: minmax(85px, 1fr) 2fr; gap: 6px; padding: 9px 0; }
dl div + div { border-top: 1px solid #eadcf2; }
dt { font-weight: 700; }
dd { margin: 0; }
.extra { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.extra a { background: #f2e5fd; color: #572173; font-size: .875rem; }
a:hover { filter: brightness(.92); }
a:focus-visible { outline: 3px solid #a41973; outline-offset: 2px; }
footer { padding: 0 16px 16px; text-align: center; color: #5f466f; }

/* Lebar penuh landing page */
.page {
  width: calc(100% - 24px);
  margin: 12px auto;
}

.banner img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

/* Warna copyright UNYIL4D */
body .page > footer {
  color: #641b96;
  font-weight: 800;
}

:is([data-tema="gelap"], [data-theme="dark"]) body .page > footer {
  color: #ddb0ff;
}

/* Tiga tombol bawah emas */
body .page > nav.extra > a {
  background: linear-gradient(180deg, #fff0ad, #f5c356);
  border: 1px solid #dca338;
  color: #451b60;
  font-weight: 800;
}

body .page > nav.extra > a:hover {
  background: linear-gradient(180deg, #fff5c7, #ffd474);
}

/* Header gradasi ungu */
body > header.site-header {
  background: linear-gradient(110deg, #4c176c, #7929a5, #572078);
  border-bottom: 1px solid #a86ad3;
}

html:is([data-tema="gelap"], [data-theme="dark"]) body > header.site-header {
  background: linear-gradient(110deg, #2b103f, #50176f, #35134e);
  border-bottom-color: #784597;
}

/* Tombol emas khusus tema gelap */
html:is([data-tema="gelap"], [data-theme="dark"]) body .page > nav.extra > a {
  background: linear-gradient(180deg, #fff0ad, #f5c356) !important;
  border: 1px solid #dca338 !important;
  color: #451b60 !important;
  font-weight: 800;
}

html:is([data-tema="gelap"], [data-theme="dark"]) body .page > nav.extra > a:hover {
  background: linear-gradient(180deg, #fff5c7, #ffd474) !important;
}
