/*
Theme Name: Topslot88 Info
Description: Tema statis bergaya WordPress (header.php / footer.php / template-parts) untuk Topslot88 - portal informasi game online Indonesia.
Version: 1.0.0
Author: Topslot88
Prerendered: static HTML, tanpa ketergantungan JavaScript untuk konten.
*/

:root {
  --brand-red: #d21034;
  --brand-red-dark: #9e0b28;
  --brand-gold: #f7c948;
  --brand-gold-soft: #ffe08a;
  --brand-green: #14a06f;
  --brand-blue: #2563eb;
  --ink: #12141c;
  --ink-2: #191d27;
  --panel: #20242f;
  --line: #e5e8f0;
  --line-dark: #2d3242;
  --text: #2a2f3a;
  --muted: #6a7180;
  --bg: #f7f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 18, 25, 0.10);
  --shadow-lg: 0 18px 50px rgba(16, 18, 25, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-red); text-decoration: none; }
a:hover { color: var(--brand-red-dark); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 14px; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.12rem, 2.4vw, 1.35rem); }
p { margin: 0 0 14px; }

ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 8px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 18px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand-gold);
  color: var(--ink); padding: 10px 16px; z-index: 1200; font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* =Header (template-parts/header) ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(180deg, #171a23, #101218);
  border-bottom: 2px solid var(--brand-gold);
}
.top-strip {
  background: linear-gradient(90deg, var(--brand-red-dark), var(--brand-red) 45%, var(--brand-gold));
  color: #fff; font-size: 12.5px; text-align: center; padding: 5px 14px; font-weight: 600;
}
.top-strip strong { color: #fff; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 66px; }

.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-coin {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 32% 28%, #ffe9a8, #f7c948 55%, #b98a12);
  border: 2px solid #8a650c; display: flex; align-items: center; justify-content: center;
  color: #6b4d06; font-weight: 900; font-size: 15px; box-shadow: 0 3px 8px rgba(0,0,0,.4);
}
.brand-name { font-size: 21px; font-weight: 900; color: #fff; letter-spacing: 0.4px; }
.brand-name span { color: var(--brand-gold); }
.brand-tag { display: block; font-size: 10.5px; color: #9aa1b2; letter-spacing: 1.4px; font-weight: 600; }

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.main-navigation a {
  color: #cfd4df; font-weight: 600; font-size: 14.5px; padding: 10px 12px; border-radius: 9px; display: block;
}
.main-navigation a:hover, .main-navigation .current-menu-item a {
  color: var(--brand-gold); background: rgba(247, 201, 72, 0.10); text-decoration: none;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-search { display: flex; }
.header-search input {
  background: #232836; border: 1px solid var(--line-dark); color: #e7eaf1;
  border-radius: 9px 0 0 9px; padding: 9px 12px; font-size: 13.5px; width: 150px; outline: none; font-family: inherit;
}
.header-search input::placeholder { color: #8b93a5; }
.header-search input:focus { border-color: var(--brand-gold); }
.header-search button {
  border: 0; background: var(--brand-gold); color: #3c2b04; font-weight: 700; font-size: 13.5px;
  padding: 9px 14px; border-radius: 0 9px 9px 0; cursor: pointer; font-family: inherit;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 11px; font-weight: 800; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; text-decoration: none; font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #ffe08a, var(--brand-gold)); color: #3d2c05; box-shadow: 0 6px 16px rgba(247, 201, 72, 0.35); }
.btn-gold:hover { color: #2c1f02; }
.btn-red { background: linear-gradient(180deg, #e8254c, var(--brand-red-dark)); color: #fff; box-shadow: 0 6px 16px rgba(210, 16, 52, 0.35); }
.btn-red:hover { color: #fff; }
.btn-green { background: linear-gradient(180deg, #19b97e, #0d7d55); color: #fff; box-shadow: 0 6px 16px rgba(20, 160, 111, 0.3); }
.btn-green:hover { color: #fff; }
.btn-outline { background: transparent; color: #f2d98b; border-color: rgba(247, 201, 72, 0.55); }
.btn-outline:hover { color: #ffe9a8; border-color: var(--brand-gold); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 14px 30px; font-size: 16.5px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-dark);
  border-radius: 9px; color: #e7eaf1; font-size: 20px; line-height: 1;
  width: 42px; height: 40px; cursor: pointer; font-family: inherit;
}

/* =Breadcrumbs ============ */
.breadcrumbs { background: #eef0f6; border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 0; }
.breadcrumbs li { margin: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 6px; color: #aab0bf; }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--brand-red); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* =Hero ============ */
.hero { background: radial-gradient(1100px 500px at 80% -10%, rgba(210, 16, 52, 0.35), transparent 60%), linear-gradient(180deg, #14161f, #191d27); color: #e7eaf1; padding: 58px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 36px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; color: var(--brand-gold); text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--brand-gold); }
.hero-sub { color: #b7bdc9; font-size: 17px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  color: #ccd2de; padding: 6px 12px; border-radius: 999px;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); flex-shrink: 0; }
.chip-red .dot { background: var(--brand-red); }
.chip-gold .dot { background: var(--brand-gold); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 18px; border: 3px solid rgba(247, 201, 72, 0.6); box-shadow: var(--shadow-lg); }
.badge-18 {
  position: absolute; top: -18px; right: -10px; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a, var(--brand-gold)); color: #4a3405;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; line-height: 1; border: 3px solid #8a650c; box-shadow: var(--shadow-lg);
}
.badge-18 small { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; }
.hero-note { font-size: 12.5px; color: #8f96a8; margin-top: 14px; }

/* =Sections ============ */
.section { padding: 56px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: linear-gradient(180deg, #14161f, #191d27); color: #c6cbd6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-dark .section-head p { color: #9aa1b2; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand-red); background: rgba(210, 16, 52, 0.08); padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--brand-gold); background: rgba(247, 201, 72, 0.1); }

/* =Steps ============ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffe08a, var(--brand-gold)); color: #4a3405; font-weight: 900; font-size: 19px;
  margin-bottom: 14px; border: 2px solid #caa42a;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }

/* =Category cards ============ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.cat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card figure { margin: 0; position: relative; }
.cat-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 18, 25, 0.55)); }
.cat-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-label {
  position: absolute; left: 12px; bottom: 10px; z-index: 2; font-size: 11.5px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; color: #fff; background: rgba(210, 16, 52, 0.92);
  padding: 4px 10px; border-radius: 999px;
}
.cat-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { margin-bottom: 8px; }
.cat-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.more-link { font-weight: 800; font-size: 14px; }
.more-link::after { content: " \2192"; }

/* =Feature grids / advantages ============ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.feature { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand-gold); border-radius: 12px; padding: 22px 20px; box-shadow: var(--shadow); }
.feature.f-red { border-left-color: var(--brand-red); }
.feature.f-green { border-left-color: var(--brand-green); }
.feature.f-blue { border-left-color: var(--brand-blue); }
.feature h3 { font-size: 1.05rem; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }
.feature .f-ico {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #fff; background: linear-gradient(180deg, #232836, #171a23); border: 1px solid var(--line-dark);
}

/* =Why choose / highlights ============ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.why-item { display: flex; gap: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 12px; padding: 18px; }
.why-check {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 160, 111, 0.15); color: #3dd99f; font-weight: 900; font-size: 15px; border: 1px solid rgba(20, 160, 111, 0.4);
}
.why-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: #9aa1b2; margin: 0; }

/* =Mobile / payments ============ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pay-chip {
  font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 9px;
  background: var(--white); border: 1px solid var(--line); color: var(--text); box-shadow: 0 2px 6px rgba(16,18,25,.06);
}
.pay-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* =Testimonials ============ */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stars { color: var(--brand-gold); letter-spacing: 2px; font-size: 15px; margin-bottom: 10px; text-shadow: 0 1px 0 #caa42a; }
.quote-card blockquote { margin: 0 0 14px; font-size: 14.5px; color: var(--text); font-style: italic; }
.quote-who { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #e8254c, var(--brand-red-dark)); color: #fff; font-weight: 800; font-size: 14px;
}
.quote-who strong { display: block; font-size: 14px; color: var(--ink); }
.quote-who span { font-size: 12px; color: var(--muted); }
.quote-source { font-size: 12px; color: var(--muted); margin-top: 18px; text-align: center; }

/* =Glossary (unique section) ============ */
.gloss-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.term-card { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 12px; padding: 16px 18px; }
.term-card dt { font-weight: 800; color: var(--brand-gold); font-size: 15px; margin-bottom: 5px; }
.term-card dd { margin: 0; font-size: 13.5px; color: #9aa1b2; line-height: 1.6; }

/* =Security / privacy ============ */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.sec-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); }
.sec-item h3 { font-size: 1rem; display: flex; align-items: center; gap: 9px; }
.sec-item .ico-lock { width: 30px; height: 30px; border-radius: 8px; background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.3); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--brand-blue); font-weight: 900; flex-shrink: 0; }
.sec-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* =Responsible gambling ============ */
.rg-box { background: linear-gradient(180deg, #10231c, #0d1a16); border: 1px solid rgba(20, 160, 111, 0.35); border-radius: var(--radius); padding: 28px 26px; }
.rg-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 18px 0; }
.rg-item { background: rgba(20, 160, 111, 0.07); border: 1px solid rgba(20, 160, 111, 0.25); border-radius: 10px; padding: 14px 16px; font-size: 14px; color: #b9e6d3; }
.rg-item strong { color: #3dd99f; display: block; margin-bottom: 4px; }
.rg-box p { color: #9ec7b6; font-size: 14.5px; }

/* =FAQ ============ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 3px 10px rgba(16,18,25,.05); }
.faq-item summary { cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--ink); position: relative; list-style: none; font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 8px; background: rgba(210, 16, 52, 0.09); color: var(--brand-red);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 18px 16px; color: var(--muted); font-size: 14.5px; margin: 0; }

/* =Tag cloud ============ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  display: inline-block; padding: 7px 15px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); color: var(--text); box-shadow: 0 2px 6px rgba(16,18,25,.05);
  transition: transform 0.15s ease;
}
.tag-cloud a:hover { transform: translateY(-2px); text-decoration: none; background: #fff8e3; border-color: var(--brand-gold); color: var(--ink); }
.tag-cloud .t1 { font-size: 12.5px; }
.tag-cloud .t2 { font-size: 14px; }
.tag-cloud .t3 { font-size: 15.5px; background: #1d212b; color: #ffe08a; border-color: #343a48; }
.tag-cloud .t3:hover { background: #262b38; color: #ffe9a8; }

/* =Content / article layout ============ */
.layout-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.entry, .page-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.entry-header { padding: 28px 30px 0; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.meta-chip { background: #eef0f6; border: 1px solid var(--line); padding: 3px 11px; border-radius: 999px; font-weight: 700; }
.meta-chip.red { background: rgba(210, 16, 52, 0.07); border-color: rgba(210, 16, 52, 0.25); color: var(--brand-red-dark); }
.meta-chip.green { background: rgba(20, 160, 111, 0.08); border-color: rgba(20, 160, 111, 0.3); color: #0d7d55; }
.entry-thumb { margin: 20px 30px 0; }
.entry-thumb img { border-radius: 12px; width: 100%; }
.entry-thumb figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.entry-content { padding: 24px 30px 30px; font-size: 16px; }
.entry-content h2 { margin-top: 34px; padding-top: 18px; border-top: 1px dashed var(--line); }
.entry-content h2:first-of-type { border-top: 0; padding-top: 0; }
.entry-content h3 { margin-top: 24px; }
.entry-content img { border-radius: 12px; margin: 10px auto; }
.entry-content figure { margin: 18px 0; }
.entry-content figure figcaption { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-content blockquote {
  margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--brand-gold);
  background: #fffaf0; border-radius: 0 10px 10px 0; font-style: italic; color: #5a4a1e;
}
.entry-footer { padding: 0 30px 28px; font-size: 13px; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.table-wrap { overflow-x: auto; margin: 18px 0; border-radius: 12px; border: 1px solid var(--line); }
.terms-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.terms-table th { background: linear-gradient(180deg, #232836, #191d27); color: var(--brand-gold); text-align: left; padding: 12px 14px; font-size: 13px; letter-spacing: 0.4px; }
.terms-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.terms-table tr:nth-child(even) td { background: #fafbfe; }

.box-info, .box-warn {
  border-radius: 12px; padding: 16px 18px; font-size: 14.5px; margin: 18px 0; display: flex; gap: 12px; align-items: flex-start;
}
.box-info { background: rgba(37, 99, 235, 0.06); border: 1px solid rgba(37, 99, 235, 0.25); color: #23408f; }
.box-warn { background: rgba(210, 16, 52, 0.05); border: 1px solid rgba(210, 16, 52, 0.25); color: #7c1029; }
.box-ico { font-weight: 900; font-size: 16px; line-height: 1.4; flex-shrink: 0; }
.box-info p, .box-warn p { margin: 0; }

.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; }
.widget-title { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); border-left: 4px solid var(--brand-red); padding-left: 10px; margin-bottom: 14px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { margin: 0; }
.widget li a { display: block; padding: 9px 2px; border-bottom: 1px dashed var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.widget li a:hover { color: var(--brand-red); text-decoration: none; }
.widget .btn { width: 100%; }
.widget-cta { background: linear-gradient(160deg, #1d212b, #14161f); border-color: var(--line-dark); text-align: center; }
.widget-cta .widget-title { color: var(--brand-gold); border-left-color: var(--brand-gold); }
.widget-cta p { color: #9aa1b2; font-size: 13.5px; }

/* =Listing pages ============ */
.list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.list-card { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.list-card img { width: 132px; height: 100px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.list-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.list-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.list-card .date { font-size: 12px; color: var(--muted); font-weight: 600; }
.promo-hero { border-radius: var(--radius); overflow: hidden; position: relative; margin-bottom: 26px; }
.promo-hero img { width: 100%; max-height: 340px; object-fit: cover; }
.promo-hero .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,25,.15), rgba(16,18,25,.78)); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.promo-hero h1 { color: #fff; margin: 0; }
.promo-hero p { color: #dfe3ea; margin: 8px 0 0; font-size: 15px; }

/* =Auth pages ============ */
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 32px 30px; }
.auth-card h1 { margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fbfcfe; color: var(--text); outline: none;
}
.field input:focus, .field select:focus { border-color: var(--brand-gold); background: #fff; box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.18); }
.field-note { font-size: 12px; color: var(--muted); margin-top: 5px; }
.auth-alt { text-align: center; font-size: 14px; margin-top: 16px; color: var(--muted); }
.auth-legal { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; }
.auth-side img { border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-bottom: 18px; }
.auth-side h2 { font-size: 1.25rem; }
.auth-side ul { font-size: 14.5px; }

/* =Search page ============ */
.search-hero { background: linear-gradient(180deg, #14161f, #191d27); padding: 46px 0; }
.search-hero h1 { color: #fff; }
.search-big { display: flex; max-width: 640px; margin: 18px auto 0; }
.search-big input {
  flex: 1; min-width: 0; padding: 14px 18px; border: 2px solid var(--line-dark); border-radius: 12px 0 0 12px;
  font-size: 16px; font-family: inherit; background: #20242f; color: #e7eaf1; outline: none;
}
.search-big input:focus { border-color: var(--brand-gold); }
.search-big button { border: 0; padding: 14px 26px; background: linear-gradient(180deg, #ffe08a, var(--brand-gold)); color: #3d2c05; font-weight: 800; border-radius: 0 12px 12px 0; cursor: pointer; font-size: 15px; font-family: inherit; }
#result-summary { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 3px 8px rgba(16,18,25,.04); }
.result-list a { font-weight: 800; font-size: 15.5px; }
.result-list .r-url { display: block; font-size: 12.5px; color: var(--brand-green); margin: 2px 0 4px; font-weight: 700; }
.result-list p { font-size: 13.5px; color: var(--muted); margin: 0; }
mark { background: var(--brand-gold-soft); padding: 0 3px; border-radius: 3px; }

/* =Footer (template-parts/footer) ============ */
.site-footer { background: linear-gradient(180deg, #14161f, #101218); color: #9aa1b2; margin-top: 0; }
.footer-widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding: 48px 0 34px; }
.footer-widgets h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-widgets ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets li a { color: #9aa1b2; font-size: 14px; display: inline-block; padding: 4px 0; }
.footer-widgets li a:hover { color: var(--brand-gold); text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-about { font-size: 13.5px; line-height: 1.7; }
.footer-18 { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; border: 1px solid rgba(210, 16, 52, 0.5); background: rgba(210, 16, 52, 0.1); color: #ff8fa5; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.site-footer .tag-cloud a { background: #1d212b; border-color: #343a48; color: #c6cbd6; font-size: 12.5px; }
.site-footer .tag-cloud a:hover { border-color: var(--brand-gold); color: #ffe08a; background: #262b38; }
.footer-legal { border-top: 1px solid var(--line-dark); padding: 22px 0 26px; font-size: 12.5px; }
.footer-legal p { margin: 0 0 8px; color: #7c8294; }
.footer-legal .fine { color: #61677a; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-dark); padding: 16px 0; font-size: 13px; color: #7c8294; }
.footer-bottom a { color: #9aa1b2; }
.footer-bottom a:hover { color: var(--brand-gold); }
.footer-payment { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-payment span { font-size: 11.5px; font-weight: 800; background: #1d212b; border: 1px solid #343a48; color: #aab0bf; padding: 4px 10px; border-radius: 7px; }

/* =Floating CTA (slot machine) ============ */
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 1100; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.float-cta:hover { text-decoration: none; }
.cta-machine {
  display: flex; align-items: center; gap: 8px; position: relative;
  background: linear-gradient(180deg, #2b111c, #170a11 60%, #1d0c14);
  border: 2px solid var(--brand-gold); border-radius: 16px; padding: 9px 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cta-machine::before {
  content: ""; position: absolute; inset: -2px; border-radius: 16px; border: 2px solid rgba(247, 201, 72, 0);
  animation: ctaPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes ctaPulse {
  0% { border-color: rgba(247, 201, 72, 0.8); transform: scale(1); }
  70% { border-color: rgba(247, 201, 72, 0); transform: scale(1.12); }
  100% { border-color: rgba(247, 201, 72, 0); transform: scale(1.12); }
}
.reel {
  width: 26px; height: 34px; border-radius: 7px; overflow: hidden; flex-shrink: 0; position: relative;
  background: linear-gradient(180deg, #fffdf4 8%, #ffe9b0 50%, #f7d979 92%);
  border: 1.5px solid #c99b1a; box-shadow: inset 0 -6px 10px rgba(154, 108, 6, 0.35), inset 0 5px 8px rgba(255, 255, 255, 0.8);
  display: flex; align-items: center; justify-content: center;
}
.reel span { font-weight: 900; font-size: 17px; color: #b3121f; line-height: 1; }
.reel.mid span { color: #0d7d55; }
.cta-text { display: flex; flex-direction: column; line-height: 1.05; }
.cta-text strong { color: var(--brand-gold); font-size: 17px; font-weight: 900; letter-spacing: 0.6px; }
.cta-text small { color: #d8b96a; font-size: 9.5px; font-weight: 700; letter-spacing: 1.1px; }
.cta-coin { position: absolute; width: 12px; height: 12px; border-radius: 50%; pointer-events: none; left: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c9, #f7c948 55%, #b98a12);
  box-shadow: 0 0 8px rgba(247, 201, 72, 0.8); }
.cta-coin.c1 { animation: coinUp 2.2s ease-in infinite; animation-delay: 0.2s; }
.cta-coin.c2 { animation: coinUp 2.2s ease-in infinite; animation-delay: 0.8s; --dx: -26px; }
.cta-coin.c3 { animation: coinUp 2.2s ease-in infinite; animation-delay: 1.4s; --dx: 26px; }
@keyframes coinUp {
  0% { transform: translate(-50%, 6px) scale(0.5); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx, 8px)), -46px) scale(1); opacity: 0; }
}
.cta-sub { margin-top: 5px; font-size: 9.5px; color: #d8b96a; font-weight: 700; letter-spacing: 0.4px; text-align: center; }

/* =Reveal on scroll (progressive) ============ */
.reveal { opacity: 1; }
@media (min-width: 900px) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* =Responsive ============ */
@media (max-width: 1020px) {
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .layout-single { grid-template-columns: 1fr; }
  .widget-area { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
  .widget { margin-bottom: 0; }
}
@media (max-width: 960px) {
  .header-search { display: none; }
  .nav-toggle { display: block; order: 3; margin-left: auto; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #14161f; border-bottom: 2px solid var(--brand-gold); box-shadow: var(--shadow-lg); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; padding: 10px 18px 16px; gap: 2px; }
  .main-navigation a { padding: 12px 10px; font-size: 15px; }
  .header-actions { margin-left: auto; }
  .nav-toggle.is-open + .main-navigation, .site-header .main-navigation.is-open { display: block; }
  .hero-grid, .split, .auth-layout { grid-template-columns: 1fr; }
  .hero { padding: 42px 0 48px; }
  .badge-18 { width: 56px; height: 56px; font-size: 17px; top: -14px; right: 6px; }
  .split img { order: -1; }
}
@media (max-width: 620px) {
  .section { padding: 42px 0; }
  .entry-header, .entry-content, .entry-footer { padding-left: 18px; padding-right: 18px; }
  .entry-thumb { margin: 16px 18px 0; }
  .auth-card { padding: 24px 18px; }
  .footer-widgets { grid-template-columns: 1fr; gap: 24px; }
  .list-card { flex-direction: column; }
  .list-card img { width: 100%; height: 150px; }
  .hero-ctas .btn { width: 100%; }
  .float-cta { right: 10px; bottom: 10px; }
  .cta-machine { padding: 7px 11px; border-radius: 14px; }
  .reel { width: 21px; height: 28px; }
  .reel span { font-size: 14px; }
  .cta-text strong { font-size: 15px; }
  .cta-text small { font-size: 8.5px; }
  .header-actions .btn-outline { display: none; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 18px; }
  .header-actions .btn { padding: 8px 13px; font-size: 13px; }
  .float-cta { right: 6px; }
}

/* =Reduced motion / print ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
