/* =========================================================
   KENANGAN4D BOLA ADMIN WEBSITE - WHITE GOLD THEME
   PHP + JSON file-based
   ========================================================= */

:root {
  --bg: #fffaf0;
  --bg2: #fff4dc;
  --card: #ffffff;
  --gold: #c58a18;
  --gold2: #ffe7a3;
  --gold3: #8d5c0d;
  --green: #168b55;
  --green2: #d9fff0;
  --red: #d50000;
  --text: #2a1a05;
  --muted: #70551d;
  --border: rgba(197, 138, 24, 0.32);
  --green-border: rgba(22, 139, 85, 0.28);
  --shadow: 0 14px 38px rgba(126, 83, 8, 0.14);
  --radius: 18px;
  --max: 1180px;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 231, 163, 0.75), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #fff6e4 45%, #ffffff 100%);
  color: var(--text);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--max)); margin: auto; }

.topbar {
  background: linear-gradient(90deg, #fff5d3, #d69b25, #fff5d3);
  color: #2a1a05;
  text-align: center;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border);
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(126, 83, 8, 0.08);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo img {
  width: 160px;
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(197, 138, 24, 0.25));
}

.menu { display: flex; align-items: center; gap: 8px; list-style: none; }

.menu a {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.menu a:hover,
.menu a.active {
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #2a1a05;
  box-shadow: var(--shadow);
}

.nav-btn { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #c58a18, #fff0b8, #a86f12);
  color: #221300;
  box-shadow: 0 10px 26px rgba(197, 138, 24, 0.22);
}

.btn-dark {
  background: #ffffff;
  color: var(--gold);
  border-color: rgba(197, 138, 24, 0.42);
  box-shadow: 0 8px 20px rgba(126, 83, 8, 0.09);
}

.btn-green {
  background: linear-gradient(135deg, #168b55, #d9fff0);
  color: #04170d;
  border-color: var(--green-border);
  box-shadow: 0 10px 26px rgba(22, 139, 85, 0.16);
}

.btn-red {
  background: linear-gradient(135deg, #d50000, #ff8a8a);
  color: #fff;
  border-color: rgba(213,0,0,.35);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(197, 138, 24, 0.26); }

.toggle {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
}

section { padding: 76px 0; }

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,250,240,0.96), rgba(255,250,240,0.78), rgba(255,250,240,0.92)),
    url("../img.banner.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(22,139,85,0.12), transparent 30%),
    radial-gradient(circle at 70% 15%, rgba(197,138,24,0.20), transparent 32%);
}

.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 70px 0; }
.page-hero { min-height: 430px; }

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(197,138,24,0.12);
  border: 1px solid var(--border);
  color: #8d5c0d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: #251700;
  text-shadow: 0 10px 25px rgba(197, 138, 24, 0.10);
}

h1 span, h2 span { color: var(--gold); }

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
  margin-bottom: 26px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
}

.stat {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat strong { display: block; color: var(--gold); font-size: 22px; line-height: 1.2; }
.stat small { color: var(--muted); }

.running {
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg, #fff5d3, #ffffff, #fff5d3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.running div {
  display: inline-block;
  padding: 12px 0;
  color: #8d5c0d;
  font-weight: 900;
  animation: runningText 25s linear infinite;
}

@keyframes runningText { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 38px; }

.eyebrow {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
  margin-bottom: 8px;
}

h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-bottom: 14px; color: #2a1a05; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,231,163,0.32), transparent),
    rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -65px;
  top: -65px;
  background: radial-gradient(circle, rgba(197,138,24,0.16), transparent 65%);
  pointer-events: none;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #1a1000;
  font-weight: 1000;
  font-size: 19px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(197, 138, 24, 0.18);
}

.card h3 { color: #2a1a05; font-size: 21px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card ul { padding-left: 20px; margin-top: 10px; }

.news-list, .rtp-list, .result-list { display: grid; gap: 14px; }

.news-item, .rtp-item, .result-item {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(22,139,85,0.07), transparent),
    rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
}

.news-top, .rtp-top, .result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.news-top strong, .rtp-top strong, .result-top strong { color: #2a1a05; font-size: 18px; }

.tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(197,138,24,0.12);
  color: #8d5c0d;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 900;
}

.green-tag { background: rgba(22,139,85,0.10); color: #168b55; border-color: var(--green-border); }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
}

table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { padding: 15px 16px; border-bottom: 1px solid rgba(197,138,24,0.16); text-align: left; }
th { background: linear-gradient(135deg, #d69b25, #fff0b8); color: #1a1000; font-size: 13px; text-transform: uppercase; }
td { color: var(--muted); }
td strong { color: var(--gold); }

.progress {
  width: 100%;
  height: 12px;
  border-radius: 99px;
  background: rgba(197,138,24,0.10);
  border: 1px solid rgba(197,138,24,0.20);
  overflow: hidden;
  margin: 9px 0;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.cta-box {
  text-align: center;
  padding: 46px 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top, rgba(255,231,163,0.52), transparent 42%),
    linear-gradient(180deg, #ffffff, #fff7df);
  box-shadow: var(--shadow);
}

.cta-box p { color: var(--muted); max-width: 720px; margin: 0 auto 22px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* RTP provider layout */
.rtp-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  align-items: start;
}

.provider-sidebar {
  position: sticky;
  top: 96px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.provider-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(197,138,24,.16);
  color: #2a1a05;
  font-weight: 900;
  transition: .2s ease;
}

.provider-link:hover,
.provider-link.active {
  background: linear-gradient(135deg, #fff3c6, #ffffff);
  color: var(--gold3);
}

.provider-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 1000;
  color: #231400;
  flex: 0 0 auto;
}

.rtp-panel {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #fff7df);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rtp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #221300;
}

.rtp-panel-head h2 { margin: 0; font-size: 24px; }
.search-game {
  width: min(100%, 320px);
  padding: 12px 14px;
  border: 1px solid rgba(42,26,5,.22);
  border-radius: 12px;
  outline: none;
  font-weight: 700;
}

.rtp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px;
}

.game-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(197,138,24,.35);
  background: #fff;
  box-shadow: 0 12px 28px rgba(126,83,8,.12);
}

.game-img {
  width: 100%;
  aspect-ratio: 1 / .82;
  object-fit: cover;
  background: linear-gradient(135deg, #fff0b8, #d69b25);
}

.game-body { padding: 10px 12px 14px; text-align: center; }
.game-title { font-size: 13px; line-height: 1.3; color: #2a1a05; min-height: 34px; font-weight: 900; }

.rtp-meter {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: rgba(197,138,24,.12);
  border: 1px solid rgba(197,138,24,.18);
  overflow: hidden;
  margin: 8px 0;
}

.rtp-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.rtp-meter b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #1a1000;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.play-time {
  background: linear-gradient(135deg, #168b55, #d9fff0);
  border-radius: 999px;
  color: #03150c;
  font-size: 12px;
  font-weight: 1000;
  padding: 5px 8px;
  margin: 7px 0;
}

.pattern-title {
  color: #8d5c0d;
  font-size: 12px;
  font-weight: 1000;
  margin-bottom: 5px;
}

.pattern-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.ok { color: #168b55; font-weight: 1000; }
.no { color: #d50000; font-weight: 1000; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.result-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.result-card h3 {
  color: #2a1a05;
  font-size: 18px;
  margin-bottom: 8px;
}

.result-number {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #1a1000;
  font-size: 28px;
  font-weight: 1000;
  letter-spacing: 2px;
  margin: 7px 0;
}

.result-meta {
  color: var(--muted);
  font-size: 13px;
}

footer {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  border-top: 1px solid var(--border);
  padding: 40px 0 18px;
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.footer-logo { width: 155px; margin-bottom: 14px; }
footer p, footer a { color: var(--muted); font-size: 14px; }
footer h3 { color: var(--gold); margin-bottom: 10px; font-size: 17px; }
.footer-links { display: grid; gap: 8px; }
.copyright { text-align: center; border-top: 1px solid rgba(197,138,24,0.18); padding-top: 18px; color: var(--muted); font-size: 13px; }
.mobile-bottom { display: none; }

/* Admin */
.admin-body {
  background: #fffaf0;
}

.admin-wrap {
  width: min(100% - 28px, 1280px);
  margin: 28px auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-header h1 {
  font-size: 28px;
  margin: 0;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-tabs a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.admin-tabs a.active {
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #221300;
}

.admin-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 18px;
}

.admin-card h2 {
  font-size: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field label {
  font-weight: 900;
  color: #2a1a05;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  outline: none;
  background: #fffdf7;
  color: var(--text);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  vertical-align: top;
}

.notice {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(22,139,85,.10);
  border: 1px solid var(--green-border);
  color: #125d3b;
  font-weight: 800;
  margin-bottom: 14px;
}

.error-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(213,0,0,.08);
  border: 1px solid rgba(213,0,0,.22);
  color: #a90000;
  font-weight: 800;
  margin-bottom: 14px;
}

.login-panel {
  width: min(100% - 28px, 460px);
  margin: 80px auto;
}

.small {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .rtp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .toggle { display: grid; place-items: center; }

  .menu, .nav-btn { display: none; }

  .menu.active {
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255,250,240,0.98);
    box-shadow: var(--shadow);
  }

  .menu.active a { display: block; padding: 13px; border-radius: 12px; }

  .hero { min-height: auto; }

  .hero-stats, .grid-2, .grid-3, .grid-4, .footer-grid, .form-grid, .result-grid {
    grid-template-columns: 1fr;
  }

  .rtp-layout {
    grid-template-columns: 1fr;
  }

  .provider-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .provider-link {
    min-width: 170px;
    border-right: 1px solid rgba(197,138,24,.16);
  }

  .rtp-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .search-game {
    width: 100%;
  }

  .rtp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-bottom {
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(255,250,240,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(126, 83, 8, 0.10);
  }

  body { padding-bottom: 76px; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 24px, var(--max)); }
  .logo img { width: 138px; }
  section { padding: 58px 0; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .news-top, .rtp-top, .result-top { align-items: flex-start; flex-direction: column; }
  .rtp-grid { grid-template-columns: 1fr; }
  .admin-header { align-items: flex-start; flex-direction: column; }
}


/* =========================================================
   RESULT PAGE DESIGN - mengikuti contoh Hasil Keluaran
   ========================================================= */

.result-page-wrap {
  display: grid;
  gap: 22px;
}

.hasil-box {
  width: 100%;
  background: #f0efe7;
  border: 1px solid rgba(197, 138, 24, 0.30);
  border-radius: 18px;
  padding: 16px 14px 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(126, 83, 8, 0.12);
}

.hasil-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
  color: #1f2937;
}

.hasil-icon {
  width: 24px;
  height: 21px;
  display: grid;
  gap: 4px;
  flex: 0 0 auto;
}

.hasil-icon span {
  display: block;
  height: 4px;
  border-radius: 6px;
  background: #263445;
  position: relative;
}

.hasil-icon span:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3px;
  height: 2px;
  background: #d69b25;
  border-radius: 3px;
}

.hasil-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  line-height: 1.5;
  font-size: 13px;
}

.hasil-info .brand {
  font-size: 20px;
  font-weight: 1000;
  color: #c58a18;
  letter-spacing: .3px;
  margin-right: 6px;
}

.hasil-info .label {
  color: #008fbf;
  font-weight: 900;
}

.hasil-info .value {
  color: #111827;
  font-weight: 700;
}

.hasil-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 15px;
}

.hasil-actions a {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(197, 138, 24, 0.28);
  background: #fff;
  color: #8d5c0d;
  font-size: 12px;
  font-weight: 900;
}

.hasil-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(197, 138, 24, 0.16);
}

.hasil-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.hasil-table th,
.hasil-table td {
  padding: 10px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 0;
}

.hasil-table th {
  color: #111827;
  font-weight: 900;
  background: #faf7ec;
}

.hasil-table tbody tr:nth-child(odd) {
  background: #e0dfd7;
}

.hasil-table tbody tr:nth-child(even) {
  background: #f3f1e9;
}

.hasil-table td.no {
  color: #475569;
  width: 70px;
}

.hasil-table td.tanggal,
.hasil-table td.hari {
  color: #008a58;
  font-weight: 800;
}

.hasil-table td.pasaran {
  color: #008fbf;
  font-weight: 900;
}

.hasil-table td.result {
  font-weight: 1000;
  color: #111827;
  letter-spacing: 2px;
  font-size: 16px;
}

.hasil-note {
  margin-top: 12px;
  font-size: 12px;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.hasil-error-box {
  padding: 14px;
  background: #fff3f3;
  border: 1px solid #ffb4b4;
  color: #b91c1c;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.5;
}

.hasil-error-box small {
  display: block;
  margin-top: 8px;
  color: #7f1d1d;
  font-weight: 600;
}

.iframe-fallback {
  margin-top: 14px;
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.result-filter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 20px;
}

.result-filter input {
  border-radius: 999px;
  background: #fff;
}

.result-filter .btn {
  min-width: 130px;
}

.footer-links a:hover {
  color: var(--gold);
}

footer {
  margin-top: 20px;
}

@media (max-width: 700px) {
  .result-filter {
    grid-template-columns: 1fr;
  }

  .hasil-box {
    padding: 13px 9px 15px;
  }

  .hasil-info .brand {
    width: 100%;
    font-size: 18px;
  }

  .hasil-table {
    min-width: 650px;
  }

  .hasil-table th,
  .hasil-table td {
    padding: 9px 12px;
    font-size: 13px;
  }

  .iframe-fallback {
    height: 520px;
  }
}


/* =========================================================
   RESULT MARKET BUTTONS
   ========================================================= */

.result-market-box {
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(255,231,163,0.40), transparent 42%),
    linear-gradient(180deg, #ffffff, #fff8e8);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 22px;
}

.result-market-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.result-market-head h3 {
  color: #2a1a05;
  font-size: 22px;
  line-height: 1.2;
}

.result-market-head p {
  color: var(--muted);
  font-size: 14px;
}

.market-button-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.market-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(197,138,24,0.28);
  background: #ffffff;
  color: #2a1a05;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(126,83,8,0.08);
  transition: .22s ease;
}

.market-btn:hover,
.market-btn.active {
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #1a1000;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(197,138,24,0.22);
}

.market-btn small {
  color: #8d5c0d;
  font-weight: 1000;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(141,92,13,0.18);
}

.selected-market-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(22,139,85,0.20);
  background: rgba(22,139,85,0.08);
  color: #125d3b;
  font-weight: 900;
}

.selected-market-info span {
  color: #8d5c0d;
}

@media (max-width: 980px) {
  .market-button-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-market-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .market-button-grid {
    grid-template-columns: 1fr;
  }

  .market-btn {
    padding: 13px;
  }
}


/* =========================================================
   RESULT MARKET BUTTONS V2 - PREMIUM WHITE GOLD
   ========================================================= */

.result-market-box {
  position: relative;
  border: 1px solid rgba(197, 138, 24, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 231, 163, 0.90), transparent 34%),
    radial-gradient(circle at 90% 15%, rgba(22, 139, 85, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fff8e6 100%);
  box-shadow:
    0 18px 45px rgba(126, 83, 8, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.85);
  padding: 20px;
  margin-bottom: 24px;
  overflow: hidden;
}

.result-market-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.55), transparent 34%),
    linear-gradient(315deg, rgba(197,138,24,0.10), transparent 45%);
}

.result-market-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(197, 138, 24, 0.30);
}

.result-market-head h3 {
  color: #241600;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.result-market-head p {
  color: #70551d;
  font-size: 14px;
  font-weight: 700;
}

.market-button-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-btn {
  position: relative;
  isolation: isolate;
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 14px 13px 15px;
  border-radius: 18px;
  border: 1px solid rgba(197,138,24,0.26);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(214,155,37,0.60), rgba(255,240,184,0.55), rgba(22,139,85,0.20)) border-box;
  color: #2a1a05;
  font-weight: 1000;
  box-shadow:
    0 10px 24px rgba(126,83,8,0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
  transition: .22s ease;
  overflow: hidden;
}

.market-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at left top, rgba(255,231,163,0.65), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,230,0.95));
  transition: .22s ease;
}

.market-btn::after {
  content: "›";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(197,138,24,0.10);
  color: #8d5c0d;
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
  transition: .22s ease;
  flex: 0 0 auto;
}

.market-btn span {
  display: block;
  min-width: 0;
  line-height: 1.25;
  font-size: 14px;
  letter-spacing: .1px;
  text-transform: uppercase;
}

.market-btn small {
  order: -1;
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #221300;
  font-size: 10px;
  font-weight: 1000;
  padding: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  border: 1px solid rgba(141,92,13,0.18);
  box-shadow: 0 8px 18px rgba(197,138,24,0.18);
}

.market-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(197,138,24,0.55);
  box-shadow:
    0 18px 34px rgba(126,83,8,0.16),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

.market-btn:hover::before {
  background:
    radial-gradient(circle at left top, rgba(255,231,163,0.92), transparent 48%),
    linear-gradient(135deg, #ffffff, #fff2c2);
}

.market-btn:hover::after {
  background: linear-gradient(135deg, #168b55, #d9fff0);
  color: #04170d;
  transform: translateX(2px);
}

.market-btn.active {
  border-color: rgba(22,139,85,0.42);
  background:
    linear-gradient(#fff8df, #fff8df) padding-box,
    linear-gradient(135deg, #168b55, #d69b25, #fff0b8) border-box;
  color: #1a1000;
  box-shadow:
    0 18px 38px rgba(22,139,85,0.12),
    0 12px 30px rgba(197,138,24,0.16);
}

.market-btn.active::before {
  background:
    radial-gradient(circle at left top, rgba(22,139,85,0.15), transparent 42%),
    linear-gradient(135deg, #fff3c6, #ffffff);
}

.market-btn.active::after {
  content: "✓";
  background: linear-gradient(135deg, #168b55, #d9fff0);
  color: #04170d;
  font-size: 14px;
}

.market-btn.active small {
  background: linear-gradient(135deg, #168b55, #d9fff0);
  color: #04170d;
}

.selected-market-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid rgba(22,139,85,0.22);
  background:
    radial-gradient(circle at left, rgba(22,139,85,0.12), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(217,255,240,0.45));
  color: #125d3b;
  font-weight: 1000;
  box-shadow: 0 10px 24px rgba(22,139,85,0.08);
}

.selected-market-info strong {
  color: #125d3b;
}

.selected-market-info span {
  color: #8d5c0d;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(197,138,24,0.10);
  border: 1px solid rgba(197,138,24,0.18);
}

.selected-market-info small {
  color: #70551d;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .market-button-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .market-button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-market-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-market-head .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .result-market-box {
    padding: 14px;
    border-radius: 20px;
  }

  .market-button-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .market-btn {
    min-height: 62px;
    padding: 11px 12px;
    border-radius: 16px;
  }

  .market-btn small {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .market-btn span {
    font-size: 13px;
  }
}


/* =========================================================
   RESULT EXACT MARKET MENU BUTTONS V3
   ========================================================= */

.market-menu-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.market-menu-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(197,138,24,0.10);
  border: 1px solid rgba(197,138,24,0.18);
  color: #8d5c0d;
  font-size: 12px;
  font-weight: 900;
}

.market-btn-name {
  display: block;
  min-width: 0;
  line-height: 1.25;
  font-size: 14px;
  letter-spacing: .1px;
  text-transform: uppercase;
}

.market-btn-code {
  order: -1;
  width: 46px;
  min-width: 46px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #221300;
  font-size: 10px;
  font-weight: 1000;
  padding: 0 4px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  border: 1px solid rgba(141,92,13,0.18);
  box-shadow: 0 8px 18px rgba(197,138,24,0.18);
  text-align: center;
  line-height: 1.05;
}

.market-btn.active .market-btn-code {
  background: linear-gradient(135deg, #168b55, #d9fff0);
  color: #04170d;
}

.market-btn-long .market-btn-name {
  font-size: 13px;
}

.result-quick-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-quick-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #1a1000;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(197,138,24,0.18);
}

@media (max-width: 540px) {
  .market-btn-code {
    width: 44px;
    min-width: 44px;
    height: 40px;
  }

  .market-btn-name,
  .market-btn-long .market-btn-name {
    font-size: 13px;
  }
}


/* =========================================================
   RTP AUTO REFRESH LABEL
   ========================================================= */

.rtp-auto-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 4px 0 7px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(22,139,85,0.10);
  border: 1px solid rgba(22,139,85,0.22);
  color: #168b55;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .3px;
}

.rtp-panel-head p {
  color: #4b3205;
}

.game-card {
  transition: .22s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(126,83,8,.16);
}


/* =========================================================
   GLOBAL PAGE CONTENT POLISH - MOBILE FRIENDLY
   ========================================================= */

.section-head {
  max-width: 820px;
}

.card p,
.cta-box p,
.hero-content p {
  text-wrap: pretty;
}

.table-wrap {
  border-radius: 18px;
}

@media (max-width: 780px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero,
  .page-hero {
    padding-top: 26px;
    padding-bottom: 22px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.08;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    justify-content: center;
    gap: 9px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    min-width: 132px;
    justify-content: center;
  }

  section {
    padding: 26px 0;
  }

  .section-head {
    text-align: left;
    margin-bottom: 16px;
  }

  .section-head h2 {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.15;
  }

  .section-head p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 12px;
  }

  .card {
    padding: 15px;
    border-radius: 18px;
  }

  .card h3 {
    font-size: 16px;
    line-height: 1.25;
  }

  .card p {
    font-size: 13px;
    line-height: 1.62;
  }

  .cta-box {
    padding: 20px 14px;
    border-radius: 22px;
    text-align: center;
  }

  .table-wrap {
    overflow-x: auto;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    font-size: 12px;
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 18px);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .badge,
  .eyebrow {
    font-size: 10px;
  }

  .card-icon {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .mobile-bottom .btn {
    font-size: 12px;
  }
}


/* =========================================================
   KONTEN TARUHAN BOLA & SLOT ONLINE - WHITE GOLD
   ========================================================= */

.feature-mini {
  position: relative;
  overflow: hidden;
}

.feature-mini:after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,155,37,.16), transparent 65%);
  pointer-events: none;
}

.market-clean-grid,
.slot-category-grid,
.game-showcase-grid {
  display: grid;
  gap: 14px;
}

.market-clean-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slot-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-clean-card,
.slot-category-card,
.game-showcase-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(197,138,24,.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,231,163,.50), transparent 38%),
    linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 12px 26px rgba(126,83,8,.10), inset 0 1px 0 rgba(255,255,255,.88);
  transition: .22s ease;
}

.market-clean-card:hover,
.slot-category-card:hover,
.game-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(126,83,8,.15);
}

.market-clean-card span,
.game-showcase-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #221300;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  border: 1px solid rgba(197,138,24,.24);
  font-size: 10px;
  font-weight: 1000;
  margin-bottom: 10px;
}

.market-clean-card h3,
.slot-category-card h3,
.game-showcase-card h3 {
  margin: 0 0 8px;
  color: #221300;
  font-size: 17px;
  line-height: 1.25;
}

.market-clean-card p,
.slot-category-card p,
.game-showcase-card p {
  margin: 0;
  color: #70551d;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.slot-category-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 16px;
  color: #221300;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  box-shadow: 0 8px 18px rgba(197,138,24,.16);
  font-size: 13px;
  font-weight: 1000;
}

.slot-category-card a,
.game-showcase-card a,
.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #04170d;
  background: linear-gradient(135deg, #168b55, #d9fff0);
  border: 1px solid rgba(22,139,85,.22);
  text-decoration: none;
  font-size: 11px;
  font-weight: 1000;
}

.provider-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.provider-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #8d5c0d;
  background: rgba(197,138,24,.08);
  border: 1px solid rgba(197,138,24,.22);
  font-size: 12px;
  font-weight: 1000;
}

.guide-card {
  position: relative;
  padding-top: 48px;
}

.guide-number {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #221300;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(197,138,24,.16);
}

.faq-clean {
  display: grid;
  gap: 10px;
}

.faq-clean details {
  border-radius: 18px;
  border: 1px solid rgba(197,138,24,.20);
  background: linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 10px 22px rgba(126,83,8,.08);
  overflow: hidden;
}

.faq-clean summary {
  cursor: pointer;
  padding: 15px 16px;
  color: #221300;
  font-weight: 1000;
  list-style: none;
}

.faq-clean summary::-webkit-details-marker {
  display: none;
}

.faq-clean summary:after {
  content: "+";
  float: right;
  color: #8d5c0d;
  font-weight: 1000;
}

.faq-clean details[open] summary:after {
  content: "−";
}

.faq-clean p {
  margin: 0;
  padding: 0 16px 15px;
  color: #70551d;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.compact-table table td,
.compact-table table th {
  vertical-align: top;
}

@media (max-width: 980px) {
  .market-clean-grid,
  .slot-category-grid,
  .game-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .market-clean-grid,
  .slot-category-grid,
  .game-showcase-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .market-clean-card,
  .slot-category-card,
  .game-showcase-card {
    padding: 15px;
    border-radius: 18px;
  }

  .market-clean-card h3,
  .slot-category-card h3,
  .game-showcase-card h3 {
    font-size: 15px;
  }

  .market-clean-card p,
  .slot-category-card p,
  .game-showcase-card p {
    font-size: 12.5px;
  }

  .provider-strip {
    gap: 6px;
  }

  .provider-strip span {
    min-height: 29px;
    font-size: 11px;
    padding: 6px 9px;
  }

  .faq-clean summary {
    padding: 13px 14px;
    font-size: 13px;
  }

  .faq-clean p {
    padding: 0 14px 13px;
    font-size: 12.5px;
  }
}


/* =========================================================
   HOMEPAGE FULL CONTENT + FOLDER STRUCTURE POLISH
   ========================================================= */

.home-hero-full {
  overflow: hidden;
}

.home-hero-grid,
.home-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}

.home-hero-panel,
.home-info-box {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(197,138,24,.24);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,231,163,.55), transparent 38%),
    linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 18px 38px rgba(126,83,8,.13), inset 0 1px 0 rgba(255,255,255,.9);
}

.home-hero-panel:after,
.home-info-box:after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,155,37,.16), transparent 65%);
  pointer-events: none;
}

.home-panel-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #8d5c0d;
  background: rgba(197,138,24,.08);
  border: 1px solid rgba(197,138,24,.22);
  font-size: 11px;
  font-weight: 1000;
  margin-bottom: 12px;
}

.home-hero-panel h2,
.home-info-box h3 {
  margin: 0 0 14px;
  color: #221300;
}

.home-panel-links {
  display: grid;
  gap: 9px;
}

.home-panel-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px;
  border-radius: 15px;
  color: #221300;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(197,138,24,.18);
  text-decoration: none;
  font-weight: 1000;
  transition: .22s ease;
}

.home-panel-links a:hover {
  transform: translateX(4px);
  background: #fff3c8;
}

.home-panel-links span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #221300;
  font-size: 12px;
  font-weight: 1000;
}

.home-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.home-menu-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(197,138,24,.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,231,163,.48), transparent 38%),
    linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 13px 28px rgba(126,83,8,.10);
  text-decoration: none;
  transition: .22s ease;
}

.home-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(126,83,8,.16);
}

.home-menu-card:after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,155,37,.16), transparent 65%);
}

.home-menu-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  color: #221300;
  font-size: 14px;
  font-weight: 1000;
  margin-bottom: 13px;
  box-shadow: 0 8px 18px rgba(197,138,24,.16);
}

.home-menu-card h3 {
  margin: 0 0 9px;
  color: #221300;
  font-size: 18px;
}

.home-menu-card p {
  margin: 0;
  color: #70551d;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.home-menu-card > span {
  display: inline-flex;
  margin-top: 14px;
  color: #04170d;
  font-size: 12px;
  font-weight: 1000;
  background: linear-gradient(135deg, #168b55, #d9fff0);
  border-radius: 999px;
  padding: 7px 11px;
}

.admin-card {
  border-color: rgba(22,139,85,.28);
}

.home-highlight-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(255,231,163,.28), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,248,230,.45), rgba(255,255,255,.0));
}

.home-split h2 {
  margin: 8px 0 10px;
  color: #221300;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.home-split p {
  color: #70551d;
  line-height: 1.75;
  font-weight: 650;
}

.home-list,
.home-provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.home-list span,
.home-provider-tags span {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  color: #8d5c0d;
  background: rgba(197,138,24,.08);
  border: 1px solid rgba(197,138,24,.20);
  font-size: 12px;
  font-weight: 1000;
}

.home-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(197,138,24,.22);
}

.home-info-row:last-child {
  border-bottom: 0;
}

.home-info-row span {
  color: #70551d;
  font-weight: 800;
}

.home-info-row strong {
  color: #221300;
  text-align: right;
}

.home-center-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.home-big-card .btn {
  margin-top: 14px;
}

.logo img,
.footer-logo {
  filter: drop-shadow(0 8px 16px rgba(126,83,8,.13));
}

@media (max-width: 980px) {
  .home-hero-grid,
  .home-split,
  .home-split.reverse {
    grid-template-columns: 1fr;
  }

  .home-menu-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .home-hero-panel {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .home-menu-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-menu-card {
    min-height: auto;
    padding: 15px;
    border-radius: 18px;
  }

  .home-menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }

  .home-hero-panel,
  .home-info-box {
    padding: 16px;
    border-radius: 20px;
  }

  .home-panel-links a {
    min-height: 42px;
    font-size: 13px;
  }

  .home-info-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .home-info-row strong {
    text-align: left;
  }
}


/* =========================================================
   FORCE STYLE FIX - FOLDER PAGE COMPATIBILITY
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,231,163,.35), transparent 32%),
    linear-gradient(180deg, #fffdf6 0%, #fff7e6 48%, #fff 100%);
  color: #221300;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197,138,24,.20);
}

.navbar {
  min-height: 72px;
}

.logo img {
  max-height: 54px;
  width: auto;
  display: block;
}

.menu a.active,
.menu a:hover {
  color: #8d5c0d;
  background: rgba(197,138,24,.10);
}

.btn {
  text-decoration: none;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0;
}

.hero-content {
  max-width: 780px;
}

.hero-content h1 {
  color: #221300;
}

.hero-content h1 span,
.section-head h2 span {
  color: #c58a18;
}

.card,
.home-menu-card,
.home-hero-panel,
.home-info-box,
.cta-box {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,231,163,.42), transparent 38%),
    linear-gradient(180deg, #fff, #fffaf0);
  border: 1px solid rgba(197,138,24,.22);
  box-shadow: 0 12px 26px rgba(126,83,8,.10);
}

.card,
.home-menu-card {
  color: #221300;
}

.card p,
.home-menu-card p {
  color: #70551d;
}

@media (max-width: 780px) {
  .container {
    width: calc(100% - 20px);
  }

  .navbar {
    min-height: 64px;
  }

  .logo img {
    max-height: 46px;
  }

  .hero,
  .page-hero {
    padding: 28px 0;
  }

  .hero-content h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   BREADCRUMB UI + JSON-LD SUPPORT
   ========================================================= */

.breadcrumb-ui {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(197,138,24,.20);
  box-shadow: 0 8px 18px rgba(126,83,8,.07);
  color: #70551d;
  font-size: 12px;
  font-weight: 900;
}

.breadcrumb-ui a {
  color: #8d5c0d;
  text-decoration: none;
}

.breadcrumb-ui a:hover {
  color: #221300;
}

.breadcrumb-ui span {
  color: #221300;
}

.breadcrumb-ui em {
  color: rgba(112,85,29,.50);
  font-style: normal;
}

@media (max-width: 560px) {
  .breadcrumb-ui {
    margin-top: 10px;
    border-radius: 14px;
    font-size: 11px;
    gap: 6px;
  }
}


/* =========================================================
   PREDIKSI TOGEL - SHIO WHITE GOLD COMPACT
   ========================================================= */

.prediksi-hero .hero-content {
  max-width: 840px;
}

.prediksi-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.prediksi-info-bar span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #8d5c0d;
  background: rgba(197,138,24,.08);
  border: 1px solid rgba(197,138,24,.20);
  font-size: 12px;
  font-weight: 1000;
}

.prediksi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pred-card {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(197,138,24,.24);
  background:
    radial-gradient(circle at 13% 0%, rgba(255,231,163,.45), transparent 38%),
    radial-gradient(circle at 92% 12%, rgba(22,139,85,.08), transparent 30%),
    linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 13px 28px rgba(126,83,8,.10), inset 0 1px 0 rgba(255,255,255,.9);
}

.pred-card:after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,155,37,.14), transparent 65%);
  pointer-events: none;
}

.pred-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(197,138,24,.24);
}

.pred-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  box-shadow: 0 8px 18px rgba(197,138,24,.16);
  font-size: 24px;
}

.pred-head h3 {
  margin: 0;
  color: #221300;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 1000;
  text-transform: uppercase;
}

.pred-head small {
  color: #70551d;
  font-size: 11px;
  font-weight: 850;
}

.pred-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px 1fr 128px;
  gap: 8px;
}

.pred-left {
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(197,138,24,.26);
  background: rgba(255,255,255,.72);
}

.pred-left strong {
  display: grid;
  place-items: center;
  min-height: 28px;
  color: #221300;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  font-size: 13px;
  font-weight: 1000;
}

.pred-left span {
  display: grid;
  place-items: center;
  min-height: 34px;
  color: #221300;
  border-top: 1px solid rgba(197,138,24,.18);
  font-size: 21px;
  font-weight: 1000;
}

.pred-center {
  display: grid;
  place-items: center;
  min-height: 138px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(197,138,24,.18);
  background:
    radial-gradient(circle at center, rgba(255,231,163,.35), transparent 56%),
    rgba(255,255,255,.68);
  text-align: center;
}

.pred-shio {
  font-size: 68px;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(197,138,24,.16));
}

.pred-center b {
  display: block;
  margin-top: 5px;
  color: #8d5c0d;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 1000;
}

.pred-right {
  display: grid;
  gap: 7px;
}

.pred-right div,
.pred-bottom div {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(197,138,24,.24);
  background: rgba(255,255,255,.78);
}

.pred-right small,
.pred-bottom small {
  display: grid;
  place-items: center;
  min-height: 26px;
  padding: 4px;
  color: #221300;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  font-size: 9px;
  font-weight: 1000;
  text-align: center;
}

.pred-right strong {
  display: grid;
  place-items: center;
  min-height: 42px;
  color: #221300;
  font-size: 27px;
  letter-spacing: 1px;
  font-weight: 1000;
}

.pred-row {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(197,138,24,.22);
  background: rgba(255,255,255,.75);
}

.pred-row b {
  display: block;
  padding: 7px 9px;
  color: #221300;
  background: linear-gradient(135deg, rgba(214,155,37,.88), rgba(255,240,184,.88));
  font-size: 10px;
  font-weight: 1000;
}

.pred-row div {
  display: grid;
}

.pred-row-2d div {
  grid-template-columns: repeat(6, 1fr);
}

.pred-row-3d div {
  grid-template-columns: repeat(4, 1fr);
}

.pred-row-4d div {
  grid-template-columns: repeat(2, 1fr);
}

.pred-row span {
  display: grid;
  place-items: center;
  min-height: 32px;
  color: #221300;
  border-right: 1px solid rgba(197,138,24,.16);
  font-size: 17px;
  font-weight: 1000;
}

.pred-row span:last-child {
  border-right: 0;
}

.pred-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.pred-bottom strong {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: #221300;
  font-size: 20px;
  font-weight: 1000;
}

.pred-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  color: #70551d;
  font-size: 11px;
  font-weight: 850;
}

.pred-copy {
  border: 0;
  cursor: pointer;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #04170d;
  background: linear-gradient(135deg, #168b55, #d9fff0);
  font-size: 11px;
  font-weight: 1000;
}

@media (max-width: 1040px) {
  .prediksi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .pred-card {
    padding: 10px;
    border-radius: 18px;
  }

  .pred-head h3 {
    font-size: 14px;
  }

  .pred-head small {
    font-size: 10px;
  }

  .pred-main {
    grid-template-columns: 48px 1fr;
  }

  .pred-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }

  .pred-center {
    min-height: 116px;
  }

  .pred-shio {
    font-size: 56px;
  }

  .pred-left span {
    min-height: 30px;
    font-size: 18px;
  }

  .pred-right strong {
    min-height: 38px;
    font-size: 23px;
  }

  .pred-row span {
    min-height: 28px;
    font-size: 14px;
  }

  .pred-row-2d div {
    grid-template-columns: repeat(3, 1fr);
  }

  .pred-row-3d div {
    grid-template-columns: repeat(2, 1fr);
  }

  .pred-bottom {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .pred-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .pred-copy {
    width: 100%;
  }
}


/* =========================================================
   MENU BAR FIX - SATU BARIS DESKTOP
   ========================================================= */

@media (min-width: 981px) {
  .navbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
  }

  .logo {
    flex: 0 0 auto;
    min-width: 0;
  }

  .logo img {
    max-height: 48px;
    width: auto;
  }

  .menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 5px;
    min-width: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  .menu li {
    flex: 0 0 auto;
    margin: 0;
  }

  .menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
  }

  .nav-btn .btn {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 12px;
    white-space: nowrap;
  }

  .toggle {
    display: none !important;
  }
}

/* layar laptop kecil: tombol login daftar tetap rapi dan menu tidak turun */
@media (min-width: 981px) and (max-width: 1180px) {
  .navbar {
    gap: 8px;
  }

  .menu {
    gap: 3px;
  }

  .menu a {
    padding: 7px 7px;
    font-size: 11px;
  }

  .nav-btn {
    gap: 4px;
  }

  .nav-btn .btn {
    padding: 8px 9px;
    font-size: 11px;
  }

  .logo img {
    max-height: 44px;
  }
}

/* layar sangat pas: sembunyikan tombol header, mobile bottom tetap ada */
@media (min-width: 981px) and (max-width: 1060px) {
  .nav-btn {
    display: none;
  }

  .navbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .menu {
    justify-content: flex-end;
  }
}

@media (max-width: 980px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu {
    text-align: left;
  }

  .menu a {
    white-space: nowrap;
  }
}


/* =========================================================
   PREDIKSI TOGEL GRID FIX - 4 / 3 / 2 / 1 KOLOM
   ========================================================= */

.prediksi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.pred-card {
  padding: 9px !important;
  border-radius: 17px !important;
}

.pred-head {
  gap: 7px !important;
  padding-bottom: 7px !important;
  margin-bottom: 7px !important;
}

.pred-symbol {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
  font-size: 20px !important;
}

.pred-head h3 {
  font-size: 12px !important;
  line-height: 1.15 !important;
}

.pred-head small {
  font-size: 9px !important;
}

.pred-main {
  grid-template-columns: 42px 1fr !important;
  gap: 6px !important;
}

.pred-left strong {
  min-height: 22px !important;
  font-size: 10px !important;
}

.pred-left span {
  min-height: 26px !important;
  font-size: 15px !important;
}

.pred-center {
  min-height: 96px !important;
  padding: 5px !important;
  border-radius: 12px !important;
}

.pred-shio {
  font-size: 42px !important;
}

.pred-center b {
  font-size: 9px !important;
}

.pred-right {
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

.pred-right small,
.pred-bottom small {
  min-height: 21px !important;
  font-size: 7.5px !important;
}

.pred-right strong {
  min-height: 31px !important;
  font-size: 18px !important;
}

.pred-row {
  margin-top: 6px !important;
  border-radius: 11px !important;
}

.pred-row b {
  padding: 5px 7px !important;
  font-size: 8.5px !important;
}

.pred-row span {
  min-height: 24px !important;
  font-size: 12px !important;
}

.pred-row-2d div {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.pred-row-3d div {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.pred-row-4d div {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.pred-bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
  margin-top: 6px !important;
}

.pred-bottom strong {
  min-height: 28px !important;
  font-size: 14px !important;
}

.pred-footer {
  margin-top: 7px !important;
  gap: 5px !important;
  font-size: 8.5px !important;
}

.pred-copy {
  min-height: 24px !important;
  padding: 4px 8px !important;
  font-size: 9px !important;
}

@media (max-width: 1220px) {
  .prediksi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  .prediksi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .prediksi-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .pred-card {
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .pred-symbol {
    width: 38px !important;
    height: 38px !important;
    font-size: 22px !important;
  }

  .pred-head h3 {
    font-size: 14px !important;
  }

  .pred-head small {
    font-size: 10px !important;
  }

  .pred-main {
    grid-template-columns: 48px 1fr !important;
  }

  .pred-center {
    min-height: 112px !important;
  }

  .pred-shio {
    font-size: 56px !important;
  }

  .pred-center b {
    font-size: 11px !important;
  }

  .pred-left span {
    min-height: 30px !important;
    font-size: 18px !important;
  }

  .pred-right strong {
    min-height: 38px !important;
    font-size: 23px !important;
  }

  .pred-row span {
    min-height: 28px !important;
    font-size: 14px !important;
  }

  .pred-bottom {
    grid-template-columns: 1fr !important;
  }

  .pred-footer {
    align-items: stretch !important;
    flex-direction: column !important;
    font-size: 11px !important;
  }

  .pred-copy {
    width: 100% !important;
    font-size: 11px !important;
    min-height: 28px !important;
  }
}


/* =========================================================
   PREDIKSI TOGEL - BUTTON SCROLL PASARAN
   ========================================================= */

html {
  scroll-behavior: smooth;
}

.pred-card {
  scroll-margin-top: 96px;
}

.pred-market-jump {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(197,138,24,.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,231,163,.35), transparent 40%),
    rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(126,83,8,.10);
  backdrop-filter: blur(12px);
}

.pred-market-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #221300;
  background: linear-gradient(135deg, #fff, #fff6d8);
  border: 1px solid rgba(197,138,24,.24);
  text-decoration: none;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 1000;
  white-space: nowrap;
  transition: .2s ease;
}

.pred-market-jump a:hover {
  transform: translateY(-1px);
  color: #04170d;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  box-shadow: 0 8px 16px rgba(197,138,24,.14);
}

.pred-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.pred-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #8d5c0d;
  background: rgba(197,138,24,.08);
  border: 1px solid rgba(197,138,24,.18);
  text-decoration: none;
  font-size: 9px;
  font-weight: 1000;
}

.pred-top-link:hover {
  color: #221300;
  background: #fff0b8;
}

@media (max-width: 780px) {
  .pred-card {
    scroll-margin-top: 84px;
  }

  .pred-market-jump {
    top: 64px;
    gap: 6px;
    padding: 8px;
    margin-bottom: 12px;
    border-radius: 16px;
    max-height: 154px;
    overflow-y: auto;
  }

  .pred-market-jump a {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 9.5px;
  }
}

@media (max-width: 520px) {
  .pred-market-jump {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pred-market-jump a {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .pred-footer-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pred-top-link,
  .pred-copy {
    width: 100%;
  }
}


/* =========================================================
   SEO ARTICLE + INTERNAL LINK BLOCKS
   ========================================================= */

.seo-article-section,
.internal-link-section {
  padding: 28px 0;
}

.seo-article,
.internal-link-box {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(197,138,24,.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,231,163,.42), transparent 38%),
    linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 13px 28px rgba(126,83,8,.10), inset 0 1px 0 rgba(255,255,255,.9);
}

.seo-article:after,
.internal-link-box:after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,155,37,.14), transparent 66%);
  pointer-events: none;
}

.seo-article h2,
.internal-link-box h2 {
  position: relative;
  z-index: 1;
  margin: 8px 0 12px;
  color: #221300;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
}

.seo-article h3 {
  margin: 0 0 8px;
  color: #221300;
  font-size: 16px;
}

.seo-article p,
.internal-link-box p {
  position: relative;
  z-index: 1;
  color: #70551d;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 650;
}

.seo-article a,
.internal-link-box a {
  color: #8d5c0d;
  font-weight: 1000;
  text-decoration: none;
}

.seo-grid-3 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.seo-mini-box {
  padding: 15px;
  border-radius: 18px;
  border: 1px solid rgba(197,138,24,.18);
  background: rgba(255,255,255,.72);
}

.seo-mini-box p {
  margin: 0;
  font-size: 13px;
}

.seo-note {
  position: relative;
  z-index: 1;
  padding: 13px 15px;
  border-radius: 18px;
  color: #70551d;
  background: rgba(197,138,24,.08);
  border: 1px solid rgba(197,138,24,.18);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 750;
}

.internal-link-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.internal-link-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #04170d;
  background: linear-gradient(135deg, #d69b25, #fff0b8);
  border: 1px solid rgba(197,138,24,.24);
  box-shadow: 0 8px 18px rgba(197,138,24,.12);
  font-size: 12px;
  font-weight: 1000;
}

@media (max-width: 780px) {
  .seo-article,
  .internal-link-box {
    padding: 17px;
    border-radius: 20px;
  }

  .seo-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .internal-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internal-link-grid a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .internal-link-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ADMIN DYNAMIC MANAGER UPDATE
   ========================================================= */

.admin-tabs {
  overflow-x: auto;
  padding-bottom: 6px;
}

.admin-tabs a {
  white-space: nowrap;
}

.admin-subcard {
  margin: 14px 0;
  background: rgba(255,255,255,.72);
}

.admin-dynamic-table input,
.admin-dynamic-table textarea,
.admin-dynamic-table select {
  min-width: 120px;
}

.admin-dynamic-table .mini-input {
  min-width: 64px;
  width: 74px;
}

.admin-thumb {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 6px;
  background: #fff8e6;
  border: 1px solid rgba(197,138,24,.20);
}

.admin-thumb-large {
  display: block;
  width: 120px;
  height: 92px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 8px;
  background: #fff8e6;
  border: 1px solid rgba(197,138,24,.20);
}

.admin-inline-form {
  display: grid;
  grid-template-columns: 1fr 160px auto;
  gap: 10px;
  align-items: end;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  color: #4b3205;
  font-weight: 900;
}

.check-line input {
  width: auto;
}

.market-btn-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pred-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.prediksi-grid {
  grid-template-columns: repeat(var(--pred-cols, 4), minmax(0, 1fr)) !important;
}

@media (max-width: 1220px) {
  .prediksi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  .prediksi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-inline-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .prediksi-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   FLOATING DOWNLOAD APK BUTTON
   ========================================================= */

.apk-floating-btn {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 142px;
  min-height: 54px;
  padding: 8px 13px 8px 8px;
  border-radius: 999px;
  color: #04170d;
  text-decoration: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.88), transparent 35%),
    linear-gradient(135deg, #ffe68b, #d69b25 42%, #168b55);
  border: 2px solid rgba(255, 236, 150, .95);
  box-shadow:
    0 12px 30px rgba(126,83,8,.28),
    0 0 0 5px rgba(214,155,37,.14),
    0 0 26px rgba(214,155,37,.42);
  font-family: inherit;
  transform: translateZ(0);
  animation: apkFloatBounce 2.2s ease-in-out infinite;
}

.apk-floating-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 38px rgba(126,83,8,.34),
    0 0 0 7px rgba(214,155,37,.18),
    0 0 32px rgba(214,155,37,.55);
}

.apk-floating-btn img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
  background: #fff8e6;
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 6px 14px rgba(0,0,0,.16);
}

.apk-float-text {
  position: relative;
  z-index: 2;
  display: grid;
  line-height: 1.05;
}

.apk-float-text b {
  color: #221300;
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.apk-float-text small {
  color: #06391f;
  font-size: 18px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.apk-float-pulse {
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 2px solid rgba(255,230,139,.75);
  animation: apkPulseRing 1.5s ease-out infinite;
  pointer-events: none;
}

@keyframes apkPulseRing {
  0% {
    opacity: .85;
    transform: scale(.92);
  }
  70% {
    opacity: 0;
    transform: scale(1.16);
  }
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes apkFloatBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (min-width: 981px) {
  .apk-floating-btn {
    bottom: 24px;
    right: 24px;
  }
}

@media (max-width: 520px) {
  .apk-floating-btn {
    right: 10px;
    bottom: 82px;
    min-width: 122px;
    min-height: 48px;
    padding: 7px 10px 7px 7px;
    gap: 6px;
  }

  .apk-floating-btn img {
    width: 34px;
    height: 34px;
  }

  .apk-float-text b {
    font-size: 11px;
  }

  .apk-float-text small {
    font-size: 15px;
  }
}
