/* Dota88 — dota88.games · Mobile-first, hijau-emas-krém */
:root {
  --green: #0c5c44;
  --green-2: #0a4a37;
  --green-deep: #07281e;
  --gold: #e9b10d;
  --gold-2: #b98906;
  --red: #c8102e;
  --ink: #212a26;
  --muted: #5b6660;
  --paper: #ffffff;
  --cream: #f6f4ee;
  --line: #e6e1d3;
  --shadow: 0 10px 30px rgba(7, 40, 30, 0.10);
  --radius: 14px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--green-deep); line-height: 1.25; margin: 0 0 0.6em; overflow-wrap: break-word; }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); }
.h2s { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; overflow-wrap: break-word; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1.4rem; }
abbr { text-decoration: none; }

/* ---------- kicker & section headers ---------- */
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 0.6rem;
}
.kicker.light { color: var(--gold); }
.section { padding-block: clamp(44px, 7vw, 76px); }
.section.alt { background: var(--cream); }
.section-head { max-width: 780px; margin-bottom: clamp(20px, 3vw, 34px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: -0.3em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  border-bottom: 3px solid var(--gold);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff;
  text-decoration: none; white-space: nowrap; padding-block: 8px;
}
.brand em { font-style: normal; color: var(--gold); }
.brand .chip { width: 30px; height: 30px; flex: none; }
.main-nav { margin-inline-end: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 9px 13px; color: #eef3f0; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border-radius: 8px; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.08); border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search {
  display: flex; align-items: center; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; overflow: hidden;
}
.header-search input {
  width: 150px; border: 0; background: transparent; color: #fff; padding: 7px 12px;
  font-size: 0.88rem; outline: none;
}
.header-search input::placeholder { color: rgba(255, 255, 255, 0.65); }
.header-search button {
  border: 0; background: transparent; color: var(--gold); font-size: 1rem;
  padding: 6px 10px; cursor: pointer;
}
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: 10px 6px; margin-inline-start: auto;
}
.nav-toggle .bar { display: block; width: 24px; height: 3px; margin: 4px 0; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; line-height: 1.25; text-align: center; min-height: 44px;
}
.btn-gold { background: linear-gradient(180deg, #f4c11a, var(--gold)); color: var(--green-deep); border-color: var(--gold-2); box-shadow: 0 6px 16px rgba(233, 177, 13, 0.35); }
.btn-gold:hover { color: var(--green-deep); filter: brightness(1.06); }
.btn-green { background: var(--green); color: #fff; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-line:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-sm { padding: 8px 16px; min-height: 38px; font-size: 0.86rem; }
.btn-block { display: block; width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(233, 177, 13, 0.16), transparent 60%),
    linear-gradient(160deg, var(--green-deep) 0%, var(--green-2) 55%, var(--green) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.05; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 18px);
}
.hero-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #e8efe9; font-size: 1.05rem; max-width: 34em; }
.hero .lead strong { color: #ffe9a8; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.18); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.badge {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; border: 1px solid;
}
.b-red { color: #ffd7dd; background: rgba(200, 16, 46, 0.35); border-color: rgba(255, 120, 145, 0.6); }
.b-gold { color: #ffedb0; background: rgba(233, 177, 13, 0.22); border-color: rgba(233, 177, 13, 0.55); }
.b-green { color: #d2f3e3; background: rgba(35, 160, 110, 0.25); border-color: rgba(90, 220, 160, 0.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 2px 10px rgba(20, 30, 25, 0.05); position: relative;
}
.card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.card h3 a { color: var(--green-deep); text-decoration: none; }
.card h3 a:hover { color: var(--gold-2); text-decoration: underline; }
.card .icon { color: var(--green); margin-bottom: 10px; }
.card .icon svg { width: 34px; height: 34px; }
.card .icon.sm svg { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; }
.card-links { margin-bottom: 0; }
.more { font-weight: 700; color: var(--gold-2); text-decoration: none; }
.more:hover { text-decoration: underline; }
.card p:last-child { margin-bottom: 0; }

.split { display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; grid-template-columns: 1fr; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split.reverse > .split-media { order: 2; }
}

/* ---------- check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 0.8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 3px;
}

/* ---------- promo ---------- */
.promo-mini-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.pval { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--green); }
.ribbon {
  display: inline-block; background: var(--cream); border: 1px solid var(--line);
  color: var(--gold-2); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.promo-card { display: flex; gap: 20px; align-items: flex-start; }
.promo-body { min-width: 0; }
.badge-big {
  flex: none; width: 92px; text-align: center; border-radius: 12px; padding: 14px 8px;
  background: linear-gradient(180deg, #fdf6dd, #f7e9b7); border: 1px solid var(--gold);
  color: var(--green-deep);
}
.badge-big b { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1.05; }
.badge-big span { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; }
ul.terms { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 7px; }
ul.terms li { position: relative; padding-left: 26px; font-size: 0.92rem; }
ul.terms li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--gold-2); font-weight: 800; }

/* ---------- quotes ---------- */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 22px; position: relative; font-family: var(--serif);
}
.quote .tag {
  position: absolute; top: -11px; right: 14px; background: var(--cream); border: 1px solid var(--line);
  color: var(--muted); font-family: var(--sans); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px;
}
.quote p { font-size: 1.02rem; font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-style: normal; font-size: 0.85rem; color: var(--muted); margin: 0; }
.av {
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem;
}
.note { font-size: 0.85rem; color: var(--muted); }
.note.warn {
  background: #fdf3e7; border: 1px solid #ecc9a0; border-radius: 10px;
  padding: 14px 16px; color: #7a4b12;
}

/* ---------- roadmap ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.roadmap li { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 2px 8px rgba(20, 30, 25, 0.04); }
.step-no {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(180deg, var(--green), var(--green-2)); color: var(--gold);
  border: 2px solid var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.roadmap h3 { margin-bottom: 0.35em; }
.roadmap p { margin: 0; color: var(--muted); }

/* ---------- article pages ---------- */
.breadcrumb { padding: 12px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 0.82rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "\203A"; color: var(--gold-2); font-weight: 700; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--green-deep); font-weight: 600; }

.page-article { max-width: 840px; margin-inline: auto; padding-block: 18px 10px; }
.article-fig { margin: 6px 0 22px; }
.article-fig img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.article-fig figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); margin-top: -0.4em; }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); display: inline-block; }
.cat-tag { background: var(--cream); border: 1px solid var(--line); color: var(--green-deep); font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 0.74rem; }

.prose { font-size: 1.02rem; }
.prose .lead { font-size: 1.12rem; color: #3c463f; }
.prose h2 { margin-top: 1.9em; padding-bottom: 0.25em; border-bottom: 2px solid var(--cream); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--gold); }
.prose h3 { margin-top: 1.5em; color: var(--green); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.table-scroll { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--line); border-radius: 10px; }
.table-scroll table { margin: 0; }
.table-scroll th, .table-scroll td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--cream); }
.table-scroll th[scope="row"] { background: var(--cream); white-space: nowrap; font-family: var(--sans); width: 34%; }
.table-scroll tr:last-child th, .table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll caption { caption-side: bottom; font-size: 0.8rem; color: var(--muted); padding: 8px 14px; text-align: left; }
.home-article { max-width: 840px; }
.home-article img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 8px 0 20px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 840px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; }
.faq details[open] { border-color: var(--gold); }
.faq summary {
  cursor: pointer; padding: 15px 44px 15px 18px; font-weight: 700; font-family: var(--serif);
  font-size: 1.02rem; color: var(--green-deep); position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--cream); color: var(--gold-2);
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans);
}
.faq details[open] summary::after { content: "\2212"; background: var(--gold); color: var(--green-deep); }
.faq-body { padding: 0 18px 16px; color: #3c463f; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.tags a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); color: var(--green-deep); font-size: 0.86rem; font-weight: 600;
  text-decoration: none;
}
.tags a:hover { border-color: var(--gold); background: #fdf6dd; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--green-deep), var(--green-2) 60%, var(--green));
  color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 48px); text-align: center;
  border: 1px solid rgba(233, 177, 13, 0.4);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe9e3; max-width: 46em; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 8px; }
.cta-note { font-size: 0.8rem; color: #b9cec4 !important; margin-top: 14px; }

/* ---------- search ---------- */
.search-hero { padding-block: clamp(30px, 5vw, 60px) clamp(50px, 7vw, 80px); max-width: 900px; }
.search-box {
  display: flex; gap: 0; max-width: 620px; margin: 18px auto 0; border-radius: 999px; overflow: hidden;
  border: 2px solid var(--green); background: #fff; box-shadow: var(--shadow);
}
.search-box input { flex: 1; min-width: 0; border: 0; padding: 14px 20px; font-size: 1rem; outline: none; }
.search-box button {
  border: 0; background: var(--green); color: #fff; font-weight: 700; padding: 0 26px;
  font-size: 0.95rem; cursor: pointer;
}
.search-box button:hover { background: var(--green-2); }
.result-list { display: grid; gap: 12px; margin-top: 16px; text-align: left; }
.result-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; text-decoration: none;
}
.result-item:hover { border-color: var(--gold); }
.result-item .rcat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); }
.result-item .rtitle { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--green-deep); margin: 2px 0; }
.result-item .rdesc { font-size: 0.88rem; color: var(--muted); }

/* ---------- auth ---------- */
.auth-wrap { display: grid; gap: clamp(24px, 4vw, 44px); padding-block: 22px 30px; align-items: start; }
.auth-main { max-width: 640px; }
.auth-side { display: grid; gap: 20px; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.auth-card h2 { margin-bottom: 0.5em; }
.form-note { font-size: 0.85rem; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; color: #4a554e; }
.auth-form { display: grid; gap: 14px; margin-top: 16px; }
.auth-form label { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 4px; }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="tel"], .auth-form input[type="password"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: var(--sans); background: #fff;
}
.auth-form input:focus { border-color: var(--green); outline: 2px solid rgba(12, 92, 68, 0.18); }
.auth-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; font-weight: 400; }
.auth-form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); }
.form-alt { font-size: 0.85rem; text-align: center; margin: 14px 0 0; color: var(--muted); }
.auth-safety { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.auth-safety h3 { display: flex; align-items: center; gap: 8px; color: var(--green); }
.auth-safety ul { padding-left: 1.2em; font-size: 0.88rem; margin-bottom: 8px; }
@media (min-width: 940px) {
  .auth-wrap { grid-template-columns: 1.15fr 0.85fr; }
}

/* ---------- 404 ---------- */
.err-hero { text-align: center; padding: clamp(50px, 9vw, 110px) 0; }
.err-hero .code { font-family: var(--serif); font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; color: var(--gold); line-height: 1; }
.err-hero p { max-width: 34em; margin-inline: auto; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--green-deep), #061f17);
  color: #cfe0d7; padding: clamp(40px, 6vw, 64px) 0 0;
  /* ruang untuk widget mengambang tanpa menambah area kosong di bawah footer */
  padding-bottom: 104px;
}
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: 0.88rem; color: #a9c0b4; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-pills span { font-size: 0.72rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.25); padding: 4px 12px; border-radius: 999px; color: #cfe0d7; }
.footer-pills .p-red { background: var(--red); border-color: var(--red); color: #fff; }
.site-footer h3 { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: #cfe0d7; text-decoration: none; font-size: 0.9rem; }
.site-footer ul a:hover { color: var(--gold); text-decoration: underline; }
.legal-strip { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 34px; padding: 22px 0 10px; font-size: 0.78rem; color: #93ab9f; }
.legal-strip p { margin-bottom: 10px; }
.legal-strip .copy { text-align: center; color: #7d968a; }

/* ---------- floating widget ---------- */
.float-widget {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; justify-content: center; padding: 0 clamp(8px, 2vw, 16px) 10px;
  pointer-events: none;
}
.float-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 14px; width: 100%; max-width: 860px;
  background: linear-gradient(120deg, var(--green-deep), var(--green-2) 70%, var(--green));
  border: 2px solid var(--gold); border-radius: 18px;
  padding: 8px clamp(12px, 2.5vw, 22px); box-shadow: 0 -6px 30px rgba(7, 40, 30, 0.35);
}
.float-machine { position: relative; flex: none; width: 52px; height: 52px; }
.float-machine svg { width: 100%; height: 100%; animation: bob 3.2s ease-in-out infinite; }
.coin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe28a, var(--gold) 65%, var(--gold-2));
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  opacity: 0;
}
.coin.c1 { right: -6px; top: 0; animation: coinup 3.2s ease-in infinite 0.2s; }
.coin.c2 { right: 4px; top: -4px; animation: coinup 3.2s ease-in infinite 1.3s; }
.coin.c3 { left: -4px; top: 2px; animation: coinup 3.2s ease-in infinite 2.3s; }
@keyframes coinup {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-26px) scale(1); opacity: 0; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.float-copy { min-width: 0; color: #fff; line-height: 1.3; }
.float-copy b { font-family: var(--serif); font-size: 1.05rem; display: block; }
.float-copy span { font-size: 0.72rem; color: #bfe0cf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.float-cta { margin-left: auto; display: flex; gap: 8px; flex: none; }
.float-cta .btn { padding: 9px 18px; min-height: 40px; font-size: 0.86rem; }
@media (max-width: 560px) {
  .float-copy span { display: none; }
  .float-machine { width: 44px; height: 44px; }
  .float-cta .btn { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-machine svg, .coin { animation: none; }
  .coin { display: none; }
}

/* ---------- responsive nav ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--green-deep); border-bottom: 3px solid var(--gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .main-nav ul { display: block; padding: 8px 0; }
  .main-nav a { padding: 12px 22px; border-bottom: 0; border-radius: 0; font-size: 1rem; }
  .site-header.nav-open .main-nav { display: block; }
  .site-header.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-search input { width: 110px; }
}
@media (max-width: 660px) {
  .header-search { display: none; }
  .header-actions .btn-line { display: none; }
  .badge-big { width: 78px; }
  .promo-card { flex-direction: column; }
  .hero-cta .btn { flex: 1 1 auto; }
}
