/* ==========================================================================
   Unik777 — Portal Informasi Hiburan Digital (unik777.games)
   Tema: gelap elegan · aksen merah & emas · informatif & bersih
   ========================================================================== */

:root {
  --bg: #0b0f1a;
  --bg-2: #0e1424;
  --surface: #131b2e;
  --surface-2: #182238;
  --surface-3: #1e2a44;
  --line: #26324e;
  --text: #eef2f8;
  --text-muted: #9aa7bd;
  --red: #e6394f;
  --red-deep: #b8223a;
  --gold: #f6c445;
  --gold-deep: #d9a520;
  --green: #2fbf71;
  --blue: #4d8dff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --float-h: 74px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(var(--float-h) + 10px);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
p { margin: 0 0 1em; }

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

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #241a02;
  box-shadow: 0 6px 18px rgba(246, 196, 69, 0.35);
}
.btn-red {
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(230, 57, 79, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .b-unik { color: var(--gold); }
.brand .b-777 { color: var(--red); }
.brand-chip {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  flex: none;
}

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.93rem;
}
.nav-list a:hover { color: var(--gold); text-decoration: none; background: var(--surface-2); }
.nav-list a.active { color: var(--gold); background: var(--surface-2); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.icon-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--text-muted);
  border: 1px solid var(--line);
}
.icon-link:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }

/* Menu mobile (checkbox hack, tanpa JS) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1020px) {
  .nav-toggle-label { display: flex; }
  .nav-cta .btn { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 20px 18px;
  }
  .main-nav .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav .nav-list a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 16px 0 4px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumb li { display: flex; gap: 6px; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(230, 57, 79, 0.22), transparent 60%),
    radial-gradient(700px 360px at 10% 110%, rgba(246, 196, 69, 0.14), transparent 60%),
    linear-gradient(180deg, #0d1322, #0b0f1a);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 58px 0 62px;
}
.hero .kicker { margin-bottom: 14px; }
.hero h1 { margin-bottom: 14px; }
.hero .lead { color: var(--text-muted); font-size: 1.06rem; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(19, 27, 46, 0.7);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.trust-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.trust-pill.age .dot { background: var(--red); }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.hero-media .badge-float {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(11, 15, 26, 0.86);
  border: 1px solid var(--line);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Kicker & section ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.section { padding: 54px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head p { color: var(--text-muted); }

/* ---------- Kartu promo ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: #35466e; }
.card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.06rem; }
.card-body p { margin: 0; color: var(--text-muted); font-size: 0.92rem; flex: 1; }
.card .btn { align-self: flex-start; margin-top: 6px; }
.tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(230, 57, 79, 0.16);
  color: #ff8b9a;
  border: 1px solid rgba(230, 57, 79, 0.35);
}
.tag.gold { background: rgba(246, 196, 69, 0.13); color: var(--gold); border-color: rgba(246, 196, 69, 0.4); }
.tag.green { background: rgba(47, 191, 113, 0.13); color: var(--green); border-color: rgba(47, 191, 113, 0.4); }

/* ---------- Fitur / keunggulan ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.feature-card .f-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(246, 196, 69, 0.12);
  color: var(--gold);
  margin-bottom: 14px;
  font-size: 1.3rem;
}
.feature-card.red .f-icon { background: rgba(230, 57, 79, 0.14); color: #ff8b9a; }
.feature-card.green .f-icon { background: rgba(47, 191, 113, 0.13); color: var(--green); }
.feature-card.blue .f-icon { background: rgba(77, 141, 255, 0.13); color: var(--blue); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Split section (mobil, keamanan) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split .split-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-muted);
}
.check-list li::before {
  content: "✓";
  grid-column: 1;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(47, 191, 113, 0.14);
  color: var(--green);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  margin-top: 3px;
}
.check-list strong { color: var(--text); }

/* ---------- Testimoni ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-card .q-mark { color: var(--gold); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.quote-card p { margin: 0; font-size: 0.95rem; color: #cdd6e4; font-style: italic; flex: 1; }
.quote-user { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--gold);
  font-size: 0.95rem;
}
.quote-user .name { font-weight: 700; font-size: 0.92rem; }
.quote-user .role { color: var(--text-muted); font-size: 0.8rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.85rem; }
.disclaimer-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}
.chip:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.chip.hot { border-color: rgba(230, 57, 79, 0.5); color: #ff8b9a; }
.chip .n {
  font-size: 0.68rem;
  background: rgba(246, 196, 69, 0.15);
  color: var(--gold);
  border-radius: 999px;
  padding: 1px 8px;
}

/* ---------- Artikel ---------- */
.page-hero { padding: 34px 0 10px; }
.page-hero .lead { color: var(--text-muted); font-size: 1.04rem; max-width: 72ch; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  padding: 26px 0 60px;
  align-items: start;
}
.article-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  min-width: 0;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.article-meta .sep { color: var(--line); }
.article-figure { margin: 0 0 22px; }
.article-figure img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.article-figure figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 8px;
}
.article-body h2 { margin-top: 1.6em; padding-top: 0.4em; }
.article-body h3 { margin-top: 1.4em; color: var(--gold); }
.article-body a { text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 1.3em; color: #cdd6e4; }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: #fff; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.92rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.article-body th { background: var(--surface-2); color: var(--gold); }
.note-box {
  background: rgba(77, 141, 255, 0.08);
  border: 1px solid rgba(77, 141, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  margin: 1.2em 0;
}
.note-box.warn {
  background: rgba(246, 196, 69, 0.07);
  border-color: rgba(246, 196, 69, 0.35);
}
.note-box.danger {
  background: rgba(230, 57, 79, 0.08);
  border-color: rgba(230, 57, 79, 0.35);
}
.note-box p:last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { display: grid; gap: 20px; position: sticky; top: 86px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.side-card h3 { font-size: 1rem; color: var(--gold); margin-bottom: 12px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-links a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.side-links a:hover { color: var(--gold); text-decoration: none; }
.side-links img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 400;
  flex: none;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.faq-item .faq-a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(230, 57, 79, 0.25), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.3rem; }
.cta-band p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 40px 0 60px;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.form-field input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-foot { font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; }
.form-alt {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.form-side { display: grid; gap: 18px; }
.btn-block { width: 100%; }

/* ---------- Pencarian ---------- */
.search-hero { padding: 46px 0 8px; }
.search-box {
  display: flex;
  gap: 10px;
  max-width: 640px;
}
.search-box input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.search-box input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.search-results { padding: 26px 0 60px; }
.search-result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
}
.search-result-card img { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.search-result-card h3 { margin: 0 0 4px; font-size: 1rem; }
.search-result-card h3 a { color: var(--text); }
.search-result-card h3 a:hover { color: var(--gold); text-decoration: none; }
.search-result-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }
#search-status { color: var(--text-muted); font-size: 0.92rem; margin: 18px 0 22px; }

/* ---------- Widget mengambang ---------- */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.97), rgba(11, 15, 26, 0.99));
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  padding: 8px 0;
}
.float-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
.float-art { flex: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.float-art svg { display: block; }
.float-text { min-width: 0; }
.float-text .t1 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-text .t2 {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex: none;
}
.float-actions .btn { padding: 10px 20px; font-size: 0.9rem; }
.float-coins { position: relative; }
.coin-spin { animation: coinFloat 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .coin-spin { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 48px 0 26px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}
.footer-grid h3 { font-size: 0.95rem; color: var(--gold); margin-bottom: 14px; }
.footer-grid p { color: var(--text-muted); font-size: 0.86rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid ul a { color: var(--text-muted); font-size: 0.86rem; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: 0.8rem;
}
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}
.footer-legal p { margin: 0 0 10px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 0 46px; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .form-wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .article-main { padding: 22px 18px; }
  .form-card { padding: 22px 18px; }
  .float-text .t2 { display: none; }
  .float-actions .btn { padding: 9px 16px; font-size: 0.84rem; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .search-result-card { grid-template-columns: 64px 1fr; }
  .search-result-card img { width: 64px; height: 48px; }
}
@media (max-width: 480px) {
  .float-art .art-reels { display: none; }
  .float-inner { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-body table { font-size: 0.84rem; }
  .article-body th, .article-body td { padding: 8px; }
}

/* ---------- Aksesibilitas ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #241a02;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
