/* ============================================================
   Angel4d — angel4d.games
   Casino-information portal style: red / white / green / gold / blue / black
   ============================================================ */
:root {
  --red: #D2103E;
  --red-dark: #A30B2E;
  --red-soft: #FDEEF2;
  --gold: #F5B301;
  --gold-light: #FFD34D;
  --gold-soft: #FFF7E0;
  --green: #0E8A4A;
  --green-soft: #EAF7F0;
  --blue: #1F5C8B;
  --blue-soft: #EAF1F8;
  --ink: #191D2B;
  --muted: #5A6272;
  --line: #E4E7EF;
  --dark: #141827;
  --dark-2: #1C2133;
  --paper: #FFFFFF;
  --soft: #F6F7FB;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 39, .10);
  --shadow-sm: 0 4px 14px rgba(20, 24, 39, .08);
  --wid: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
.container { width: 100%; max-width: var(--wid); margin: 0 auto; padding: 0 20px; }
.screen-reader {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .95rem; line-height: 1; padding: 13px 22px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #241A00; box-shadow: 0 6px 18px rgba(245, 179, 1, .35); }
.btn-gold:hover { box-shadow: 0 8px 22px rgba(245, 179, 1, .45); }
.btn-red { background: linear-gradient(180deg, #E8365D, var(--red)); color: #fff; box-shadow: 0 6px 18px rgba(210, 16, 62, .30); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { background: #fff; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red-soft); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(20, 24, 39, .97);
  border-bottom: 1px solid rgba(245, 179, 1, .25);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: .3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand .brand-tld { color: var(--gold); font-size: .8rem; font-weight: 700; align-self: flex-start; margin-top: 2px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #E8EAF2; font-weight: 600; font-size: .93rem; padding: 9px 13px; border-radius: 8px;
}
.main-nav a:hover { color: var(--gold-light); background: rgba(255, 255, 255, .06); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.icon-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
}
.icon-search:hover { background: rgba(255, 255, 255, .16); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: #fff;
  position: absolute; left: 10px; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(20, 24, 39, .96) 0%, rgba(38, 20, 34, .88) 45%, rgba(20, 24, 39, .82) 100%),
    url("/assets/img/hero.webp") center 30% / cover no-repeat;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 64px 0 58px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-light);
  background: rgba(245, 179, 1, .12); border: 1px solid rgba(245, 179, 1, .4);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.18; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { margin: 16px 0 24px; color: #D9DDEA; font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { font-size: .82rem; color: #A9AFC2; max-width: 540px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600;
  color: #E8EAF2; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  padding: 6px 12px; border-radius: 999px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
/* hero search */
.hero-search { margin-top: 26px; }
.search-form { display: flex; max-width: 520px; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.search-form input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 10px 16px; font-size: .95rem; color: var(--ink); font-family: var(--font);
}
.search-form input::placeholder { color: #9AA1B2; }
.search-form .btn { padding: 11px 20px; }
.hot-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.hot-tags .tag-label { font-size: .78rem; color: #A9AFC2; font-weight: 600; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 600; color: #FDEDC4;
  background: rgba(245, 179, 1, .14); border: 1px solid rgba(245, 179, 1, .35);
  padding: 5px 12px; border-radius: 999px;
}
.tag:hover { background: rgba(245, 179, 1, .28); text-decoration: none; color: #fff; }
/* hero visual card */
.hero-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px; padding: 22px; backdrop-filter: blur(6px);
}
.hero-card img { border-radius: 14px; margin-bottom: 16px; }
.hero-card ul { list-style: none; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #E4E7F0; }
.hero-card li::before { content: "✔"; color: var(--gold); font-weight: 800; margin-top: 1px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.soft { background: var(--soft); }
.section.head-only { padding-bottom: 24px; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-kicker.red { color: var(--red); }
.section-kicker.gold { color: #A97B00; }
.section-kicker.green { color: var(--green); }
.section-kicker.blue { color: var(--blue); }
.section h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.25; font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 10px; }
.section-more { margin-top: 26px; text-align: center; }

/* ---------- Promo cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.promo-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-chip {
  position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .6px;
  text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 11px; border-radius: 999px;
}
.promo-chip.gold { background: #A97B00; }
.promo-chip.green { background: var(--green); }
.promo-chip.blue { background: var(--blue); }
.promo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.promo-body p { font-size: .9rem; color: var(--muted); flex: 1; }
.promo-mini-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-mini-terms span {
  font-size: .72rem; font-weight: 700; color: var(--blue);
  background: var(--blue-soft); border-radius: 6px; padding: 4px 9px;
}
.promo-card .link-cta { font-weight: 700; font-size: .9rem; }

/* ---------- Feature cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow-sm);
}
.feature-card .f-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 14px;
}
.f-icon.red { background: var(--red-soft); }
.f-icon.gold { background: var(--gold-soft); }
.f-icon.green { background: var(--green-soft); }
.f-icon.blue { background: var(--blue-soft); }
.feature-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--muted); }

/* ---------- Split (mobile experience) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .img-wrap { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.split .img-wrap img { width: 100%; object-fit: cover; }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--green); font-weight: 800; font-size: .85rem; margin-top: 2px;
}
.check-list b { display: block; font-size: .97rem; }
.check-list span { color: var(--muted); font-size: .88rem; }

/* ---------- Testimonials ---------- */
.testi-note {
  display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 18px;
  font-size: .8rem; color: var(--muted); text-align: left;
}
.testi-note .warn { color: #A97B00; font-weight: 800; font-size: 1rem; }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.testi-card .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.testi-card blockquote { font-size: .93rem; color: var(--ink); font-style: italic; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-who .ava {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: .95rem;
}
.ava.red { background: var(--red); } .ava.blue { background: var(--blue); } .ava.green { background: var(--green); }
.testi-who b { font-size: .92rem; display: block; }
.testi-who span { font-size: .78rem; color: var(--muted); }

/* ---------- Glossary ---------- */
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.term-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 16px 18px;
}
.term-card:nth-child(2n) { border-left-color: var(--red); }
.term-card:nth-child(3n) { border-left-color: var(--green); }
.term-card b { font-size: .95rem; }
.term-card p { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Security strip ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sec-card h3 { font-size: 1rem; font-weight: 800; margin: 12px 0 6px; }
.sec-card p { font-size: .87rem; color: var(--muted); }
.sec-card .f-icon { margin-bottom: 0; }

/* ---------- Article (home) ---------- */
.article-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; }
.article-fig { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.article-fig figcaption { font-size: .78rem; color: var(--muted); padding: 8px 2px 0; }
.prose { max-width: 800px; }
.prose h2 { font-size: 1.45rem; margin: 30px 0 12px; }
.prose h3 { font-size: 1.12rem; margin: 22px 0 10px; }
.prose p { margin: 0 0 14px; color: #2A303F; }
.prose ul, .prose ol { margin: 0 0 16px; color: #2A303F; }
.prose li { margin-bottom: 8px; }
.callout {
  border-left: 4px solid var(--gold); background: var(--gold-soft);
  border-radius: 10px; padding: 16px 18px; margin: 18px 0; font-size: .92rem;
}
.callout.green { border-left-color: var(--green); background: var(--green-soft); }
.callout.red { border-left-color: var(--red); background: var(--red-soft); }
.callout.blue { border-left-color: var(--blue); background: var(--blue-soft); }
.callout b { display: block; margin-bottom: 4px; }

/* ---------- VIP / promo reading checklist ---------- */
.vip-box {
  background: linear-gradient(135deg, #1E2338, #2A1C33); color: #E9EBF4;
  border-radius: var(--radius); padding: 28px; margin-top: 34px;
}
.vip-box h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 12px; }
.vip-box p { font-size: .92rem; color: #C6CBDD; margin-bottom: 14px; }
.vip-box ul { list-style: none; display: grid; gap: 10px; }
.vip-box li { display: flex; gap: 10px; font-size: .9rem; }
.vip-box li::before { content: "◆"; color: var(--gold); font-size: .7rem; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
details.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: .98rem;
  padding: 15px 34px 15px 0; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-a { padding: 0 0 16px; color: var(--muted); font-size: .92rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-head { background: linear-gradient(120deg, #171B2E 0%, #241A31 100%); color: #fff; padding: 34px 0 30px; }
.page-head h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; font-weight: 800; max-width: 840px; }
.page-head .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; font-size: .82rem; color: #B9BFD2; }
.chip {
  font-size: .72rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  background: rgba(245, 179, 1, .15); color: var(--gold-light); border: 1px solid rgba(245, 179, 1, .4);
  padding: 4px 10px; border-radius: 999px;
}
.chip.green { background: rgba(14, 138, 74, .18); color: #7BE0AC; border-color: rgba(14, 138, 74, .5); }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); padding: 11px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: #A6ADBE; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Content page layout ---------- */
.page-body { padding: 44px 0 56px; }
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.post-fig { border-radius: 16px; overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow); }
.aside-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.aside-box h3 { font-size: .95rem; font-weight: 800; margin-bottom: 12px; }
.aside-box ul { list-style: none; display: grid; gap: 10px; }
.aside-box a { color: var(--ink); font-weight: 600; font-size: .9rem; display: block; }
.aside-box a:hover { color: var(--red); }
.aside-cta { background: linear-gradient(135deg, #1E2338, #2A1C33); color: #fff; }
.aside-cta h3 { color: var(--gold); }
.aside-cta p { font-size: .85rem; color: #C6CBDD; margin-bottom: 14px; }

/* ---------- Terms table (promos) ---------- */
.terms-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .92rem; }
.terms-table caption { text-align: left; font-weight: 800; padding: 14px 16px; background: var(--soft); border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; }
.terms-table th, .terms-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms-table th { width: 220px; background: #FAFBFE; color: var(--ink); }
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }

/* ---------- Related articles ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .16s ease;
}
.related-card:hover { transform: translateY(-3px); }
.related-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.related-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card .body { padding: 16px 18px; }
.related-card .cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--red); }
.related-card h3 { font-size: .98rem; line-height: 1.4; margin: 6px 0 0; }
.related-card h3 a { color: var(--ink); }
.related-card h3 a:hover { color: var(--red); text-decoration: none; }

/* ---------- Auth pages ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px 0 64px; }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 30px; box-shadow: var(--shadow); max-width: 470px; width: 100%; margin: 0 auto;
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"] {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: .95rem; font-family: var(--font); color: var(--ink); background: #FCFCFE; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, .18); }
.field .hint { font-size: .76rem; color: var(--muted); margin-top: 5px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 4px 0 18px; }
.check-line input { margin-top: 3px; accent-color: var(--red); }
.auth-note {
  display: flex; gap: 10px; background: var(--blue-soft); border: 1px solid #CBDFF2;
  border-radius: 10px; padding: 12px 14px; font-size: .8rem; color: #2E4B66; margin-top: 18px;
}
.auth-alt { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 18px; }
.auth-side h2 { font-size: 1.5rem; margin-bottom: 12px; }
.auth-side p { color: var(--muted); margin-bottom: 14px; font-size: .95rem; }

/* ---------- Search page ---------- */
.searchbar-big { display: flex; max-width: 680px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
.searchbar-big input { flex: 1; min-width: 0; border: 0; outline: none; padding: 10px 18px; font-size: 1rem; font-family: var(--font); }
.search-result-list { display: grid; gap: 14px; margin-top: 26px; }
.result-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.result-item .cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--red); letter-spacing: .6px; }
.result-item h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.result-item p { font-size: .88rem; color: var(--muted); }
.search-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  font-size: .84rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm);
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--red); text-decoration: none; }
.tag-cloud a.hot { background: var(--red-soft); border-color: #F3C2CE; color: var(--red-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 300px at 15% 120%, rgba(245, 179, 1, .18), transparent 60%),
    linear-gradient(120deg, #1B2033, #2B1C33);
  color: #fff; border-radius: 20px; padding: 38px 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: space-between;
}
.cta-band h2 { font-size: 1.4rem; }
.cta-band p { color: #C9CEDF; font-size: .92rem; margin-top: 6px; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #B7BDCD; margin-top: 0; padding: 52px 0 118px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer p { font-size: .85rem; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #B7BDCD; font-size: .86rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-legal {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; gap: 14px;
}
.badges-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  border-radius: 50%; border: 2px solid var(--red); color: #FF7A97; font-weight: 800; font-size: .8rem;
}
.badge-rg { font-size: .76rem; font-weight: 700; color: #9FE8C0; border: 1.5px solid rgba(14, 138, 74, .6); padding: 6px 12px; border-radius: 999px; }
.badge-info { font-size: .76rem; font-weight: 700; color: #FFD98A; border: 1.5px solid rgba(245, 179, 1, .55); padding: 6px 12px; border-radius: 999px; }
.footer-legal p { font-size: .78rem; color: #8D93A6; line-height: 1.6; }

/* ---------- Floating slot widget ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: linear-gradient(90deg, #171B2E 0%, #2A1630 55%, #3A1524 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -10px 34px rgba(10, 12, 22, .45);
}
.float-inner { display: flex; align-items: center; gap: 18px; padding: 9px 0; min-height: 58px; }
.slot-machine { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.reel {
  width: 34px; height: 34px; border-radius: 8px; overflow: hidden; position: relative;
  background: #fff; border: 2px solid var(--gold); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .25);
}
.reel .strip {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; flex-direction: column; align-items: center;
  animation: reelspin 2.6s linear infinite;
}
.reel .strip span { height: 34px; display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1; }
.reel:nth-child(2) .strip { animation-duration: 2.9s; }
.reel:nth-child(3) .strip { animation-duration: 2.3s; }
@keyframes reelspin {
  from { transform: translateY(0); }
  to { transform: translateY(-80%); }
}
.coins { display: flex; gap: 4px; flex: 0 0 auto; }
.coin {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE082, var(--gold) 60%, #B97E00);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  animation: coinpop 1.8s ease-in-out infinite;
}
.coin:nth-child(2) { animation-delay: .25s; }
.coin:nth-child(3) { animation-delay: .5s; }
@keyframes coinpop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.float-copy { min-width: 0; flex: 1; }
.float-copy b { display: block; color: #fff; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-copy span { display: block; color: #C9A94E; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.float-actions .btn { padding: 11px 22px; font-size: .88rem; min-width: 104px; min-height: 44px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .layout-2col { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav-toggle { display: block; order: 3; margin-left: 4px; }
  .header-cta { order: 2; }
  .header-cta .btn-ghost { display: none; }
  .main-nav {
    order: 4; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--dark-2); border-bottom: 2px solid var(--gold);
    padding: 10px 16px 16px; display: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .4);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .header-inner { position: relative; flex-wrap: wrap; }
  .hero-inner { grid-template-columns: 1fr; padding: 46px 0 44px; }
  .hero-card { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .auth-wrap { grid-template-columns: 1fr; padding: 36px 0 48px; }
  .sec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .grid-cards, .grid-4, .related-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 28px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .terms-table th, .terms-table td { padding: 10px 12px; font-size: .85rem; }
  .terms-table th { width: 130px; }
  .float-inner { gap: 10px; }
  .coins { display: none; }
  .float-copy b { font-size: .84rem; }
  .float-copy span { font-size: .66rem; }
  .float-actions .btn { padding: 10px 16px; font-size: .8rem; }
  .reel { width: 28px; height: 28px; }
  .reel .strip span { height: 28px; font-size: 15px; }
  .auth-card { padding: 26px 20px; }
  .site-footer { padding-bottom: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel .strip, .coin { animation: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .float-cta, .site-header, .hero-search { display: none; }
}


/* ---------- Focus & scroll affordances ---------- */
a:focus-visible, .btn:focus-visible, summary:focus-visible,
input:focus-visible, .icon-search:focus-visible {
  outline: 3px solid rgba(245, 179, 1, .7);
  outline-offset: 2px;
  border-radius: 8px;
}
.field, .btn, details.faq, .auth-card, .aside-cta { scroll-margin-bottom: 96px; }
@media (max-width: 639px) {
  .float-actions .btn { min-width: 88px; min-height: 42px; }
  .float-inner { min-height: 54px; }
}
