/* ============================================================
   Agen138 Theme — style.css
   Tema kasino: merah, emas, hijau, biru, hitam, putih
   ============================================================ */
:root {
  --red: #d91e36;
  --red-dark: #a31226;
  --gold: #f5b301;
  --gold-soft: #ffd75e;
  --green: #0f9d58;
  --green-dark: #0a7a44;
  --blue: #1b6fd0;
  --ink: #0d0f14;
  --ink-2: #161a22;
  --ink-3: #1f242e;
  --paper: #ffffff;
  --muted: #5c6470;
  --line: #e7e9ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 15, 20, .10);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #f6f7f9;
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cfd4dc;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar .age {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
  padding: 0 8px;
  margin-right: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(135deg, var(--ink) 0%, #23120f 55%, var(--red-dark) 100%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold) 55%, #b57e00);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--ink); font-size: 20px;
  border: 3px dashed rgba(13, 15, 20, .55);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, .35), 0 4px 10px rgba(0, 0, 0, .4);
}
.logo-text { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: .5px; }
.logo-text span { color: var(--gold); }
.logo-text small { display: block; font-size: 11px; font-weight: 600; color: #cfd4dc; letter-spacing: 2px; text-transform: uppercase; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  color: #e8ebf0;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active {
  background: rgba(245, 179, 1, .16);
  color: var(--gold-soft);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  font-size: 20px;
  padding: 4px 12px;
  cursor: pointer;
}
.header-cta { display: flex; gap: 8px; margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15.5px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #3a2a00;
  box-shadow: 0 4px 0 #b57e00, 0 8px 16px rgba(245, 179, 1, .35);
}
.btn-gold:hover { box-shadow: 0 6px 0 #b57e00, 0 10px 20px rgba(245, 179, 1, .45); }
.btn-red {
  background: linear-gradient(180deg, #f0304a, var(--red));
  color: #fff;
  box-shadow: 0 4px 0 var(--red-dark), 0 8px 16px rgba(217, 30, 54, .35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: rgba(245, 179, 1, .15); color: var(--gold-soft); }
.btn-green {
  background: linear-gradient(180deg, #14b866, var(--green));
  color: #fff;
  box-shadow: 0 4px 0 var(--green-dark);
}
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .38;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13, 15, 20, .95) 20%, rgba(163, 18, 38, .72) 70%, rgba(245, 179, 1, .35));
}
.hero-inner {
  position: relative;
  padding: 84px 0 76px;
  max-width: 780px;
}
.hero .kicker {
  display: inline-block;
  background: rgba(245, 179, 1, .18);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold); }
.hero p.lead { font-size: 18.5px; color: #e3e7ee; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 14px; color: #cfd4dc; }
.hero-trust b { color: #fff; display: block; font-size: 17px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section.dark { background: linear-gradient(160deg, var(--ink) 0%, #1c0f0d 60%, #2a1214 100%); color: #e8ebf0; }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head .eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}
.section.dark .section-head .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 8px 0 12px; }
.section-head p { color: var(--muted); }
.section.dark .section-head p { color: #b9c0cb; }

/* ---------- Step cards (Panduan 4 Langkah) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  box-shadow: var(--shadow);
}
.step-card:nth-child(2) { border-top-color: var(--gold); }
.step-card:nth-child(3) { border-top-color: var(--green); }
.step-card:nth-child(4) { border-top-color: var(--blue); }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  border: 2px solid var(--gold);
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Feature grid (Brand highlights) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(245, 179, 1, .25);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(245, 179, 1, .25), rgba(217, 30, 54, .25));
  border: 1px solid rgba(245, 179, 1, .4);
}
.feature h3 { color: #fff; font-size: 18.5px; margin-bottom: 8px; }
.feature p { color: #b9c0cb; font-size: 14.5px; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.split ul.tick { list-style: none; margin: 18px 0; }
.split ul.tick li { padding: 7px 0 7px 34px; position: relative; }
.split ul.tick li::before {
  content: "✓";
  position: absolute; left: 0; top: 7px;
  width: 24px; height: 24px;
  background: var(--green); color: #fff;
  border-radius: 50%;
  font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.quote .stars { color: var(--gold); font-size: 17px; letter-spacing: 3px; margin-bottom: 10px; }
.quote p { font-size: 15px; color: #333a44; flex: 1; }
.quote .who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote .ava {
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.quote .who b { display: block; font-size: 15px; }
.quote .who small { color: var(--muted); }

/* ---------- Glossary (innovative section) ---------- */
.glossary-tools { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.gloss-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.gloss-box h3 { margin-bottom: 12px; font-size: 19px; }
.gloss-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gloss-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fbfbfc; }
.gloss-item b { color: var(--red); display: block; font-size: 15px; }
.gloss-item span { font-size: 13.5px; color: var(--muted); }
.rtp-calc label { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 4px; }
.rtp-calc input, .rtp-calc select {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}
.rtp-result {
  margin-top: 16px;
  background: linear-gradient(135deg, #0f9d58, #0a7a44);
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  font-size: 14.5px;
}
.rtp-result b { font-size: 22px; display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 14px;
  font-size: 24px; color: var(--red); font-weight: 900;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 22px 18px; color: #333a44; font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #f0304a);
  border-radius: 20px;
  color: #fff;
  padding: 46px 40px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(217, 30, 54, .35);
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "🪙";
  position: absolute;
  font-size: 90px;
  opacity: .18;
}
.cta-band::before { left: -14px; top: -20px; }
.cta-band::after { right: -10px; bottom: -26px; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.cta-band p { max-width: 640px; margin: 0 auto 24px; color: #ffe3e8; }
.cta-band .note { display: block; margin-top: 14px; font-size: 13px; color: #ffd0d8; }

/* ---------- Cards (category / promo) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .18s ease;
}
.card:hover { transform: translateY(-5px); }
.card .thumb { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card .body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.card .tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
  color: #fff;
}
.tag.red { background: var(--red); }
.tag.green { background: var(--green); }
.tag.blue { background: var(--blue); }
.tag.gold { background: #c98f00; }
.tag.black { background: var(--ink); }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card h3 a { color: var(--ink); }
.card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.card .meta { font-size: 12.5px; color: #98a0ac; margin-top: 14px; }

/* ---------- Article ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: var(--ink); font-weight: 600; }
.article-hero { padding: 26px 0 10px; }
.article-hero h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 10px 0 14px; }
.article-meta { color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.article-hero img { border-radius: var(--radius); margin-top: 22px; box-shadow: var(--shadow); }
.article-body { max-width: 820px; margin: 0 auto; padding: 34px 0 10px; }
.article-body h2 { font-size: 25px; margin: 34px 0 12px; padding-left: 14px; border-left: 5px solid var(--red); }
.article-body h3 { font-size: 19.5px; margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; color: #2b313a; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: #2b313a; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 12px; margin: 20px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 14.5px; }
.article-body th { background: var(--ink); color: var(--gold); padding: 11px 12px; text-align: left; }
.article-body td { border: 1px solid var(--line); padding: 10px 12px; }
.article-body tr:nth-child(even) td { background: #fafbfc; }
.callout {
  border-left: 5px solid var(--gold);
  background: #fff8e6;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
}
.callout.red { border-color: var(--red); background: #fdeef0; }
.callout.green { border-color: var(--green); background: #eafaf1; }
.callout.blue { border-color: var(--blue); background: #ecf4fd; }

/* ---------- Sidebar ---------- */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.sidebar .widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.sidebar .widget h3 { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--gold); display: inline-block; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: #f0f2f5;
  border: 1px solid var(--line);
  color: #333a44;
  font-size: 13px;
  border-radius: 999px;
  padding: 5px 13px;
}
.tag-cloud a:hover { background: var(--ink); color: var(--gold); text-decoration: none; }
.search-box { display: flex; gap: 8px; }
.search-box input {
  flex: 1;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  min-width: 0;
}
.search-box button { flex-shrink: 0; }

/* ---------- Auth pages ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}
.auth-card .top { text-align: center; margin-bottom: 24px; }
.auth-card .top .coin {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold) 55%, #b57e00);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  border: 4px dashed rgba(13, 15, 20, .5);
}
.auth-card h1 { font-size: 26px; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-group input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15.5px;
  font-family: inherit;
}
.form-group input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 14px 0; }
.form-check input { margin-top: 4px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.w-full { width: 100%; }

/* ---------- Promo terms ---------- */
.promo-hero {
  background: linear-gradient(130deg, #2a1214, var(--red-dark) 55%, var(--red));
  color: #fff;
  border-radius: 20px;
  padding: 44px 38px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
}
.promo-hero img { border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.promo-hero h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.promo-hero .badge {
  display: inline-block;
  background: var(--gold);
  color: #3a2a00;
  font-weight: 900;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.term {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 16px 18px;
}
.term b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; }
.term span { font-size: 17px; font-weight: 800; color: var(--ink); }

/* ---------- Responsible gaming ---------- */
.rg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rg-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 24px; }
.rg-card h3 { color: #fff; font-size: 17.5px; margin-bottom: 8px; }
.rg-card p { color: #b9c0cb; font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab2bd; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 54px 0 34px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a { color: #aab2bd; display: block; padding: 4px 0; font-size: 14.5px; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: none; }
.footer-brand p { font-size: 14px; margin-top: 12px; }
.footer-badges { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.badge-18 {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
  font-size: 15px;
}
.badge-pill {
  border: 1.5px solid #3a4150;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  color: #cfd4dc;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-legal {
  border-top: 1px solid #232833;
  padding: 20px 0 130px;
  font-size: 13px;
  color: #7d8590;
}
.footer-legal p { margin-bottom: 8px; }

/* ---------- Floating slot widget ---------- */
.float-widget {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  pointer-events: none;
}
.float-inner {
  pointer-events: auto;
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2b0d10, var(--ink) 70%);
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .55), 0 0 24px rgba(245, 179, 1, .35);
  padding: 12px 16px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.slot-reels {
  display: flex;
  gap: 6px;
  background: #000;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 6px 8px;
}
.reel {
  width: 40px; height: 44px;
  background: linear-gradient(180deg, #fff, #ffe9a8);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--red-dark);
  animation: reelspin 2.4s ease-in-out infinite;
}
.reel:nth-child(2) { animation-delay: .35s; }
.reel:nth-child(3) { animation-delay: .7s; }
@keyframes reelspin {
  0%, 100% { transform: translateY(0); }
  12% { transform: translateY(-5px); }
  24% { transform: translateY(3px); }
  36% { transform: translateY(0); }
}
.float-text { flex: 1; min-width: 0; }
.float-text b { color: var(--gold-soft); font-size: 15px; display: block; line-height: 1.25; }
.float-text small { color: #cfd4dc; font-size: 12px; }
.float-actions { display: flex; gap: 8px; position: relative; }
.btn-coin {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #3a2a00;
  font-weight: 900;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  box-shadow: 0 4px 0 #b57e00, 0 0 18px rgba(245, 179, 1, .6);
  animation: pulse 1.8s ease-in-out infinite;
  white-space: nowrap;
}
.btn-coin:hover { text-decoration: none; color: #3a2a00; }
.btn-coin.red {
  background: linear-gradient(180deg, #f0304a, var(--red));
  color: #fff;
  box-shadow: 0 4px 0 var(--red-dark), 0 0 18px rgba(240, 48, 74, .55);
}
.btn-coin.red:hover { color: #fff; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.coin-fx {
  position: absolute;
  font-size: 18px;
  pointer-events: none;
  animation: coinfly 2.6s linear infinite;
  opacity: 0;
}
.coin-fx.c1 { left: -8px; animation-delay: 0s; }
.coin-fx.c2 { left: 30%; animation-delay: .9s; }
.coin-fx.c3 { right: -6px; animation-delay: 1.7s; }
@keyframes coinfly {
  0% { transform: translateY(6px) scale(.6); opacity: 0; }
  15% { opacity: 1; }
  60% { transform: translateY(-34px) scale(1) rotate(25deg); opacity: 1; }
  100% { transform: translateY(-52px) scale(.7) rotate(60deg); opacity: 0; }
}

/* ---------- Search results ---------- */
.search-result { border-bottom: 1px solid var(--line); padding: 18px 0; }
.search-result h3 { font-size: 18px; margin-bottom: 6px; }
.search-result p { font-size: 14.5px; color: var(--muted); }
.search-result .url { font-size: 12.5px; color: var(--green); }

/* ---------- Misc ---------- */
.notice-strip {
  background: #fff8e6;
  border: 1px solid #f0dfae;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: #6b5410;
  margin: 18px 0;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) and (min-width: 761px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features, .quotes, .card-grid, .rg-grid, .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    background: rgba(0, 0, 0, .35);
    border-radius: 12px;
    padding: 10px;
  }
  .main-nav.open { display: flex; }
  .header-cta { margin-left: 0; width: 100%; order: 4; display: flex; }
  .header-cta .btn { flex: 1; }
  .hero-inner { padding: 56px 0 50px; }
  .split, .glossary-tools, .grid-2 { grid-template-columns: 1fr; gap: 26px; }
  .features, .quotes, .card-grid, .rg-grid, .terms-grid, .steps { grid-template-columns: 1fr; }
  .gloss-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .float-inner { gap: 10px; padding: 10px 12px 12px; }
  .float-text small { display: none; }
  .float-text b { font-size: 13.5px; }
  .reel { width: 32px; height: 38px; font-size: 19px; }
  .btn-coin { padding: 10px 14px; font-size: 13.5px; }
  .cta-band { padding: 34px 22px; }
  .auth-card { padding: 28px 20px; }
  .section { padding: 46px 0; }
}
