/* ============================================================
   M11slot — Portal Informasi Game Daring Indonesia
   Theme style (WordPress-style template structure:
   site-header / site-main / entry-content / site-footer)
   Palet: hitam kehijauan / hijau / emas / merah aksen / biru / putih
   ============================================================ */

:root {
  --bg: #071410;
  --bg-2: #0a1c15;
  --card: #0e2418;
  --card-2: #122c1e;
  --line: rgba(255, 255, 255, 0.09);
  --green: #2fe08d;
  --green-2: #19b46a;
  --green-deep: #0d3b26;
  --gold: #ffd166;
  --gold-2: #f2b234;
  --red: #ff4d5e;
  --red-2: #d92b40;
  --blue: #5ab8ff;
  --text: #eef7f1;
  --muted: #9fb8aa;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  padding-bottom: 104px; /* ruang untuk floating bar, bukan area kosong tambahan */
}

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

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

ul, ol { padding-left: 1.35rem; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Utility ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.28);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 12px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-decoration: none !important;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04170d; box-shadow: 0 8px 22px rgba(47, 224, 141, 0.28); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #241400; box-shadow: 0 8px 22px rgba(255, 209, 102, 0.26); }
.btn-red { background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff; box-shadow: 0 8px 22px rgba(255, 77, 94, 0.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, #0c2a1c, #123423, #0c2a1c);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.82rem;
  color: #cfe7d8;
}
.topbar-track { display: inline-flex; gap: 44px; padding: 8px 0; animation: tick 36s linear infinite; }
.topbar-track b { color: var(--gold); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 20, 16, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-badge {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--gold); font-size: 0.9rem;
  box-shadow: inset 0 0 0 1.5px rgba(255, 209, 102, 0.5);
}
.brand-name { font-size: 1.25rem; font-weight: 900; color: #fff; letter-spacing: .3px; }
.brand-name span { color: var(--green); }
.brand-tag { display: block; font-size: 0.66rem; color: var(--muted); letter-spacing: 1.6px; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
}
.main-nav a:hover { background: rgba(47, 224, 141, 0.1); color: var(--green); }
.main-nav a[aria-current="page"] { background: rgba(47, 224, 141, 0.16); color: var(--green); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.1rem;
  width: 42px; height: 42px;
  cursor: pointer;
}

.search-toggle {
  display: block;
  order: 4;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.1rem;
  width: 42px; height: 42px;
  cursor: pointer;
}

/* search */
.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px 0;
}
.search-panel.open { display: block; }
.search-box { position: relative; max-width: 640px; margin: 0 auto; }
.search-box input {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.search-box input:focus { border-color: var(--green); }
#search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 70;
  overflow: hidden;
}
#search-results.show { display: block; }
#search-results a { display: block; padding: 11px 16px; color: var(--text); border-bottom: 1px solid var(--line); text-decoration: none !important; }
#search-results a:last-child { border-bottom: 0; }
#search-results a:hover { background: rgba(47, 224, 141, 0.08); }
#search-results a b { display: block; color: var(--green); font-size: 0.92rem; }
#search-results a span { font-size: 0.8rem; color: var(--muted); }
.search-empty { padding: 12px 16px; color: var(--muted); font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(6, 18, 13, 0.82), rgba(7, 20, 16, 0.94)),
    url('../img/hero-home.jpg') center/cover no-repeat;
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 77, 94, 0.14);
  border: 1px solid rgba(255, 77, 94, 0.4);
  color: #ffd7dc;
  font-size: 0.8rem; font-weight: 800;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.16; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: #cfe4d8; font-size: 1.06rem; margin: 18px 0 26px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stat-chip {
  background: rgba(14, 36, 24, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.84rem;
  color: var(--muted);
}
.stat-chip b { display: block; color: var(--green); font-size: 1.05rem; }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.hero-card h3 { font-size: 1rem; color: var(--gold); margin-bottom: 14px; letter-spacing: .4px; }
.hero-card ul { list-style: none; padding: 0; }
.hero-card li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; color: #d7e9de; }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before { content: '✓ '; color: var(--green); font-weight: 900; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(47, 224, 141, 0.45); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: #04170d;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--muted); }
.step-card a { font-size: 0.86rem; font-weight: 700; display: inline-block; margin-top: 10px; }

/* ---------- Advantage cards ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.adv-card:hover { transform: translateY(-4px); border-color: rgba(255, 209, 102, 0.4); }
.adv-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(47, 224, 141, 0.12);
  border: 1px solid rgba(47, 224, 141, 0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; margin-bottom: 16px;
}
.adv-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.adv-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Split (kenapa memilih) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-img { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-img img { width: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin-top: 20px; }
.check-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed var(--line); color: #d7e9de; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(47, 224, 141, 0.16);
  border: 1.5px solid var(--green);
  color: var(--green);
  font-weight: 900; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Mobile showcase ---------- */
.mobile-show { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.phone {
  width: min(300px, 78%);
  margin: 0 auto;
  border: 10px solid #10261b;
  border-radius: 36px;
  background: var(--card);
  box-shadow: var(--shadow), 0 0 0 1.5px var(--line);
  overflow: hidden;
}
.phone-screen { padding: 18px 14px; }
.phone-notch { width: 90px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 16px; }
.phone-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--card-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-size: 0.82rem;
}
.phone-row .dot { width: 34px; height: 34px; border-radius: 10px; background: rgba(47,224,141,.15); display: flex; align-items: center; justify-content: center; }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }
.testi-card blockquote { font-size: 0.94rem; color: #d7e9de; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem; color: #04170d; flex: 0 0 auto;
}
.av-1 { background: linear-gradient(135deg, #2fe08d, #0d8a52); }
.av-2 { background: linear-gradient(135deg, #ffd166, #c98a12); color: #241400; }
.av-3 { background: linear-gradient(135deg, #5ab8ff, #1f6fb5); }
.testi-who b { display: block; font-size: 0.9rem; }
.testi-who span { font-size: 0.76rem; color: var(--muted); }
.testi-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 22px; }

/* ---------- Kamus istilah (glossary) ---------- */
.glos-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.glos-tab {
  background: transparent; color: var(--muted);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-weight: 700; font-size: 0.88rem;
  cursor: pointer; transition: all .18s ease; font-family: var(--font);
}
.glos-tab.active { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04170d; border-color: transparent; }
.glos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glos-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px;
}
.glos-card dt { color: var(--gold); font-weight: 800; font-size: 0.95rem; margin-bottom: 6px; }
.glos-card dd { color: var(--muted); font-size: 0.86rem; margin: 0; }
.glos-more { text-align: center; margin-top: 24px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.sec-card .ico { font-size: 1.8rem; margin-bottom: 10px; }
.sec-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.sec-card p { font-size: 0.84rem; color: var(--muted); }

/* ---------- Responsible gambling ---------- */
.rg-banner {
  background:
    linear-gradient(120deg, rgba(13, 59, 38, 0.92), rgba(7, 20, 16, 0.96)),
    url('../img/guide.jpg') center/cover no-repeat;
  border: 1px solid rgba(47, 224, 141, 0.3);
  border-radius: 18px;
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
}
.rg-badge {
  width: 86px; height: 86px; border-radius: 50%;
  border: 3px solid var(--red); color: #ffd7dc;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.5rem; line-height: 1.05; flex: 0 0 auto;
  background: rgba(255, 77, 94, 0.1);
}
.rg-badge small { font-size: 0.55rem; letter-spacing: 1px; }
.rg-banner h3 { font-size: 1.2rem; margin-bottom: 6px; }
.rg-banner p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  padding: 8px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--text); font-size: 0.85rem; font-weight: 600;
  text-decoration: none !important; transition: all .16s ease; cursor: pointer;
}
.tag-cloud a:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.tag-cloud a.hot { border-color: rgba(255, 209, 102, 0.5); color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; margin: 0 auto; }
details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 0.97rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--green); font-size: 1.3rem; font-weight: 900; flex: 0 0 auto; }
details.faq[open] summary::after { content: '–'; }
details.faq[open] summary { color: var(--green); }
details.faq .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Kategori grid (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(47, 224, 141, 0.45); }
.cat-card figure { overflow: hidden; aspect-ratio: 16/10; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 { font-size: 1.02rem; }
.cat-body p { font-size: 0.86rem; color: var(--muted); flex: 1; }
.cat-body .more { color: var(--green); font-weight: 700; font-size: 0.86rem; }

/* ---------- Promo grid ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.promo-card:hover { transform: translateY(-4px); border-color: rgba(255, 209, 102, 0.5); }
.promo-card figure { aspect-ratio: 16/9; overflow: hidden; }
.promo-card img { width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-tag {
  align-self: flex-start;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(255, 209, 102, 0.4);
  padding: 3px 10px; border-radius: 999px;
}
.promo-body h3 { font-size: 1.02rem; }
.promo-body p { font-size: 0.86rem; color: var(--muted); flex: 1; }
.promo-body .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.84rem; }

/* ---------- CTA box ---------- */
.cta-box {
  background: linear-gradient(120deg, var(--green-deep), #09221740);
  border: 1px solid rgba(47, 224, 141, 0.35);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 34px;
}
.cta-box h3 { font-size: 1.1rem; }
.cta-box p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; font-size: 0.84rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current] { color: var(--green); }

/* ---------- Article layout ---------- */
.page-hero { padding: 34px 0 10px; }
.page-hero h1 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.25; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.84rem; margin-top: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; padding: 26px 0 64px; }
.entry-content { min-width: 0; }
.entry-content > figure { margin: 0 0 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.entry-content h2 { font-size: 1.4rem; margin: 34px 0 12px; padding-left: 14px; border-left: 4px solid var(--green); }
.entry-content h3 { font-size: 1.12rem; margin: 24px 0 10px; color: var(--gold); }
.entry-content p { margin-bottom: 14px; color: #d9e9e0; }
.entry-content ul, .entry-content ol { margin: 0 0 16px; color: #d9e9e0; }
.entry-content li { margin-bottom: 7px; }
.entry-content img { border-radius: 12px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; }
table.terms { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
table.terms th, table.terms td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { background: var(--card-2); color: var(--gold); font-size: 0.84rem; letter-spacing: .4px; white-space: nowrap; }
table.terms tr:last-child td { border-bottom: 0; }
table.terms td:first-child { color: var(--muted); white-space: nowrap; }

.note-box {
  background: rgba(90, 184, 255, 0.08);
  border: 1px solid rgba(90, 184, 255, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: #cfe7f8;
  margin: 0 0 18px;
}
.warn-box {
  background: rgba(255, 77, 94, 0.08);
  border: 1px solid rgba(255, 77, 94, 0.32);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: #ffd7dc;
  margin: 0 0 18px;
}

/* sidebar */
.sidebar .side-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px;
}
.sidebar h3 { font-size: 0.95rem; margin-bottom: 14px; color: var(--gold); }
.sidebar ul { list-style: none; padding: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.88rem; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { color: #d9e9e0; }
.sidebar li a:hover { color: var(--green); }

/* ---------- Forms ---------- */
.auth-wrap { max-width: 480px; margin: 40px auto 70px; }
.auth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 30px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 12px 15px; border-radius: 11px;
  border: 1.5px solid var(--line); background: var(--bg-2); color: var(--text);
  font-size: 0.96rem; outline: none; font-family: var(--font);
}
.field input:focus { border-color: var(--green); }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); margin: 18px 0; }
.field-check input { margin-top: 4px; width: auto; }
.form-msg { display: none; font-size: 0.88rem; border-radius: 10px; padding: 11px 14px; margin-bottom: 14px; }
.form-msg.ok { display: block; background: rgba(47, 224, 141, 0.12); border: 1px solid rgba(47, 224, 141, 0.4); color: #bdf5d8; }
.form-msg.err { display: block; background: rgba(255, 77, 94, 0.1); border: 1px solid rgba(255, 77, 94, 0.4); color: #ffd7dc; }
.auth-alt { text-align: center; font-size: 0.88rem; color: var(--muted); margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #050f0b; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; padding: 52px 0 34px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }
.footer-col h3 { font-size: 0.92rem; color: var(--gold); margin-bottom: 14px; letter-spacing: .5px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--green); }
.footer-col .fdesc { color: var(--muted); font-size: 0.84rem; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--muted);
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px;
  border: 2px solid var(--red); color: #ffd7dc; font-weight: 900;
}

/* ---------- Floating slot CTA bar ---------- */
.float-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  max-width: 620px;
  margin: 0 auto;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(120deg, #0d2f1f, #103524, #0c2a1c);
  border: 1.5px solid rgba(255, 209, 102, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,.07);
  overflow: visible;
}
.slot-reels { display: flex; gap: 5px; flex: 0 0 auto; }
.reel {
  width: 30px; height: 38px;
  border-radius: 8px;
  background: #061109;
  border: 1.5px solid rgba(255, 209, 102, 0.5);
  overflow: hidden;
  position: relative;
}
.reel-strip {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; flex-direction: column; align-items: center;
  animation: reelspin 2.4s linear infinite;
}
.reel:nth-child(2) .reel-strip { animation-duration: 3.1s; }
.reel:nth-child(3) .reel-strip { animation-duration: 2.8s; }
.reel-strip span { height: 38px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-190px); }
}
@media (prefers-reduced-motion: reduce) { .reel-strip { animation: none; } }

.float-copy { min-width: 0; flex: 1; }
.float-copy b {
  display: block; font-size: 0.82rem; letter-spacing: 1.6px; color: var(--gold);
  text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.float-btn {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #ffe08a, #f2b234 55%, #d98f14);
  color: #241400;
  font-weight: 900; font-size: 0.92rem; letter-spacing: .4px;
  padding: 13px 22px;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(242, 178, 52, 0.45), inset 0 1px 0 rgba(255,255,255,.6);
  animation: pulsegold 2.2s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes pulsegold {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(242,178,52,.45), inset 0 1px 0 rgba(255,255,255,.6); }
  50% { transform: scale(1.045); box-shadow: 0 8px 26px rgba(242,178,52,.7), inset 0 1px 0 rgba(255,255,255,.6); }
}
@media (prefers-reduced-motion: reduce) { .float-btn { animation: none; } }

.coin {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c4, #ffd166 45%, #c98a12 85%);
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.8);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}
.coin.pop { animation: coinup 1.9s ease-out forwards; }
@keyframes coinup {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 0px), -110px) scale(1.15) rotate(220deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 4%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: block; order: 3; }
  .header-cta { margin-left: auto; order: 2; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .glos-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { padding: 56px 0 52px; }
  .hero-grid, .split, .mobile-show { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .testi-grid { grid-template-columns: 1fr; }
  .rg-banner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 46px 0; }
  .steps-grid, .adv-grid, .glos-grid, .cat-grid, .sec-grid, .promo-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .float-bar { gap: 8px; padding: 8px 10px; }
  .reel { width: 24px; height: 32px; border-radius: 6px; }
  .reel-strip span { height: 32px; font-size: 0.88rem; }
  .float-copy b { font-size: 0.7rem; letter-spacing: 1px; }
  .float-btn { padding: 12px 16px; font-size: 0.84rem; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  body { padding-bottom: 92px; }
}
@media (max-width: 380px) {
  .float-copy { display: none; }
  .float-btn { flex: 1; }
  .brand-tag { display: none; }
}
