/* TOGEL88 — CSS rapi, responsif, tanpa framework eksternal */
:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #211c16;
  --muted: #6d665c;
  --gold: #d79a23;
  --gold-light: #ffdf8a;
  --gold-dark: #85500a;
  --stroke: #eee6d9;
  --night: #1b1308;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(78, 52, 12, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
:focus-visible { outline: 3px solid #c98d0e; outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -70px; z-index: 100; padding: 12px 16px; background: white; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid #eee4d1; backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 79px; }
.brand { display: block; width: 190px; flex: 0 0 190px; }
.brand img { width: 100%; }
.desktop-nav { display: flex; align-items: center; gap: clamp(12px,2vw,28px); }
.desktop-nav a { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav .active { color: var(--gold-dark); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 12px 22px; border-radius: 11px; font-weight: 800; font-size: .92rem; line-height: 1.1; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 39px; padding: 10px 17px; font-size: .82rem; }
.btn-gold { color: #241402; border: 1px solid #d29718; background: linear-gradient(180deg,#fff0b2 0%,#f8cb5c 40%,#dc9818 100%); box-shadow: 0 5px 18px #ac6b0f2e, inset 0 1px #fff8d2; }
.btn-gold:hover { box-shadow: 0 8px 22px #ac6b0f45; }
.btn-outline { border: 1px solid #b7893a; color: #6c420a; background: #fff; }
.btn-light { color: #69430d; background: white; border: 1px solid #f6e9c4; }
.mobile-nav { display: none; }

/* Hero */
.hero-section { padding: 25px 0 22px; background: radial-gradient(ellipse at 60% 0%,#fff1ce 0%,transparent 53%),linear-gradient(180deg,#fffdf8 0%,#fcf7ec 100%); }
.hero-panel { display: grid; grid-template-columns: 1fr 47%; align-items: stretch; overflow: hidden; min-height: 455px; border: 1px solid #ebd6ac; border-radius: 25px; background: radial-gradient(circle at 34% 30%,#51350e,#231705 63%); color: white; box-shadow: 0 18px 44px rgba(82,51,9,.18); }
.hero-copy { position: relative; z-index: 2; padding: clamp(32px,4.4vw,65px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-copy::after { content: ""; pointer-events: none; position: absolute; top: -80px; left: 72%; width: 340px; height: 580px; border: 1px solid #bb89334d; transform: rotate(27deg); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #b68c4c78; color: #fce1a3; padding: 6px 12px; border-radius: 99px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.eyebrow-dot { width: 7px; height: 7px; background: #ffe28d; border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.4rem,4.4vw,4.2rem); line-height: 1.12; letter-spacing: -.055em; font-weight: 900; margin: 20px 0; }
h1 span { color: #ffdf85; display: block; }
.hero-lead { max-width: 555px; color: #f2e8da; font-size: 1rem; line-height: 1.75; margin-bottom: 25px; }
.hero-buttons, .hero-points { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.hero-points { margin-top: 26px; gap: 15px; color: #e7d4b6; font-size: .78rem; font-weight: 700; }
.hero-art { position: relative; min-width: 0; overflow: hidden; }
.hero-art::before { content: ""; z-index: 1; position: absolute; inset: 0; background: linear-gradient(90deg,#241706 0%,rgba(36,23,6,0) 36%),linear-gradient(0deg,#1c1204 0%,transparent 17%); }
.hero-art img { height: 100%; width: 100%; object-fit: cover; object-position: 58% 35%; }

/* Global sections */
.section { padding: 58px 0; }
.section-heading { margin-bottom: 26px; }
.section-heading.centered { text-align: center; }
.section-heading.compact { margin-bottom: 19px; }
.section-kicker { display: inline-block; color: #98620a; font-size: .72rem; font-weight: 900; letter-spacing: .17em; margin-bottom: 8px; }
.section-heading h2, .article-panel h2 { margin-bottom: 8px; font-size: clamp(1.75rem,2.9vw,2.55rem); line-height: 1.2; letter-spacing: -.04em; }
.section-heading em { font-style: normal; color: #b27610; }
.section-heading p { margin: 0; color: var(--muted); }

/* Six themed cards */
.games-section { padding-top: 48px; }
.games-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.game-card { position: relative; overflow: hidden; min-height: 180px; border: 2px solid #e3c477; border-radius: 16px; background: #130d08; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 17px 32px #a7771738; }
.game-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(0deg,#120b04 0%,transparent 90%); }
.game-card img { height: 180px; width: 100%; object-fit: cover; }
.game-card-label { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; color: #fff; display: flex; align-items: center; justify-content: space-between; font-size: .90rem; font-weight: 900; text-shadow: 0 1px 5px #000; }
.game-card-label span { color: #f8d176; }

/* Transaction info */
.stats-section { background: linear-gradient(180deg,#fff8ed,#fffdf8); border-top: 1px solid #f2e8d7; border-bottom: 1px solid #f2e8d7; }
.stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.stat-card { display: flex; gap: 18px; align-items: center; min-height: 130px; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid #ede1cb; box-shadow: var(--shadow); }
.stat-icon { display: grid; place-items: center; flex: 0 0 66px; width: 66px; height: 66px; border-radius: 18px; color: #fff4d3; background: linear-gradient(135deg,#ffcf66,#ac650a 80%); font-size: 1.8rem; box-shadow: inset 0 2px #fff5c866; }
.stat-title { font-size: .77rem; text-transform: uppercase; font-weight: 900; letter-spacing: .045em; margin: 0 0 2px; color: #765327; }
.stat-card strong { display: block; font-size: clamp(1.45rem,2.3vw,2.05rem); line-height: 1.35; color: #b46e0b; letter-spacing: -.03em; }
.stat-card div > span { color: var(--muted); font-size: .8rem; }
.transaction-note { margin: 16px 0 0; text-align: center; color: #786b58; font-size: .79rem; }

/* Features */
.advantages-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.feature { background: #fff; padding: 27px 22px; border: 1px solid var(--stroke); border-radius: 17px; text-align: center; box-shadow: var(--shadow); }
.feature-icon { display: inline-grid; place-items: center; width: 57px; height: 57px; border-radius: 17px; color: #fff3d6; font-size: 2rem; background: linear-gradient(155deg,#e9ac32,#92540b); margin-bottom: 13px; }
.feature h3 { font-size: 1.02rem; margin: 0 0 6px; }
.feature p { color: var(--muted); font-size: .87rem; line-height: 1.65; margin: 0; }

/* Article & FAQ */
.editorial-section { padding-top: 14px; padding-bottom: 70px; }
.content-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr); gap: 22px; align-items: start; }
.article-panel, .faq-panel { padding: clamp(24px,3vw,39px); background: #fff; border: 1px solid var(--stroke); border-radius: var(--radius); box-shadow: var(--shadow); }
.article-panel h2 { font-size: clamp(1.65rem,2.5vw,2.12rem); }
.article-panel h3 { font-size: 1.15rem; margin: 23px 0 8px; color: #a3660e; }
.article-panel p { color: #4c463c; line-height: 1.85; font-size: .94rem; margin-bottom: 13px; }
.aside-column { display: grid; gap: 19px; }
.faq-panel { padding: 27px 24px; }
.faq-panel h2 { font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 18px; }
.faq-panel details { margin-bottom: 8px; border: 1px solid #eedfbe; border-radius: 10px; background: #fffefa; overflow: hidden; }
.faq-panel summary { position: relative; padding: 14px 36px 14px 14px; cursor: pointer; font-weight: 750; line-height: 1.4; font-size: .85rem; list-style: none; }
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after { content: "+"; position: absolute; right: 14px; color: #b57511; font-size: 1.25rem; top: 9px; }
.faq-panel details[open] summary::after { content: "−"; }
.faq-panel details p { margin: 0; padding: 0 14px 15px; color: #695e50; font-size: .85rem; }
.access-panel { overflow: hidden; padding: 30px; border-radius: 17px; color: #fff6da; background: radial-gradient(circle at 95% 0%,#9a6417 0%,transparent 50%),linear-gradient(135deg,#32200c,#171007); box-shadow: var(--shadow); }
.access-mark { color: #ffce6a; font-size: 2rem; }
.access-panel h2 { margin: 10px 0; font-size: 1.5rem; line-height: 1.24; }
.access-panel p { font-size: .9rem; color: #e8dcc8; margin-bottom: 23px; }

/* Footer */
.site-footer { background: #191208; color: white; border-top: 4px solid #bb8731; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 23px 0; }
.footer-logo { display: block; width: 166px; flex: 0 0 166px; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-main nav a { font-size: .83rem; color: #e9dfcc; }
.footer-main nav a:hover { color: #ffd985; }
.footer-bottom { border-top: 1px solid #f7e2bd24; padding: 16px 0 20px; display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; color: #c8bda8; font-size: .72rem; }

/* Devices */
@media (max-width: 1060px) {
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: .74rem; }
  .brand { flex-basis: 165px; width: 165px; }
  .games-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .game-card, .game-card img { height: 190px; }
  .hero-panel { grid-template-columns: 53% 47%; }
  .hero-copy { padding: 36px; }
}
@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; border: 1px solid #dbc28a; padding: 7px 11px; border-radius: 10px; font-size: .79rem; font-weight: 800; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; right: 0; top: 48px; width: 210px; padding: 8px; background: #fff; border: 1px solid var(--stroke); border-radius: 12px; box-shadow: var(--shadow); display: grid; }
  .mobile-nav nav a { padding: 9px 10px; font-size: .86rem; border-radius: 7px; }
  .mobile-nav nav a:hover { background: #fff3d5; }
  .header-inner { justify-content: space-between; min-height: 70px; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-copy { min-height: 390px; padding: 33px; }
  .hero-art { height: 350px; }
  .hero-art::before { background: linear-gradient(180deg,#231705 0%,transparent 26%); }
  .hero-art img { object-position: 50% 24%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 100px; }
  .advantages-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .aside-column { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 26px, 1180px); }
  .brand { width: 142px; flex: 0 0 142px; }
  .header-inner { gap: 8px; }
  .header-actions { margin-left: auto; gap: 5px; }
  .btn-sm { padding: 8px 9px; font-size: .73rem; min-height: 34px; }
  .mobile-nav summary { font-size: .73rem; padding: 6px 8px; }
  .hero-section { padding-top: 13px; }
  .hero-panel { border-radius: 17px; }
  .hero-copy { padding: 26px 23px; min-height: 0; }
  h1 { font-size: clamp(2.15rem,10vw,3.3rem); }
  .eyebrow { font-size: .58rem; }
  .hero-lead { font-size: .92rem; }
  .hero-art { height: 290px; }
  .hero-points { gap: 7px 12px; font-size: .69rem; }
  .hero-buttons .btn { min-height: 43px; font-size: .8rem; padding: 10px 13px; }
  .section { padding: 40px 0; }
  .games-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .game-card, .game-card img { height: 160px; }
  .game-card-label { font-size: .77rem; left: 8px; right: 8px; }
  .stat-card { padding: 17px; }
  .advantages-grid { gap: 9px; }
  .feature { padding: 22px 11px; }
  .feature h3 { font-size: .94rem; }
  .feature p { font-size: .78rem; }
  .aside-column { grid-template-columns: 1fr; }
  .article-panel, .faq-panel { padding: 24px 20px; }
  .footer-main, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-main nav { gap: 11px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
