/* ============================================================
   Mpo303 — mpo303.games
   Casino-theme responsive stylesheet (Indonesian gambling info portal)
   Palette: red / white / green / gold / blue / black
   ============================================================ */

:root {
  --c-red: #d81e2c;
  --c-red-dark: #a5121f;
  --c-red-deep: #7c0d18;
  --c-gold: #f5b301;
  --c-gold-light: #ffd34d;
  --c-green: #17a558;
  --c-green-dark: #0f7a40;
  --c-blue: #2563eb;
  --c-blue-dark: #1744ad;
  --c-black: #0c0e16;
  --c-black-2: #141828;
  --c-black-3: #1d2236;
  --c-line: #e6e8f0;
  --c-bg: #f6f7fb;
  --c-text: #23273b;
  --c-muted: #666d85;
  --c-white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(12, 14, 22, 0.10);
  --shadow-lg: 0 18px 50px rgba(12, 14, 22, 0.18);
  --grad-red: linear-gradient(135deg, #e8323f 0%, #b0121f 100%);
  --grad-gold: linear-gradient(135deg, #ffd34d 0%, #f0a500 100%);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
}

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

a { color: var(--c-red); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--c-red-dark); }

ul, ol { padding-left: 1.3em; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; color: var(--c-black-2); overflow-wrap: break-word; }

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

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--c-gold);
  color: #000; padding: 8px 16px; font-weight: 700; z-index: 3000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

::selection { background: var(--c-gold); color: var(--c-black); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--c-black);
  color: #cfd3e4;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 34px; flex-wrap: wrap; padding: 4px 0;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar a { color: var(--c-gold-light); }
.topbar a:hover { color: var(--c-gold); }
.badge18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 22px; padding: 0 6px; border-radius: 6px;
  border: 1.5px solid var(--c-red); color: #ff8d96; font-weight: 800; font-size: 11.5px;
  letter-spacing: 0.5px;
}
.topbar-date { color: #9aa0b8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(12, 14, 22, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--c-gold);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-chip { width: 40px; height: 40px; flex-shrink: 0; }
.logo-word {
  font-size: 25px; font-weight: 900; letter-spacing: 0.5px;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.logo-word small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; color: #8f96b3; -webkit-text-fill-color: #8f96b3; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; flex-wrap: wrap; }
.main-nav a {
  color: #d7dbea; font-weight: 600; font-size: 14.5px;
  padding: 8px 11px; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--c-gold-light); background: rgba(255, 255, 255, 0.07); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Search */
.search-box { position: relative; }
.search-input {
  width: 210px; max-width: 40vw; padding: 9px 14px 9px 36px;
  border-radius: 999px; border: 1px solid #2c3350; background: var(--c-black-3);
  color: #fff; font-size: 13.5px; font-family: var(--font); outline: none;
}
.search-input::placeholder { color: #767d9c; }
.search-input:focus { border-color: var(--c-gold); }
.search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #767d9c; font-size: 14px; pointer-events: none;
}
.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 320px; max-width: 80vw;
  background: var(--c-white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); overflow: hidden; display: none; z-index: 1200;
  border: 1px solid var(--c-line); text-align: left;
}
.search-results.open { display: block; }
.search-results a {
  display: block; padding: 10px 14px; color: var(--c-text); font-size: 13.5px;
  border-bottom: 1px solid var(--c-line); font-weight: 600;
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--c-bg); color: var(--c-red); }
.search-results a span { display: block; font-weight: 400; font-size: 12px; color: var(--c-muted); }
.search-empty { padding: 12px 14px; color: var(--c-muted); font-size: 13px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: 14.5px;
  border: 2px solid transparent; cursor: pointer; font-family: var(--font);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1.2; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-red); color: #fff;
  box-shadow: 0 6px 18px rgba(216, 30, 44, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 8px 24px rgba(216, 30, 44, 0.5); transform: translateY(-1px); }
.btn-gold {
  background: var(--grad-gold); color: #3a2a00;
  box-shadow: 0 6px 18px rgba(245, 179, 1, 0.35);
}
.btn-gold:hover { color: #3a2a00; box-shadow: 0 8px 24px rgba(245, 179, 1, 0.5); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #e9ebf5; border-color: #3a415f; }
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold-light); }
.btn-green { background: linear-gradient(135deg, #1db565 0%, #0f7a40 100%); color: #fff; }
.btn-green:hover { color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; flex-shrink: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--c-gold-light); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none; background: var(--c-black-2); border-top: 1px solid #232a45;
  padding: 12px 20px 18px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; color: #d7dbea; font-weight: 600; padding: 11px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 15px;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--c-gold-light); }
.mobile-nav .mobile-cta { display: flex; gap: 10px; margin-top: 14px; }
.mobile-nav .mobile-cta .btn { flex: 1; }
.mobile-search { position: relative; margin-bottom: 6px; }
.mobile-search .search-input { width: 100%; max-width: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 14, 22, 0.82) 0%, rgba(20, 24, 40, 0.9) 55%, rgba(124, 13, 24, 0.92) 100%),
    url("../img/hero-casino.jpg") center 30% / cover no-repeat;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px;
  align-items: center; padding: 64px 0 72px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 179, 1, 0.14); border: 1px solid rgba(245, 179, 1, 0.45);
  color: var(--c-gold-light); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.5px; margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--c-gold-light); }
.hero-sub { color: #ccd1e4; font-size: clamp(15px, 1.6vw, 17.5px); max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #aab1c9; }
.hero-note .badge18 { flex-shrink: 0; }

.hero-panel {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-panel h3 { color: var(--c-gold-light); font-size: 17px; margin-bottom: 14px; }
.hero-panel ul { list-style: none; padding: 0; }
.hero-panel li {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14); color: #e3e7f4; font-size: 14.5px;
}
.hero-panel li:last-child { border-bottom: 0; }
.check-dot { color: var(--c-green); font-weight: 900; flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--c-bg); }
.section-dark { background: var(--c-black-2); color: #cfd4e6; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-kicker {
  display: inline-block; color: var(--c-red); font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; font-size: 12.5px; margin-bottom: 10px;
}
.section-dark .section-kicker { color: var(--c-gold); }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.section-head p { color: var(--c-muted); font-size: 15.5px; }
.section-dark .section-head p { color: #a8aec7; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.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 {
  background: var(--c-white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-line); box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column; min-width: 0;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--grad-red); color: #fff; font-size: 11.5px; font-weight: 800;
  padding: 4px 11px; border-radius: 999px; letter-spacing: 0.4px;
}
.card-img .tag.tag-gold { background: var(--grad-gold); color: #3a2a00; }
.card-img .tag.tag-green { background: linear-gradient(135deg, #1db565, #0f7a40); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.card-body h3 { font-size: 18px; }
.card-body p { color: var(--c-muted); font-size: 14.5px; flex: 1; }
.card-link { font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* Feature cards (why choose us) */
.feature-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 24px; text-align: center; box-shadow: var(--shadow); min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.fi-red { background: rgba(216, 30, 44, 0.1); }
.fi-gold { background: rgba(245, 179, 1, 0.15); }
.fi-green { background: rgba(23, 165, 88, 0.12); }
.fi-blue { background: rgba(37, 99, 235, 0.1); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--c-muted); font-size: 14px; }

/* Advantage strip */
.adv-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.adv-item {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; min-width: 0;
  box-shadow: var(--shadow);
}
.adv-item .ico { font-size: 22px; flex-shrink: 0; }
.adv-item strong { display: block; font-size: 14.5px; color: var(--c-black-2); }
.adv-item span { font-size: 12.5px; color: var(--c-muted); }

/* Category tiles */
.cat-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow); color: #fff;
  transition: transform 0.2s ease;
}
.cat-tile:hover { transform: translateY(-4px); color: #fff; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 22, 0) 30%, rgba(12, 14, 22, 0.88) 100%);
}
.cat-tile-body { position: relative; z-index: 2; padding: 20px; }
.cat-tile-body h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.cat-tile-body p { color: #ccd1e4; font-size: 13.5px; margin-bottom: 10px; }
.cat-tile-body .card-link { color: var(--c-gold-light); }

/* Split media block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 14px; }
.split .section-kicker { text-align: left; display: block; }
.split p.lead { color: var(--c-muted); margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(23, 165, 88, 0.14); color: var(--c-green-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; margin-top: 2px;
}
.section-dark .check-list li::before { background: rgba(23, 165, 88, 0.25); color: #55d69a; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(300px, 78vw); border-radius: 34px; border: 8px solid #10131f;
  background: #10131f; box-shadow: var(--shadow-lg); overflow: hidden;
}
.phone img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; }

/* Payments */
.pay-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); border: 1.5px solid var(--c-line); border-radius: 10px;
  padding: 9px 14px; font-weight: 700; font-size: 13.5px; color: var(--c-black-2);
  box-shadow: 0 3px 10px rgba(12, 14, 22, 0.06); min-width: 0;
}
.pay-chip .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* Testimonials */
.testi-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.testi-stars { color: var(--c-gold); letter-spacing: 2px; font-size: 15px; }
.testi-card blockquote { color: var(--c-text); font-size: 14.5px; font-style: italic; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-ava {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
}
.testi-who strong { display: block; font-size: 14.5px; }
.testi-who span { font-size: 12.5px; color: var(--c-muted); }

/* Calculator (innovative section) */
.calc-card {
  background: var(--c-white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-lg); border-top: 4px solid var(--c-gold);
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.calc-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--c-black-2); }
.calc-field input, .calc-field select {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--c-line);
  font-size: 15px; font-family: var(--font); outline: none; background: #fbfbfe;
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--c-gold); }
.calc-result {
  background: var(--c-black-2); color: #fff; border-radius: var(--radius-sm);
  padding: 20px 22px; display: grid; gap: 8px;
}
.calc-result .big { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: var(--c-gold-light); }
.calc-result .lbl { font-size: 12.5px; color: #9aa0b8; text-transform: uppercase; letter-spacing: 1px; }
.calc-note { font-size: 12.5px; color: var(--c-muted); margin-top: 12px; }

/* Security section */
.security-list { display: grid; gap: 16px; }
.sec-item {
  display: flex; gap: 16px; align-items: flex-start; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 18px 20px; min-width: 0;
  box-shadow: var(--shadow);
}
.sec-item .ico {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(37, 99, 235, 0.1);
  display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0;
}
.sec-item h3 { font-size: 16px; margin-bottom: 4px; }
.sec-item p { color: var(--c-muted); font-size: 14px; }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  background: var(--c-white); border: 1.5px solid var(--c-line); color: var(--c-text);
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  transition: all 0.15s ease;
}
.tag-cloud a:hover, .tag-cloud a.hot {
  border-color: var(--c-red); color: var(--c-red); background: rgba(216, 30, 44, 0.05);
  transform: translateY(-2px);
}
.tag-cloud .flame { margin-right: 4px; }

/* ---------- Article / prose ---------- */
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  color: var(--c-muted); font-size: 13.5px; margin-bottom: 20px;
}
.article-meta .author { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-black-2); }
.article-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 26px; }
.article-figure img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.article-figure figcaption { font-size: 12.5px; color: var(--c-muted); padding: 10px 14px; background: var(--c-bg); }

.prose { font-size: 16px; color: #333852; }
.prose h2 { font-size: 23px; margin: 34px 0 14px; }
.prose h3 { font-size: 18.5px; margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 4px solid var(--c-gold); background: var(--c-bg);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; font-style: italic;
}
.prose strong { color: var(--c-black-2); }
.prose .btn { margin-top: 8px; }

/* Info callouts */
.callout {
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 20px 0;
  display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px;
}
.callout .ico { font-size: 22px; flex-shrink: 0; }
.callout-info { background: rgba(37, 99, 235, 0.07); border: 1px solid rgba(37, 99, 235, 0.25); }
.callout-warn { background: rgba(245, 179, 1, 0.1); border: 1px solid rgba(245, 179, 1, 0.4); }
.callout-danger { background: rgba(216, 30, 44, 0.06); border: 1px solid rgba(216, 30, 44, 0.25); }
.callout-green { background: rgba(23, 165, 88, 0.08); border: 1px solid rgba(23, 165, 88, 0.3); }

/* Tables */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--c-line);
  margin: 20px 0; -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; background: #fff; }
.table-wrap th {
  background: var(--c-black-2); color: var(--c-gold-light); text-align: left;
  padding: 12px 16px; font-size: 13px; letter-spacing: 0.4px; white-space: nowrap;
}
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--c-line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: var(--c-bg); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 17px 20px; font-weight: 700; font-size: 15.5px; color: var(--c-black-2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-ico {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  background: rgba(216, 30, 44, 0.09); color: var(--c-red);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 900;
}
.faq-item summary .chev { margin-left: auto; transition: transform 0.2s ease; color: var(--c-muted); flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 20px 18px 62px; color: var(--c-muted); font-size: 14.5px; }
.faq-item .faq-body a { font-weight: 600; }

/* ---------- Breadcrumbs / page head ---------- */
.page-head {
  background:
    linear-gradient(180deg, rgba(12, 14, 22, 0.88), rgba(20, 24, 40, 0.94)),
    url("../img/casino-floor2.jpg") center 40% / cover no-repeat;
  color: #fff; padding: 38px 0 44px;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #9aa0b8; margin-bottom: 14px; }
.breadcrumb a { color: var(--c-gold-light); }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb .sep { color: #5a617e; }
.page-head h1 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 10px; max-width: 840px; }
.page-head .desc { color: #bcc2d9; max-width: 760px; font-size: 15.5px; }

/* Steps */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px; position: relative; box-shadow: var(--shadow); min-width: 0;
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px;
  margin-bottom: 14px; box-shadow: 0 6px 14px rgba(216, 30, 44, 0.3);
}
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { color: var(--c-muted); font-size: 14px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line); padding: 34px; max-width: 520px; margin: 0 auto;
  border-top: 5px solid var(--c-red);
}
.form-card h2 { font-size: 22px; margin-bottom: 6px; }
.form-card .form-sub { color: var(--c-muted); font-size: 14px; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--c-black-2); }
.form-field input, .form-field select {
  width: 100%; padding: 12px 15px; border-radius: 10px; border: 1.5px solid var(--c-line);
  font-size: 15px; font-family: var(--font); outline: none; background: #fbfbfe; color: var(--c-text);
}
.form-field input:focus, .form-field select:focus { border-color: var(--c-red); }
.form-field .hint { font-size: 12px; color: var(--c-muted); margin-top: 5px; }
.form-field input.invalid { border-color: var(--c-red); background: rgba(216, 30, 44, 0.04); }
.form-error { display: none; background: rgba(216, 30, 44, 0.07); border: 1px solid rgba(216, 30, 44, 0.3); color: var(--c-red-dark); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.form-error.show { display: block; }
.form-legal { font-size: 12.5px; color: var(--c-muted); margin-top: 16px; text-align: center; }
.form-alt-link { text-align: center; margin-top: 18px; font-size: 14px; color: var(--c-muted); }
.form-alt-link a { font-weight: 700; }

/* ---------- Floating CTA bar (slot style) ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.88), rgba(12, 14, 22, 0.98));
  border-top: 2px solid var(--c-gold);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
/* falling coins */
.float-bar::before, .float-bar::after {
  content: ""; position: absolute; top: -34px; font-size: 17px; opacity: 0;
  animation: coinFall 3.2s linear infinite;
}
.float-bar::before { content: "🪙"; left: 16%; animation-delay: 0s; }
.float-bar::after { content: "🪙"; right: 16%; animation-delay: 1.6s; }
@keyframes coinFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(86px) rotate(340deg); opacity: 0; }
}

.float-reels {
  display: flex; gap: 5px; background: var(--c-black); border: 2px solid #3a415f;
  border-radius: 10px; padding: 6px 9px; flex-shrink: 0;
}
.reel {
  width: 30px; height: 30px; border-radius: 7px; background: var(--c-black-3);
  border: 1px solid #323a5a; display: flex; align-items: center; justify-content: center;
  font-size: 16px; overflow: hidden;
}
.float-btn {
  border: 0; cursor: pointer; font-family: var(--font);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 900; font-size: 15px;
  letter-spacing: 0.6px; text-decoration: none; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.float-btn:active { transform: translateY(2px) scale(0.98); }
.float-btn-daftar {
  background: var(--grad-red); color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 211, 77, 0.55), 0 6px 20px rgba(216, 30, 44, 0.55);
  animation: pulseGlow 1.8s ease-in-out infinite;
}
.float-btn-masuk {
  background: var(--grad-gold); color: #3a2a00;
  box-shadow: 0 6px 20px rgba(245, 179, 1, 0.4);
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 211, 77, 0.55), 0 6px 20px rgba(216, 30, 44, 0.55); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(255, 211, 77, 0.28), 0 8px 26px rgba(216, 30, 44, 0.7); transform: scale(1.035); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-black); color: #a3a9c2; font-size: 14px; }
.footer-cta {
  background: linear-gradient(120deg, var(--c-red-deep), var(--c-red) 55%, #e8323f);
  padding: 34px 0;
}
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-cta h3 { color: #fff; font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 6px; }
.footer-cta p { color: rgba(255, 255, 255, 0.85); font-size: 14.5px; }
.footer-cta .btn { flex-shrink: 0; }

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  padding: 46px 0 34px;
}
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.4px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #a3a9c2; }
.footer-col a:hover { color: var(--c-gold-light); }
.footer-about-text { margin: 14px 0 16px; color: #8b91ab; font-size: 13.5px; }
.footer-pay { margin-top: 6px; }
.footer-pay .pay-chip { background: var(--c-black-3); border-color: #272d49; color: #cfd4e6; }

.footer-responsible {
  border-top: 1px solid #1c2138; border-bottom: 1px solid #1c2138;
  padding: 22px 0; display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  background: rgba(216, 30, 44, 0.05);
}
.footer-responsible .r18 {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--c-red);
  color: #ff8d96; font-weight: 900; font-size: 15px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.footer-responsible p { font-size: 13px; color: #9aa0b8; max-width: 900px; }
.footer-responsible a { color: var(--c-gold-light); font-weight: 700; }

.footer-bottom {
  padding: 20px 0 78px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #767d99;
}
.footer-bottom .dots { color: #3c4363; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 26px; }
.pill { display: inline-block; background: rgba(23, 165, 88, 0.1); color: var(--c-green-dark); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.pill-blue { background: rgba(37, 99, 235, 0.08); color: var(--c-blue-dark); }
.pill-gold { background: rgba(245, 179, 1, 0.13); color: #8a6400; }
.pill-red { background: rgba(216, 30, 44, 0.08); color: var(--c-red-dark); }
.strong-red { color: var(--c-red); font-weight: 800; }
.strong-green { color: var(--c-green-dark); font-weight: 800; }

.notice-box {
  background: var(--c-bg); border: 1px dashed #c9cede; border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: 13.5px; color: var(--c-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .search-box { display: none; }
  .header-actions .btn-ghost { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero-panel { max-width: 560px; }
  .adv-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 44px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .faq-item .faq-body { padding-left: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 26px; }
  .float-reels { display: none; }
  .float-bar { gap: 10px; padding-left: 10px; padding-right: 10px; }
  .float-btn { flex: 1; padding: 13px 10px; font-size: 14.5px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 46%; }
  .topbar-right { display: none; }
  .card-body { padding: 18px; }
  .form-card { padding: 26px 20px; }
}

@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .adv-strip { grid-template-columns: 1fr; }
  .logo-word { font-size: 21px; }
  .float-btn { font-size: 14px; padding: 12px 8px; letter-spacing: 0.2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* print */
@media print {
  .site-header, .float-bar, .footer-cta, .topbar { display: none; }
}
