/* ============================================================
   Keju4d — keju4d.games
   Casino theme: red / white / green / yellow / blue / black
   Fully responsive, no external assets.
   ============================================================ */

:root {
  --bg: #0a0d14;
  --bg2: #0d1220;
  --panel: #141b2a;
  --panel2: #1a2334;
  --line: #243149;
  --red: #e23744;
  --red-d: #b01e2e;
  --gold: #f6c445;
  --gold-2: #ffd76a;
  --gold-d: #c67c12;
  --green: #23c26e;
  --green-d: #128a4b;
  --blue: #3ea6ff;
  --blue-d: #1f6fd0;
  --text: #eef2f8;
  --muted: #a7b4c9;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", 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%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul, ol { list-style-position: inside; }

::selection { background: rgba(246, 196, 69, .35); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold); color: #221600; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 800; font-size: 1rem;
  letter-spacing: .3px; border: 0; cursor: pointer; line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 45%, var(--gold-d));
  color: #33230a; box-shadow: 0 8px 24px rgba(246, 196, 69, .35);
}
.btn-gold:hover { color: #33230a; filter: brightness(1.06); transform: translateY(-2px); }
.btn-red {
  background: linear-gradient(180deg, #f0555f, var(--red) 50%, var(--red-d));
  color: #fff; box-shadow: 0 8px 24px rgba(226, 55, 68, .35);
}
.btn-red:hover { color: #fff; filter: brightness(1.06); transform: translateY(-2px); }
.btn-green {
  background: linear-gradient(180deg, #3dd986, var(--green) 50%, var(--green-d));
  color: #04301a; box-shadow: 0 8px 24px rgba(35, 194, 110, .3);
}
.btn-green:hover { color: #04301a; filter: brightness(1.06); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, .06); color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--gold-2); border-color: var(--gold); }
.btn-sm { padding: 9px 18px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  letter-spacing: .3px;
}
.b-red { background: rgba(226, 55, 68, .16); color: #ff8d96; border: 1px solid rgba(226, 55, 68, .45); }
.b-gold { background: rgba(246, 196, 69, .14); color: var(--gold-2); border: 1px solid rgba(246, 196, 69, .45); }
.b-green { background: rgba(35, 194, 110, .14); color: #6fe3a8; border: 1px solid rgba(35, 194, 110, .45); }
.b-blue { background: rgba(62, 166, 255, .13); color: #8ec9ff; border: 1px solid rgba(62, 166, 255, .45); }

/* ---------- Header ---------- */
.topbar {
  background: linear-gradient(90deg, var(--red-d), var(--red) 50%, var(--red-d));
  font-size: .8rem; font-weight: 600;
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap;
}
.topbar-item { color: #ffe3e5; }
.topbar-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar-link:hover { color: var(--gold-2); }

.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 13, 20, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 900; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--gold-2); }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.brand .b4d { color: var(--gold); }
.brand:hover .b4d { color: var(--red); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav > a {
  color: var(--muted); font-weight: 700; font-size: .93rem;
  padding: 9px 13px; border-radius: 10px; white-space: nowrap;
}
.nav > a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav > a.active { color: var(--gold); background: rgba(246, 196, 69, .1); }

.nav-search { position: relative; margin-left: 6px; }
.nav-search input {
  width: 190px; padding: 9px 14px 9px 36px; border-radius: 999px;
  background: var(--bg2); border: 1px solid var(--line); color: var(--text);
  font-size: .88rem; font-family: var(--font); outline: none;
  transition: width .2s ease, border-color .2s ease;
}
.nav-search input:focus { border-color: var(--gold); width: 230px; }
.nav-search::before {
  content: "🔍"; position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); font-size: .8rem; opacity: .7; pointer-events: none;
}

.search-results {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  width: 320px; max-width: 86vw; background: var(--panel2);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; text-align: left;
}
.search-box.open .search-results { display: block; }
.search-results a {
  display: block; padding: 11px 16px; color: var(--text);
  border-bottom: 1px solid rgba(36, 49, 73, .6); font-size: .88rem;
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.sel { background: rgba(246, 196, 69, .1); }
.search-results .sr-t { font-weight: 700; color: var(--gold-2); }
.search-results .sr-d { display: block; color: var(--muted); font-size: .78rem; }
.search-results .sr-none { padding: 14px 16px; color: var(--muted); font-size: .85rem; }

.nav-cta { display: flex; gap: 10px; margin-left: 8px; }

.nav-toggle { display: none; }
.nav-burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-burger span {
  display: block; width: 20px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg2); }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.eyebrow.e-red { color: #ff8d96; }
.eyebrow.e-green { color: #6fe3a8; }
.eyebrow.e-blue { color: #8ec9ff; }
.section-head h2 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 12px; }

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

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-d));
}
.card.acc-red::before { background: linear-gradient(90deg, #f0555f, var(--red-d)); }
.card.acc-green::before { background: linear-gradient(90deg, #3dd986, var(--green-d)); }
.card.acc-blue::before { background: linear-gradient(90deg, #7cc4ff, var(--blue-d)); }
.card:hover { transform: translateY(-4px); border-color: rgba(246, 196, 69, .5); box-shadow: var(--shadow); }

.icn {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(246, 196, 69, .12); font-size: 24px; margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .93rem; overflow-wrap: break-word; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(8, 10, 16, .96) 30%, rgba(8, 10, 16, .68) 60%, rgba(8, 10, 16, .35)),
    url("/assets/img/hero.jpg") center / cover no-repeat;
  padding: 92px 0 68px;
}
.hero-in { max-width: 640px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); line-height: 1.18; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--gold); }
.hero-lead { color: #cfd9ea; font-size: 1.05rem; margin: 18px 0 26px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-search { margin-top: 30px; max-width: 560px; }
.hero-search .search-results { width: 100%; left: 0; right: auto; }
.search-big { display: flex; gap: 10px; }
.search-big input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 12px;
  background: rgba(13, 18, 32, .9); border: 1px solid var(--line); color: var(--text);
  font-size: .98rem; font-family: var(--font); outline: none;
}
.search-big input:focus { border-color: var(--gold); }

.tag-cloud { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tag-cloud .tc-label { font-size: .82rem; color: var(--muted); font-weight: 700; }
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
  color: #d7e0ee; font-size: .82rem; font-weight: 600;
  transition: all .15s ease;
}
.tag:hover { color: #221600; background: var(--gold); border-color: var(--gold); }
.tag-hot { border-color: rgba(226, 55, 68, .55); color: #ffb3b9; }
.tag-hot:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Promo teaser ---------- */
.promo-card { display: flex; gap: 0; flex-direction: column; padding: 0; }
.promo-card img { width: 100%; height: 170px; object-fit: cover; }
.promo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h3 { font-size: 1.05rem; }
.promo-body p { font-size: .88rem; flex: 1; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Why choose ---------- */
.why-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.why-item {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.why-item:last-child { border-bottom: 0; }
.why-num {
  font-size: 2rem; font-weight: 900; line-height: 1; flex-shrink: 0;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold); width: 56px;
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: .92rem; }
.why-media { position: relative; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.why-media .float-badge {
  position: absolute; bottom: 16px; left: 16px; background: rgba(10, 13, 20, .88);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px;
  font-size: .85rem; font-weight: 700; color: var(--green);
}

/* ---------- Mobile & payments ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.device-list { display: grid; gap: 14px; margin-top: 20px; }
.device-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .94rem; }
.device-list .dot {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(35, 194, 110, .15); color: var(--green);
  display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 2px;
}
.pay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.pay-badge {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 8px; text-align: center; font-weight: 800; font-size: .92rem;
  color: #dfe7f3; letter-spacing: .5px;
}
.pay-badge span { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.pay-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* ---------- Reviews ---------- */
.review { text-align: left; }
.review-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 900; font-size: 1rem; color: #fff;
}
.av-gold { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #33230a; }
.av-red { background: linear-gradient(135deg, #f0555f, var(--red-d)); }
.av-green { background: linear-gradient(135deg, #3dd986, var(--green-d)); color: #04301a; }
.av-blue { background: linear-gradient(135deg, #7cc4ff, var(--blue-d)); }
.review-name { font-weight: 800; font-size: .95rem; }
.review-role { font-size: .78rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.review p { font-size: .9rem; }
.review-disclaimer { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 22px; }

/* ---------- Tools (calculator + glossary) ---------- */
.tools-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 26px; align-items: start; }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.calc-grid label { font-size: .78rem; font-weight: 700; color: var(--muted); display: block; margin-bottom: 6px; }
.calc-grid input {
  width: 100%; padding: 11px 12px; border-radius: 10px; background: var(--bg2);
  border: 1px solid var(--line); color: var(--text); font-size: .95rem;
  font-family: var(--font); outline: none; min-width: 0;
}
.calc-grid input:focus { border-color: var(--green); }
.calc-out {
  background: rgba(35, 194, 110, .08); border: 1px solid rgba(35, 194, 110, .4);
  border-radius: 14px; padding: 18px 20px; display: grid; gap: 10px;
}
.calc-out .co-row { display: flex; justify-content: space-between; gap: 14px; font-size: .92rem; flex-wrap: wrap; }
.calc-out .co-val { font-weight: 900; color: var(--green); font-size: 1.02rem; }
.calc-note { font-size: .78rem; color: var(--muted); margin-top: 12px; }

.gl-item { border-bottom: 1px solid var(--line); }
.gl-item:last-child { border-bottom: 0; }
.gl-item summary {
  cursor: pointer; padding: 14px 4px; font-weight: 700; font-size: .95rem;
  color: var(--gold-2); list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.gl-item summary::-webkit-details-marker { display: none; }
.gl-item summary::after { content: "+"; color: var(--muted); font-weight: 900; }
.gl-item[open] summary::after { content: "−"; }
.gl-item p { padding: 0 4px 14px; color: var(--muted); font-size: .9rem; }

/* ---------- Security ---------- */
.sec-list { display: grid; gap: 16px; }
.sec-list li {
  list-style: none; display: flex; gap: 14px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.sec-list .dot {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(62, 166, 255, .14); color: var(--blue);
  display: grid; place-items: center; font-weight: 900; margin-top: 2px;
}
.sec-list h3 { font-size: .98rem; margin-bottom: 4px; }
.sec-list p { font-size: .87rem; color: var(--muted); }

/* ---------- Featured article ---------- */
.article-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: start; }
.article-feature figure { position: sticky; top: 96px; }
.article-feature img { border-radius: var(--radius); box-shadow: var(--shadow); }
.article-feature figcaption { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.prose h2 { font-size: 1.4rem; margin: 1.6em 0 .5em; padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.3; }
.prose h3 { font-size: 1.12rem; margin: 1.4em 0 .4em; color: var(--gold-2); }
.prose p { color: #c6d1e3; margin: 0 0 1em; }
.prose ul, .prose ol { color: #c6d1e3; margin: 0 0 1em; padding-left: 6px; list-style-position: outside; }
.prose li { margin: 0 0 .5em 18px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 1.4em 0; }
.prose figure img { border-radius: 14px; }
.prose figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.prose th { background: var(--panel2); color: var(--gold-2); }
.prose td { color: #c6d1e3; background: rgba(20, 27, 42, .5); }
.dropcap::first-letter {
  float: left; font-size: 3.2em; line-height: .85; padding: 6px 10px 0 0;
  color: var(--gold); font-weight: 900;
}
.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 20px;
  font-weight: 700; font-size: .98rem; position: relative; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(246, 196, 69, .14); color: var(--gold); font-weight: 900;
}
.faq[open] summary::after { content: "−"; }
.faq[open] summary { color: var(--gold-2); }
.faq-a { padding: 0 20px 18px; color: var(--muted); font-size: .93rem; }
.faq-a ul { margin-top: .4em; }
.faq-a li { margin-bottom: .3em; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(226, 55, 68, .35), transparent 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(246, 196, 69, .22), transparent 55%),
    var(--panel2);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 46px 36px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 24px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Breadcrumbs & page hero ---------- */
.crumbs { font-size: .84rem; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold); font-weight: 700; }

.page-hero {
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(226, 55, 68, .16), transparent 60%),
    radial-gradient(80% 120% at 90% 10%, rgba(246, 196, 69, .1), transparent 55%),
    var(--bg2);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 40px;
}
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.22; margin: 12px 0 12px; max-width: 820px; }
.page-hero .lead { color: var(--muted); max-width: 760px; font-size: 1.02rem; }

/* ---------- Content grid & aside ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; padding: 44px 0 72px; align-items: start; }
.aside { position: sticky; top: 92px; display: grid; gap: 20px; }
.aside-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.aside-card h3 { font-size: 1rem; margin-bottom: 14px; color: var(--gold-2); }
.aside-links { list-style: none; display: grid; gap: 10px; }
.aside-links a { color: var(--muted); font-size: .9rem; font-weight: 600; }
.aside-links a:hover { color: var(--gold-2); }
.aside-note { font-size: .78rem; color: var(--muted); }
.aside-cta-btns { display: grid; gap: 10px; }

.info-box {
  border-radius: 14px; padding: 16px 18px; font-size: .9rem; margin: 1.2em 0;
  border: 1px solid; background: var(--panel);
}
.info-warn { border-color: rgba(226, 55, 68, .5); background: rgba(226, 55, 68, .07); }
.info-ok { border-color: rgba(35, 194, 110, .5); background: rgba(35, 194, 110, .07); }
.info-info { border-color: rgba(62, 166, 255, .5); background: rgba(62, 166, 255, .07); }
.info-box strong { display: block; margin-bottom: 4px; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 1.2em 0; }
.steps li {
  counter-increment: step; position: relative; padding: 14px 16px 14px 62px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  color: #c6d1e3; font-size: .93rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-d)); color: #33230a;
  font-weight: 900; font-size: .95rem;
}
.steps li strong { color: var(--text); }

/* ---------- Promo hub cards ---------- */
.promo-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.promo-hub-grid .promo-card img { height: 200px; }
.terms-table { font-size: .88rem; }
.terms-table th { width: 38%; }

/* ---------- Auth pages ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: start; padding: 48px 0 72px; }
.auth-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px; box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 7px; color: #d5deec; }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--bg2);
  border: 1px solid var(--line); color: var(--text); font-size: .96rem;
  font-family: var(--font); outline: none; transition: border-color .15s ease;
}
.field input:focus { border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 4px 0 18px; }
.check-row input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; }
.auth-side { display: grid; gap: 20px; }

/* ---------- Footer ---------- */
.footer { background: #070a10; border-top: 1px solid var(--line); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: .88rem; margin: 14px 0 18px; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer h3 { font-size: .95rem; margin-bottom: 16px; color: var(--gold-2); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .88rem; }
.footer-links a:hover { color: var(--gold-2); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.footer-pay span {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 5px 10px; font-size: .75rem; font-weight: 700; color: #dfe7f3;
}
.footer-disclaimer {
  border-top: 1px solid var(--line); padding: 22px 0; font-size: .78rem;
  color: var(--muted); max-width: 980px;
}
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 0 26px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}

/* ---------- Floating CTA (slot style + coins) ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 11, 17, .93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(246, 196, 69, .35);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .5);
}
.fbtn {
  position: relative; overflow: hidden; flex: 0 1 240px; min-width: 130px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 13px; font-weight: 900; font-size: 1rem;
  letter-spacing: 1px; animation: fpulse 2.2s ease-in-out infinite;
}
.fbtn .shine {
  position: absolute; top: 0; bottom: 0; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: shine 2.6s ease-in-out infinite;
}
.fbtn-daftar {
  background: linear-gradient(180deg, #ffe083, var(--gold) 45%, #d8901a);
  color: #36230a; box-shadow: 0 6px 20px rgba(246, 196, 69, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.fbtn-login {
  background: linear-gradient(180deg, #46dd8c, var(--green) 55%, var(--green-d));
  color: #032b17; box-shadow: 0 6px 20px rgba(35, 194, 110, .4), inset 0 1px 0 rgba(255, 255, 255, .4);
  animation-delay: 1.1s;
}
.fbtn:hover { filter: brightness(1.07); }
.reels { display: inline-flex; gap: 3px; }
.reel {
  width: 17px; height: 21px; border-radius: 4px; overflow: hidden;
  background: #221204; border: 1px solid rgba(0, 0, 0, .4);
  display: inline-flex; flex-shrink: 0;
}
.reel i {
  display: block; font-style: normal; font-size: 12px; line-height: 21px;
  text-align: center; color: var(--gold-2); font-weight: 900;
  animation: reelspin 1.1s steps(3) infinite;
}
.reel.r2 i { animation-delay: .18s; }
.reel.r3 i { animation-delay: .36s; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-63px); }
}
@keyframes shine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
@keyframes fpulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.coin {
  position: absolute; bottom: 2px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c4, var(--gold) 55%, #a76f0b);
  box-shadow: 0 0 8px rgba(246, 196, 69, .85);
  animation: coinup 2.6s linear infinite; pointer-events: none; z-index: -1;
}
.coin.c1 { left: 8%; animation-delay: 0s; }
.coin.c2 { left: 22%; animation-delay: .8s; }
.coin.c3 { left: 78%; animation-delay: .4s; }
.coin.c4 { left: 92%; animation-delay: 1.3s; }
.coin.c5 { left: 50%; animation-delay: 1.8s; }
@keyframes coinup {
  0% { transform: translateY(0) scale(.5); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(-52px) scale(1.05); opacity: 0; }
}

/* ---------- Related articles ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rel-card { padding: 0; }
.rel-card img { height: 150px; width: 100%; object-fit: cover; }
.rel-card .promo-body { padding: 18px 20px 22px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; }
.18plus { font-weight: 900; color: #ff8d96; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-burger { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 13, 20, .99); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 18px 20px 22px; box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav > a { padding: 12px 14px; }
  .nav-search { margin: 8px 0 0; }
  .nav-search input, .nav-search input:focus { width: 100%; }
  .nav-search .search-results { width: 100%; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { flex: 1; }
  .content-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .article-feature figure { position: static; }
}

@media (max-width: 900px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-wrap, .split, .tools-wrap, .article-feature, .auth-wrap { grid-template-columns: 1fr; }
  .promo-hub-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
  .hero { padding: 64px 0 52px; }
}

@media (max-width: 560px) {
  .g-2, .g-3, .g-4, .rel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-cta .btn { flex: 1 1 auto; }
  .float-cta { gap: 8px; }
  .fbtn { min-width: 0; flex: 1; padding: 11px 8px; font-size: .92rem; }
  .cta-band { padding: 34px 20px; }
  .auth-card { padding: 24px 18px; }
  .why-num { width: 42px; font-size: 1.5rem; }
  .prose th, .prose td { font-size: .82rem; padding: 8px 10px; }
}

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