/*
Theme Name: Gila138 Info Portal
Theme URI: https://gila138.games
Author: Gila138 Editorial Team
Description: Tema informasi & panduan permainan Gila138 — statis, responsif, SEO-first.
Version: 1.0.0
Text Domain: gila138
*/

:root {
  --ink: #160a10;
  --ink2: #200e17;
  --ink3: #2a141f;
  --paper: #ffffff;
  --paper2: #f8f4ef;
  --red: #e11d3a;
  --red2: #a30f24;
  --gold: #ffc94d;
  --gold2: #f0a71b;
  --gold3: #8a5b00;
  --green: #1db56f;
  --green2: #0d7a47;
  --blue: #3b82f6;
  --txt: #f7efe9;
  --muted: #cbb8b4;
  --txt-d: #2a1d22;
  --muted-d: #6b5a5f;
  --line: rgba(255, 255, 255, 0.14);
  --line-d: rgba(42, 29, 34, 0.14);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
  --radius: 16px;
  --radius-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--txt);
  background: var(--ink);
  overflow-x: clip;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--gold); color: #231000; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }

.container { max-width: 1160px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section--dark { background: var(--ink); color: var(--txt); }
.section--dark2 { background: linear-gradient(180deg, var(--ink2), var(--ink)); color: var(--txt); }
.section--red { background: linear-gradient(135deg, #3d0d17, #240910 60%, var(--ink)); color: var(--txt); }
.section--light { background: var(--paper); color: var(--txt-d); }
.section--light a { color: var(--red2); }
.section--light2 { background: var(--paper2); color: var(--txt-d); }
.section--green { background: linear-gradient(135deg, #0c2b1d, #123a27 55%, var(--ink)); color: var(--txt); }
.section--tintgold { background: linear-gradient(135deg, #2c1c04, #1e1405); color: var(--txt); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section--light .kicker, .section--light2 .kicker { color: var(--red2); }
.sec-head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.sec-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.sec-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section--light .sec-head p, .section--light2 .sec-head p { color: var(--muted-d); }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--gold {
  background: linear-gradient(180deg, #ffd76e, var(--gold2));
  color: #35210a;
  box-shadow: 0 10px 26px rgba(240, 167, 27, 0.35);
}
.btn--green {
  background: linear-gradient(180deg, #2ecc84, var(--green2));
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(29, 181, 111, 0.3);
}
.btn--red { background: linear-gradient(180deg, var(--red), var(--red2)); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--txt); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--lg { padding: 15px 34px; font-size: 1.05rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--txt);
}
.chip--gold { background: rgba(255, 201, 77, 0.14); border-color: rgba(255, 201, 77, 0.4); color: var(--gold); }
.chip--green { background: rgba(29, 181, 111, 0.14); border-color: rgba(29, 181, 111, 0.4); color: #57e0a2; }
.chip--blue { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.4); color: #93b8fb; }
.chip--red { background: rgba(225, 29, 58, 0.14); border-color: rgba(225, 29, 58, 0.42); color: #ff8fa1; }
.section--light .chip, .section--light2 .chip { background: rgba(42, 29, 34, 0.05); border-color: var(--line-d); color: var(--txt-d); }

/* ---------- Topbar & Header ---------- */
.topbar {
  background: #0d060a;
  font-size: 0.76rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 6px; }
.topbar__age { color: var(--gold); font-weight: 800; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(22, 10, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .container { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; color: var(--txt); }
.brand:hover { text-decoration: none; }
.brand__name i { font-style: normal; color: var(--gold); }
.brand span.slogan { display: none; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: 8px;
  text-decoration: none;
}
.nav a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.search-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
  cursor: pointer;
}
.burger {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--txt);
  border-radius: 10px;
  width: 42px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(225, 29, 58, 0.28), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(240, 167, 27, 0.16), transparent 55%),
    linear-gradient(180deg, #2a0c14, var(--ink) 82%);
  padding: clamp(52px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
  overflow: clip;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 56ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__note { font-size: 0.82rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__card {
  position: absolute;
  left: -14px;
  bottom: -18px;
  background: rgba(20, 9, 14, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.hero__card strong { display: block; font-size: 0.92rem; }
.hero__card span { font-size: 0.76rem; color: var(--muted); }
.hero__card .ic {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 201, 77, 0.15);
  border-radius: 10px; font-size: 1.2rem;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.step__num {
  position: absolute;
  top: -16px; left: 20px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd76e, var(--gold2));
  color: #35210a;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(240, 167, 27, 0.35);
}
.step__icon { font-size: 1.6rem; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.section--light .step { background: #fff; border-color: var(--line-d); box-shadow: 0 10px 30px rgba(42, 29, 34, 0.07); }
.section--light .step p { color: var(--muted-d); }

/* ---------- Grids & cards ---------- */
.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 {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 201, 77, 0.2), rgba(225, 29, 58, 0.18));
  margin-bottom: 14px;
}
.card__h { font-size: 1.06rem; margin-bottom: 6px; }
.card__p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.section--light .card, .section--light2 .card { background: #fff; border-color: var(--line-d); box-shadow: 0 10px 30px rgba(42, 29, 34, 0.06); }
.section--light .card__p, .section--light2 .card__p { color: var(--muted-d); }

.numlist { list-style: none; padding: 0; counter-reset: nl; }
.numlist li {
  counter-increment: nl;
  position: relative;
  padding: 14px 0 14px 56px;
  border-bottom: 1px solid var(--line);
}
.section--light .numlist li, .section--light2 .numlist li { border-color: var(--line-d); }
.numlist li::before {
  content: counter(nl, decimal-leading-zero);
  position: absolute; left: 0; top: 14px;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--gold);
  opacity: 0.9;
}
.numlist li:last-child { border-bottom: 0; }
.numlist strong { display: block; margin-bottom: 2px; }
.numlist span { font-size: 0.92rem; color: var(--muted); }
.section--light .numlist span, .section--light2 .numlist span { color: var(--muted-d); }

/* ---------- Promo cards ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(42, 29, 34, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(42, 29, 34, 0.14); }
.promo-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.promo-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; color: var(--txt-d); }
.promo-card__body h3 { font-size: 1.08rem; margin: 0; color: var(--txt-d); }
.promo-card__body p { font-size: 0.9rem; color: var(--muted-d); margin: 0; flex: 1; }
.promo-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.promo-card__meta .chip { font-size: 0.72rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.testi-card blockquote { margin: 0; font-size: 0.94rem; color: var(--txt); flex: 1; }
.testi__who { display: flex; align-items: center; gap: 10px; }
.testi__avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: 0.85rem;
  background: linear-gradient(135deg, var(--red2), var(--gold2));
  color: #fff;
}
.testi__who strong { display: block; font-size: 0.88rem; }
.testi__who span { font-size: 0.76rem; color: var(--muted); }

/* ---------- Split (media + text) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 52px); align-items: center; }
.split--rev > .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); display: block; }
.section--light .split__media img { border-color: var(--line-d); }

/* ---------- Calculator ---------- */
.calc {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 32px);
  max-width: 860px;
  margin-inline: auto;
}
.calc__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.calc__field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.calc__field input, .calc__field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--ink2);
  color: var(--txt);
  font: inherit;
}
.calc__out {
  margin-top: 18px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  display: none;
  gap: 16px;
}
.calc__out.show { display: grid; grid-template-columns: repeat(3, 1fr); }
.calc__box {
  background: rgba(255, 201, 77, 0.09);
  border: 1px solid rgba(255, 201, 77, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.calc__box small { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.calc__box strong { font-size: 1.3rem; color: var(--gold); }
.calc__note { font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--txt);
  text-decoration: none;
  transition: all 0.15s ease;
}
.tag-cloud a:hover { background: rgba(255, 201, 77, 0.16); border-color: var(--gold); color: var(--gold); text-decoration: none; }
.section--light .tag-cloud a, .section--light2 .tag-cloud a { background: #fff; border-color: var(--line-d); color: var(--txt-d); }
.section--light .tag-cloud a:hover, .section--light2 .tag-cloud a:hover { border-color: var(--red2); color: var(--red2); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-list details {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  overflow: hidden;
}
.section--light .faq-list details, .section--light2 .faq-list details { background: #fff; border-color: var(--line-d); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  font-weight: 800;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div { padding: 0 0 18px; color: var(--muted); font-size: 0.93rem; }
.section--light .faq-list details > div, .section--light2 .faq-list details > div { color: var(--muted-d); }
.faq-group-title { font-size: 1.05rem; color: var(--gold); margin: 26px 0 2px; }
.section--light .faq-group-title { color: var(--red2); }

/* ---------- Article layout ---------- */
.article-wrap { max-width: 840px; margin-inline: auto; }
.article__kicker { margin-bottom: 10px; }
.article h1 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); margin-bottom: 14px; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 0.82rem; color: var(--muted-d);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-d);
  margin-bottom: 22px;
}
.article__fig { margin: 0 0 26px; }
.article__fig img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-d); display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.article__fig figcaption { font-size: 0.78rem; color: var(--muted-d); margin-top: 8px; text-align: center; }
.article__body { font-size: 1.02rem; color: #3a2a30; }
.article__body h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  color: var(--red2);
  margin: 1.9em 0 0.6em;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.article__body h3 { font-size: 1.1rem; color: #6b1f2c; margin: 1.5em 0 0.5em; }
.article__body p { line-height: 1.85; }
.article__body ul li::marker { color: var(--gold2); }
.article__body a { color: var(--red2); font-weight: 600; }
.article__body strong { color: #20141a; }
.article__toc {
  background: var(--paper2);
  border: 1px solid var(--line-d);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 0 0 26px;
  font-size: 0.9rem;
}
.article__toc strong { display: block; margin-bottom: 6px; color: var(--txt-d); }
.article__toc ul { margin: 0; padding-left: 1.1em; }
.article__foot {
  margin-top: 34px;
  padding: 18px 20px;
  background: var(--paper2);
  border: 1px dashed var(--line-d);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--muted-d);
}
.author-box {
  display: flex; gap: 14px; align-items: center;
  margin-top: 26px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line-d); border-radius: var(--radius-sm);
}
.author-box .testi__avatar { width: 46px; height: 46px; }
.author-box strong { display: block; font-size: 0.95rem; color: var(--txt-d); }
.author-box span { font-size: 0.8rem; color: var(--muted-d); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; border-radius: var(--radius-sm); border: 1px solid var(--line-d); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; font-size: 0.92rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.table-wrap th { background: var(--paper2); color: var(--txt-d); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 700; color: var(--txt-d); white-space: nowrap; }

/* ---------- Alerts ---------- */
.alert {
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 0.93rem;
  margin: 0 0 1.4em;
  border: 1px solid;
}
.alert--info { background: #eef4fe; border-color: #c4d9fb; color: #1d3d78; }
.alert--warn { background: #fdf6e4; border-color: #f0dcae; color: #6d4d0a; }
.alert--ok { background: #e9f8f0; border-color: #b8e6cf; color: #14532d; }
.alert--red { background: #fdecef; border-color: #f5c2cc; color: #7a1226; }
.alert strong { display: block; margin-bottom: 3px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 14px 0 0; font-size: 0.8rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--gold); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--txt); font-weight: 700; }
.section--light .breadcrumb, .section--light2 .breadcrumb { color: var(--muted-d); }
.section--light .breadcrumb a, .section--light2 .breadcrumb a { color: var(--muted-d); }
.section--light .breadcrumb a:hover, .section--light2 .breadcrumb a:hover { color: var(--red2); }
.section--light .breadcrumb [aria-current], .section--light2 .breadcrumb [aria-current] { color: var(--txt-d); }

/* ---------- Auth (daftar/login) ---------- */
.auth { max-width: 520px; margin-inline: auto; }
.auth-card {
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 16px 44px rgba(42, 29, 34, 0.1);
  color: var(--txt-d);
}
.auth-card h1 { font-size: 1.5rem; color: var(--txt-d); }
.auth-card > p { color: var(--muted-d); font-size: 0.93rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 800; color: var(--txt-d); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-d);
  background: var(--paper2);
  color: var(--txt-d);
  font: inherit;
}
.field input:focus { outline: 2px solid var(--gold2); border-color: var(--gold2); }
.field small { display: block; margin-top: 4px; color: var(--muted-d); font-size: 0.76rem; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted-d); margin: 4px 0 18px; }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green2); flex: none; }
.form-note { font-size: 0.78rem; color: var(--muted-d); text-align: center; margin: 14px 0 0; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--muted-d); }
.auth-side { margin-top: 22px; }
.auth-side .alert { font-size: 0.84rem; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(13, 6, 10, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 12vh, 120px) 16px 30px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: min(680px, 100%);
  background: var(--ink2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-height: 78vh;
  overflow-y: auto;
}
.search-panel label { font-size: 0.8rem; font-weight: 800; color: var(--muted); display: block; margin-bottom: 8px; }
.search-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--ink);
  color: var(--txt);
  font: inherit;
  font-size: 1.05rem;
}
.search-input:focus { outline: 2px solid var(--gold2); border-color: var(--gold2); }
.search-hint { font-size: 0.75rem; color: var(--muted); margin: 8px 0 14px; }
.search-results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.search-results li a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--txt);
  text-decoration: none;
}
.search-results li a:hover { border-color: var(--gold); background: rgba(255, 201, 77, 0.07); text-decoration: none; }
.search-results strong { display: block; font-size: 0.94rem; color: var(--gold); }
.search-results span { font-size: 0.8rem; color: var(--muted); }
.search-empty { color: var(--muted); font-size: 0.9rem; padding: 10px 2px; }
.search-close {
  float: right;
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 1rem;
}
.search-close:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Floating CTA (slot style) ---------- */
.float-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #35121e, #1c0a11);
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 1px rgba(255, 201, 77, 0.25),
    0 14px 34px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.float-cta__reels {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 201, 77, 0.4);
  border-radius: 10px;
  padding: 5px 7px;
}
.float-cta__reels span {
  font-size: 1.05rem;
  line-height: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(180deg, #fff7e0, #ffe291);
}
.float-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease;
  animation: ctaPulse 2.2s ease-in-out infinite;
}
.float-cta__btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.float-cta__btn--gold {
  background: linear-gradient(180deg, #ffdf7e, #f0a71b);
  color: #3a2404;
  box-shadow: 0 6px 18px rgba(240, 167, 27, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.float-cta__btn--green {
  background: linear-gradient(180deg, #2ecc84, #0d7a47);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 181, 111, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(240, 167, 27, 0.45); }
  50% { box-shadow: 0 6px 26px rgba(240, 167, 27, 0.8); }
}
.coin {
  position: absolute;
  bottom: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f0a71b 68%, #9c6a00);
  border: 1px solid #b97f10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  animation: coinRise 3.2s ease-in infinite;
}
.coin--1 { left: 16%; animation-delay: 0.2s; }
.coin--2 { left: 44%; animation-delay: 1.3s; width: 12px; height: 12px; }
.coin--3 { left: 68%; animation-delay: 2.2s; }
.coin--4 { left: 86%; animation-delay: 0.9s; width: 13px; height: 13px; }
@keyframes coinRise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.95; }
  70% { opacity: 0.6; }
  100% { transform: translateY(-92px) translateX(6px) scale(1); opacity: 0; }
}

/* ---------- Footer ---------- */
.foot { background: #0d060a; border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0 26px; font-size: 0.9rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; margin-bottom: 30px; }
.foot h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot__about p { color: var(--muted); font-size: 0.86rem; margin: 12px 0; }
.foot__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.foot__pay { margin-top: 12px; }
.foot__pay small { display: block; color: var(--muted); font-size: 0.72rem; margin-bottom: 8px; }
.foot__note { color: var(--muted); font-size: 0.8rem; margin: 0 0 8px; }
.foot__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}
.foot__legal strong { color: var(--txt); }
.age-badge {
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--red);
  color: #ff8fa1;
  border-radius: 50%;
  width: 40px; height: 40px;
  font-weight: 900;
  font-size: 0.8rem;
  flex: none;
}
.foot__brandrow { display: flex; gap: 14px; align-items: flex-start; }

/* ---------- Misc ---------- */
.legal-strip {
  background: #0d060a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: var(--muted);
}
.legal-strip .container { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 10px; justify-content: center; text-align: center; }
.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kv {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}
.kv small { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.kv strong { font-size: 0.98rem; color: var(--gold); }
.section--light .kv { background: #fff; border-color: var(--line-d); }
.section--light .kv strong { color: var(--red2); }
.center { text-align: center; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  body.nav-open .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 4px;
  }
  body.nav-open .nav a { padding: 12px 10px; font-size: 1rem; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev > .split__media { order: 0; }
  .foot__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { font-size: 0.95rem; }
  .steps { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .calc__form { grid-template-columns: 1fr; }
  .calc__out.show { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 22px; }
  .topbar .container > span:first-child { display: none; }
  .head-actions .btn--sm { display: none; }
  .hero__card { left: 10px; bottom: -14px; padding: 10px 12px; }
  .float-cta { bottom: 10px; gap: 8px; padding: 7px 10px 7px 8px; width: calc(100% - 24px); max-width: 420px; justify-content: center; }
  .float-cta__reels span { width: 19px; height: 22px; font-size: 0.92rem; }
  .float-cta__btn { padding: 11px 18px; font-size: 0.9rem; }
  .float-cta__btn--gold { flex: 1; }
  .float-cta__btn--green { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
