/*
Theme Name: Vio77
Theme URI: https://vio77.co/
Author: Tim Redaksi Vio77
Author URI: https://vio77.co/tentang-kami/
Description: Tema resmi Vio77 — portal panduan iGaming berbahasa Indonesia. Gelap, elegan, responsif penuh.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vio77
*/

:root {
  --vio-black: #0d0d12;
  --vio-black-2: #14141c;
  --vio-black-3: #1c1c27;
  --vio-red: #e01f3d;
  --vio-red-dark: #b3122c;
  --vio-green: #1faa6b;
  --vio-green-dark: #157a4d;
  --vio-yellow: #f5c542;
  --vio-yellow-dark: #d4a017;
  --vio-blue: #2f6df6;
  --vio-blue-dark: #1d4fc4;
  --vio-white: #f7f7fa;
  --vio-gray: #b9b9c6;
  --vio-gray-2: #8a8a99;
  --vio-border: #2a2a38;
  --vio-radius: 14px;
  --vio-max: 1180px;
  --vio-font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Cegah elemen apa pun melebihi lebar viewport (perbaikan overflow mobile) */
#masthead, #main-content, .site-footer, .colophon, section, article, div, p, h1, h2, h3, h4, ul, ol, li, span, figure {
  max-width: 100%;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--vio-font);
  background: var(--vio-black);
  color: var(--vio-white);
  line-height: 1.75;
  font-size: 16.5px;
  overflow-x: hidden;
  padding-bottom: 86px;
}

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

a { color: var(--vio-yellow); text-decoration: none; transition: color .2s ease; }
a:hover { color: #ffe08a; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin: 26px 0 10px; }
p { margin-bottom: 16px; color: #e6e6ee; }
ul, ol { margin: 0 0 16px 22px; color: #e6e6ee; }
li { margin-bottom: 8px; }
strong { color: var(--vio-white); }
small { font-size: .82rem; }

.container { max-width: var(--vio-max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--vio-black-2); }
.section-label {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--vio-yellow); margin-bottom: 10px;
}
.section-title { margin-bottom: 14px; }
.section-sub { color: var(--vio-gray); max-width: 720px; margin-bottom: 34px; }

/* ---------- Age bar ---------- */
.age-bar {
  background: linear-gradient(90deg, var(--vio-red-dark), var(--vio-red), var(--vio-red-dark));
  color: #fff; text-align: center; font-size: .8rem; font-weight: 600;
  padding: 7px 14px; letter-spacing: .02em;
}
.age-bar strong { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(13,13,18,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vio-border);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 14px 20px; max-width: var(--vio-max); margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 1.55rem; font-weight: 900; letter-spacing: -.02em; color: var(--vio-white); }
.site-logo .logo-badge {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 40px;
  background: linear-gradient(135deg, var(--vio-yellow), var(--vio-yellow-dark));
  display: flex; align-items: center; justify-content: center;
  color: #14141c; font-size: 1.05rem; font-weight: 900;
  box-shadow: 0 0 18px rgba(245,197,66,.35);
}
.site-logo span em { font-style: normal; color: var(--vio-yellow); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  color: var(--vio-gray); font-size: .92rem; font-weight: 600; padding: 9px 12px; border-radius: 8px;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--vio-white); background: var(--vio-black-3); }
.nav-toggle { display: none; background: none; border: 1px solid var(--vio-border); border-radius: 8px; color: var(--vio-white); font-size: 1.2rem; padding: 6px 12px; cursor: pointer; }

.header-cta { display: flex; gap: 10px; margin-left: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .95rem; padding: 11px 22px; border-radius: 10px;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--vio-red), var(--vio-red-dark)); color: #fff; box-shadow: 0 6px 18px rgba(224,31,61,.35); }
.btn--primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(224,31,61,.5); }
.btn--gold { background: linear-gradient(135deg, var(--vio-yellow), var(--vio-yellow-dark)); color: #171207; box-shadow: 0 6px 18px rgba(245,197,66,.3); }
.btn--gold:hover { color: #171207; box-shadow: 0 10px 26px rgba(245,197,66,.45); }
.btn--outline { background: transparent; border: 1.5px solid var(--vio-yellow); color: var(--vio-yellow); }
.btn--outline:hover { background: rgba(245,197,66,.1); }
.btn--blue { background: linear-gradient(135deg, var(--vio-blue), var(--vio-blue-dark)); color: #fff; }
.btn--blue:hover { color: #fff; }
.btn--green { background: linear-gradient(135deg, var(--vio-green), var(--vio-green-dark)); color: #fff; }
.btn--green:hover { color: #fff; }
.btn--lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }

/* ---------- Search ---------- */
.search-box { position: relative; }
.search-box input {
  background: var(--vio-black-3); border: 1px solid var(--vio-border); color: var(--vio-white);
  border-radius: 10px; padding: 9px 14px 9px 38px; font-size: .9rem; width: 190px; outline: none;
  transition: width .25s ease, border-color .2s ease;
}
.search-box input:focus { border-color: var(--vio-yellow); width: 240px; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: var(--vio-gray-2); }
.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 340px; max-height: 380px; overflow-y: auto;
  background: var(--vio-black-3); border: 1px solid var(--vio-border); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.6); display: none; z-index: 950;
}
.search-results.open { display: block; }
.search-results a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--vio-border); color: var(--vio-white); font-size: .9rem; }
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--vio-black-2); }
.search-results a small { display: block; color: var(--vio-gray-2); }
.search-results .no-result { padding: 16px; color: var(--vio-gray-2); font-size: .88rem; text-align: center; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0 0; font-size: .84rem; color: var(--vio-gray-2); }
.breadcrumb ol { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--vio-gray-2); }
.breadcrumb a { color: var(--vio-gray); }
.breadcrumb [aria-current] { color: var(--vio-yellow); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--vio-border); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: .55; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,18,.97) 0%, rgba(13,13,18,.82) 42%, rgba(13,13,18,.35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 92px 0 84px; max-width: 640px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--vio-border); background: rgba(28,28,39,.8); color: var(--vio-gray);
}
.pill--red { border-color: rgba(224,31,61,.6); color: #ff8fa3; }
.pill--gold { border-color: rgba(245,197,66,.55); color: var(--vio-yellow); }
.pill--green { border-color: rgba(31,170,107,.55); color: #5fd8a4; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--vio-yellow); }
.hero p.lead { font-size: 1.08rem; color: #d5d5e0; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { font-size: .82rem; color: var(--vio-gray-2); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; fill: var(--vio-green); flex: 0 0 16px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.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: var(--vio-black-3); border: 1px solid var(--vio-border); border-radius: var(--vio-radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245,197,66,.4); box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff;
  background: rgba(224,31,61,.92);
}
.card-tag--blue { background: rgba(47,109,246,.92); }
.card-tag--green { background: rgba(31,170,107,.92); }
.card-tag--gold { background: rgba(212,160,23,.95); color: #171207; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card-body h3 a { color: var(--vio-white); }
.card-body h3 a:hover { color: var(--vio-yellow); }
.card-body p { font-size: .9rem; color: var(--vio-gray); margin-bottom: 14px; flex: 1; }
.card-meta { font-size: .76rem; color: var(--vio-gray-2); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.card-link { font-size: .88rem; font-weight: 700; color: var(--vio-yellow); }
.card-link::after { content: " →"; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--vio-black-3); border: 1px solid var(--vio-border); border-radius: var(--vio-radius);
  padding: 26px 22px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  font-size: 1.25rem; font-weight: 900; color: #171207;
  background: linear-gradient(135deg, var(--vio-yellow), var(--vio-yellow-dark));
  box-shadow: 0 6px 16px rgba(245,197,66,.3);
}
.step h3 { margin: 0 0 8px; font-size: 1.02rem; }
.step p { font-size: .88rem; color: var(--vio-gray); margin: 0; }

/* ---------- Feature list ---------- */
.feature {
  background: var(--vio-black-3); border: 1px solid var(--vio-border); border-radius: var(--vio-radius);
  padding: 26px 24px;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.3);
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--vio-yellow); }
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { font-size: .9rem; color: var(--vio-gray); margin: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-img { border-radius: var(--vio-radius); overflow: hidden; border: 1px solid var(--vio-border); box-shadow: 0 20px 44px rgba(0,0,0,.5); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { margin-bottom: 14px; }
.split-content p { color: var(--vio-gray); }
.check-list { list-style: none; margin: 18px 0 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: #e6e6ee; margin-bottom: 12px; }
.check-list svg { width: 20px; height: 20px; fill: var(--vio-green); flex: 0 0 20px; margin-top: 3px; }

/* ---------- Testimonials ---------- */
.testi {
  background: var(--vio-black-3); border: 1px solid var(--vio-border); border-radius: var(--vio-radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.testi-stars { color: var(--vio-yellow); letter-spacing: 3px; font-size: .95rem; }
.testi p { font-size: .92rem; color: #dcdce6; margin: 0; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-ava {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: #171207;
  background: linear-gradient(135deg, var(--vio-yellow), var(--vio-yellow-dark));
}
.testi-ava--blue { background: linear-gradient(135deg, #6f9bff, var(--vio-blue)); color: #fff; }
.testi-ava--green { background: linear-gradient(135deg, #4ed39a, var(--vio-green)); color: #fff; }
.testi-ava--red { background: linear-gradient(135deg, #ff6b85, var(--vio-red)); color: #fff; }
.testi-who strong { display: block; font-size: .92rem; }
.testi-who small { color: var(--vio-gray-2); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--vio-border); border-radius: 12px; margin-bottom: 12px; background: var(--vio-black-3); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--vio-white);
  font-size: 1rem; font-weight: 700; padding: 18px 54px 18px 20px; cursor: pointer; position: relative;
  font-family: var(--vio-font);
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--vio-yellow); transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--vio-gray); font-size: .93rem; }
.faq-a-inner p { color: var(--vio-gray); margin-bottom: 10px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  font-size: .82rem; font-weight: 600; color: var(--vio-gray);
  border: 1px solid var(--vio-border); background: var(--vio-black-3);
  padding: 7px 14px; border-radius: 999px; transition: all .2s ease;
}
.tag-cloud a:hover { color: #171207; background: var(--vio-yellow); border-color: var(--vio-yellow); }
.tag-cloud a.t-lg { font-size: .95rem; }
.tag-cloud a.t-sm { font-size: .74rem; }

/* ---------- Article ---------- */
.article-hero { position: relative; border-bottom: 1px solid var(--vio-border); overflow: hidden; }
.article-hero-bg { position: absolute; inset: 0; }
.article-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.article-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,18,.75), rgba(13,13,18,.96)); }
.article-hero-inner { position: relative; z-index: 2; padding: 56px 0 44px; max-width: 820px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--vio-gray-2); margin-top: 16px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; fill: var(--vio-gray-2); }

.article-body { max-width: 820px; margin: 0 auto; padding: 44px 0 20px; }
.article-body h2 { margin-top: 38px; padding-top: 8px; }
.article-body h2:first-child { margin-top: 0; }
.article-body img.article-figure { border-radius: var(--vio-radius); border: 1px solid var(--vio-border); margin: 26px 0; }
.article-body blockquote {
  border-left: 4px solid var(--vio-yellow); background: var(--vio-black-3);
  padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 24px 0; color: #dcdce6; font-style: italic;
}
.article-body table {
  width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .9rem;
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%; white-space: normal;
  /* Elemen dalam tabel boleh di-scroll horizontal, bukan overflow halaman */
  contain: layout;
}
.article-body table thead, .article-body table tbody, .article-body table tr {
  /* biarkan lebar natural; scroll container menanganinya */
}
.article-body table th, .article-body table td { min-width: 110px; }

@media (max-width: 620px) {
  .article-body table { font-size: .82rem; }
  .article-body table thead th, .article-body table tbody td { padding: 9px 10px; min-width: 96px; }
}
.article-body table thead th {
  background: var(--vio-black-3); color: var(--vio-yellow); text-align: left;
  padding: 12px 14px; border: 1px solid var(--vio-border); white-space: nowrap;
}
.article-body table tbody td { padding: 11px 14px; border: 1px solid var(--vio-border); color: #dcdce6; }
.article-body table tbody tr:nth-child(even) { background: rgba(28,28,39,.5); }

.callout {
  border: 1px solid rgba(245,197,66,.4); background: rgba(245,197,66,.07);
  border-radius: 12px; padding: 18px 22px; margin: 24px 0; font-size: .92rem;
}
.callout--red { border-color: rgba(224,31,61,.45); background: rgba(224,31,61,.07); }
.callout--green { border-color: rgba(31,170,107,.45); background: rgba(31,170,107,.07); }
.callout strong { color: var(--vio-yellow); }
.callout--red strong { color: #ff8fa3; }
.callout--green strong { color: #5fd8a4; }

.toc {
  background: var(--vio-black-3); border: 1px solid var(--vio-border); border-radius: var(--vio-radius);
  padding: 22px 26px; margin: 28px 0;
}
.toc strong { display: block; margin-bottom: 10px; color: var(--vio-yellow); font-size: .95rem; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 6px; font-size: .9rem; }
.toc a { color: var(--vio-gray); }
.toc a:hover { color: var(--vio-yellow); }

/* ---------- Auth pages ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 56px 0 70px; }
.auth-card {
  background: var(--vio-black-3); border: 1px solid var(--vio-border); border-radius: 18px;
  padding: 36px 34px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--vio-gray); font-size: .9rem; margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 7px; color: #dcdce6; }
.form-group input, .form-group select {
  width: 100%; background: var(--vio-black-2); border: 1px solid var(--vio-border); color: var(--vio-white);
  border-radius: 10px; padding: 12px 14px; font-size: .95rem; outline: none; font-family: var(--vio-font);
  transition: border-color .2s ease;
}
.form-group input:focus, .form-group select:focus { border-color: var(--vio-yellow); }
.form-hint { font-size: .76rem; color: var(--vio-gray-2); margin-top: 6px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--vio-gray); margin-bottom: 18px; }
.form-check input { margin-top: 4px; accent-color: var(--vio-yellow); }
.auth-alt { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--vio-gray); }
.auth-note {
  margin-top: 26px; padding: 14px 16px; border-radius: 10px; font-size: .78rem; color: var(--vio-gray-2);
  background: var(--vio-black-2); border: 1px dashed var(--vio-border);
}

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0e; border-top: 1px solid var(--vio-border); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 54px 0 40px; }
.footer-brand p { font-size: .86rem; color: var(--vio-gray-2); margin-top: 14px; }
.footer-col h4 { font-size: .92rem; color: var(--vio-white); margin-bottom: 16px; letter-spacing: .04em; }
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .86rem; color: var(--vio-gray-2); }
.footer-col a:hover { color: var(--vio-yellow); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge-18 {
  width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--vio-red);
  display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--vio-red);
  font-size: .95rem;
}
.badge-rg {
  height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--vio-green);
  display: inline-flex; align-items: center; font-weight: 700; color: #5fd8a4; font-size: .78rem;
}
.footer-legal { border-top: 1px solid var(--vio-border); padding: 22px 0 30px; }
.footer-legal p { font-size: .78rem; color: var(--vio-gray-2); margin-bottom: 10px; }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------- Floating CTA (slot machine) ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
  background: linear-gradient(180deg, rgba(20,20,28,.96), rgba(13,13,18,.99));
  border-top: 2px solid var(--vio-yellow);
  box-shadow: 0 -12px 40px rgba(0,0,0,.65);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.float-cta-inner { max-width: var(--vio-max); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.slot-reels { display: flex; gap: 5px; flex: 0 0 auto; }
.reel {
  width: 34px; height: 40px; border-radius: 8px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #26262f, #101016);
  border: 1px solid rgba(245,197,66,.5);
}
.reel-strip { position: absolute; left: 0; top: 0; width: 100%; animation: reelSpin 1.6s cubic-bezier(.68,-.2,.27,1.2) infinite; }
.reel:nth-child(2) .reel-strip { animation-delay: .18s; animation-duration: 1.8s; }
.reel:nth-child(3) .reel-strip { animation-delay: .36s; animation-duration: 2s; }
.reel-strip span {
  display: flex; align-items: center; justify-content: center; height: 40px;
  font-size: 1.15rem; font-weight: 900; color: var(--vio-yellow);
  text-shadow: 0 0 10px rgba(245,197,66,.7);
}
@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200px); }
}
.float-text { flex: 1 1 auto; min-width: 0; }
.float-text strong { display: block; font-size: .92rem; color: var(--vio-white); line-height: 1.25; }
.float-text small { color: var(--vio-yellow); font-size: .74rem; font-weight: 700; letter-spacing: .03em; }
.float-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.btn-float {
  position: relative; overflow: hidden; font-size: .92rem; padding: 12px 22px; border-radius: 12px;
}
.btn-float::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine { 0% { left: -80%; } 55% { left: 130%; } 100% { left: 130%; } }

.coin-layer { position: fixed; inset: 0; width: 100vw; max-width: 100%; pointer-events: none; z-index: 989; overflow: hidden; contain: strict; }
.coin {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--vio-yellow) 45%, var(--vio-yellow-dark) 80%);
  box-shadow: 0 0 12px rgba(245,197,66,.55), inset 0 -3px 6px rgba(120,80,0,.5);
  animation: coinFloat linear forwards; opacity: 0;
}
.coin::after { content: "7"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .6em; font-weight: 900; color: rgba(120,80,0,.75); }
@keyframes coinFloat {
  0% { transform: translateY(0) rotate(0deg) scale(var(--s,1)); opacity: 0; }
  12% { opacity: .95; }
  85% { opacity: .9; }
  100% { transform: translateY(-108vh) rotate(560deg) scale(var(--s,1)); opacity: 0; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, rgba(224,31,61,.16), rgba(47,109,246,.14)), var(--vio-black-2);
  border: 1px solid var(--vio-border); border-radius: 18px; padding: 44px 40px; text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--vio-gray); max-width: 620px; margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 14px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.disclaimer-inline { font-size: .8rem; color: var(--vio-gray-2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .search-box input { width: 150px; }
  .search-box input:focus { width: 180px; }
}

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .split-content, .split-img { min-width: 0; max-width: 100%; }
  .split-content > *, .split-content .hero-actions { max-width: 100%; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 0 14px; order: 5;
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-link { padding: 12px 14px; }
  .header-cta { margin-left: 0; }
  .header-cta .btn { padding: 9px 14px; font-size: .84rem; }
  .search-box { order: 4; width: 100%; }
  .search-box input, .search-box input:focus { width: 100%; }
  .search-results { width: 100%; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split--reverse .split-img { order: -1; }
  .hero-inner { padding: 64px 0 56px; }
  .float-text strong { font-size: .82rem; }
  .float-text small { font-size: .68rem; }
  .btn-float { padding: 11px 14px; font-size: .84rem; }
  .reel { width: 28px; height: 34px; }
  .reel-strip span { height: 34px; font-size: .95rem; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .split { gap: 20px; }
  .split-content .hero-actions .btn { white-space: normal; text-align: center; }
  .section { padding: 46px 0; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .auth-card { padding: 28px 22px; }
  .float-cta-inner { gap: 8px; }
  .slot-reels { display: none; }
  .float-actions { margin-left: auto; }
  .btn-float { padding: 10px 12px; font-size: .8rem; }
  .hero-actions .btn { width: 100%; }
}
