/* ==========================================================================
   Net77 — net77.games | Casino editorial theme
   Palette: black base, red primary, gold accent, green success, blue info
   ========================================================================== */

:root {
  --bg: #0a0d14;
  --bg-2: #0d1119;
  --bg-3: #10151f;
  --panel: #131926;
  --panel-2: #182031;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --white: #f4f7fb;
  --muted: #a8b2c3;
  --muted-2: #7d8798;
  --red: #e5263e;
  --red-2: #ff4d5e;
  --red-dark: #8f1023;
  --gold: #ffc233;
  --gold-2: #ffdd66;
  --gold-dark: #b8860b;
  --green: #19c37d;
  --green-2: #35e39a;
  --blue: #4489f8;
  --blue-2: #6fa8ff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.30);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background: var(--bg);
  overflow-wrap: break-word;
}

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

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }

ul, ol { padding-left: 1.3em; }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--gold); color: #1a1206; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 800;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-size: 0.95rem; font-weight: 800; line-height: 1.2;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

.btn--primary {
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: #fff; box-shadow: 0 10px 26px rgba(229, 38, 62, 0.42);
}
.btn--primary:hover { filter: brightness(1.08); color: #fff; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a04; box-shadow: 0 10px 26px rgba(255, 194, 51, 0.35);
}
.btn--gold:hover { filter: brightness(1.06); color: #241a04; }

.btn--green {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: #04170e; box-shadow: 0 10px 26px rgba(25, 195, 125, 0.32);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }

.btn--sm { padding: 9px 18px; font-size: 0.86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Header / navigation (WP: site-header, main-navigation)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.28rem; font-weight: 800; letter-spacing: 0.04em; }
.brand-name em { font-style: normal; color: var(--gold); }
.brand-tag { font-size: 0.62rem; font-weight: 600; color: var(--muted-2); letter-spacing: 0.16em; text-transform: uppercase; }

.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-navigation a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--muted); font-size: 0.92rem; font-weight: 700;
}
.main-navigation a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.main-navigation a.current-menu-item,
.main-navigation a[aria-current="page"] { color: var(--gold); background: rgba(255, 194, 51, 0.10); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); padding: 14px 20px 20px;
  background: rgba(10, 13, 20, 0.98);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.mobile-nav a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-weight: 700; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--gold); background: rgba(255, 194, 51, 0.08); }
.mobile-nav .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(229, 38, 62, 0.30), transparent 60%),
    radial-gradient(760px 420px at 95% 8%, rgba(255, 194, 51, 0.14), transparent 60%),
    radial-gradient(700px 520px at 55% 115%, rgba(68, 137, 248, 0.14), transparent 62%),
    linear-gradient(180deg, #0d1017 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 420px at 30% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 420px at 30% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; padding: 58px 0 48px; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(229, 38, 62, 0.16); border: 1px solid rgba(229, 38, 62, 0.45);
  color: #ffb3bc; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 7px 14px; border-radius: 999px; text-transform: uppercase;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 10px var(--red-2); }
.hero h1 {
  margin: 18px 0 14px; font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.05rem);
  line-height: 1.16; font-weight: 800; letter-spacing: -0.015em;
}
.hero h1 .hl-red { color: var(--red-2); }
.hero h1 .hl-gold { color: var(--gold); }
.hero-lead { margin: 0 0 22px; color: var(--muted); font-size: 1.04rem; max-width: 34em; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--muted);
}
.trust-chip.age { border-color: rgba(255, 194, 51, 0.5); color: var(--gold-2); background: rgba(255, 194, 51, 0.08); }
.trust-chip .ico { font-size: 0.95rem; }

/* Hero media card */
.hero-media { position: relative; }
.hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10, 13, 20, 0) 40%, rgba(10, 13, 20, 0.55) 100%);
}
.hero-badge {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(10, 13, 20, 0.82); border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  padding: 10px 16px; border-radius: 14px; font-size: 0.85rem; font-weight: 700;
}
.hero-badge .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 12px var(--green-2); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Search panel */
.hero-search {
  position: relative; margin-top: 30px;
  background: rgba(13, 17, 25, 0.9); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm);
}
.search-form { display: flex; gap: 10px; }
.search-form input {
  flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--white);
  font-family: var(--font); font-size: 0.95rem;
}
.search-form input::placeholder { color: var(--muted-2); }
.search-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.hot-label { margin: 14px 0 8px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.8rem; font-weight: 700; transition: all 0.15s ease;
}
.tag:hover { color: var(--gold-2); border-color: rgba(255, 194, 51, 0.5); background: rgba(255, 194, 51, 0.07); transform: translateY(-1px); }
.tag--hot { border-color: rgba(229, 38, 62, 0.5); color: #ffb3bc; background: rgba(229, 38, 62, 0.08); }
.tag--hot:hover { color: #ff8394; border-color: var(--red-2); background: rgba(229, 38, 62, 0.14); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 62px 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint-red { background:
  radial-gradient(680px 300px at 85% 0%, rgba(229, 38, 62, 0.10), transparent 65%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint-green { background:
  radial-gradient(680px 320px at 10% 100%, rgba(25, 195, 125, 0.12), transparent 65%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint-blue { background:
  radial-gradient(680px 320px at 90% 20%, rgba(68, 137, 248, 0.12), transparent 65%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 44px 0; }

.sec-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.kicker--red { color: #ffb3bc; background: rgba(229, 38, 62, 0.12); border: 1px solid rgba(229, 38, 62, 0.4); }
.kicker--gold { color: var(--gold-2); background: rgba(255, 194, 51, 0.10); border: 1px solid rgba(255, 194, 51, 0.4); }
.kicker--green { color: var(--green-2); background: rgba(25, 195, 125, 0.10); border: 1px solid rgba(25, 195, 125, 0.4); }
.kicker--blue { color: var(--blue-2); background: rgba(68, 137, 248, 0.10); border: 1px solid rgba(68, 137, 248, 0.4); }
.sec-head h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.22; font-weight: 800; letter-spacing: -0.01em; }
.sec-head .lead { margin: 0; color: var(--muted); font-size: 1rem; }

/* Cards */
.grid { display: grid; gap: 20px; }
.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: linear-gradient(180deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }

/* Steps */
.step-card { position: relative; padding-top: 30px; overflow: hidden; }
.step-num {
  position: absolute; top: -12px; right: -6px; font-size: 4.6rem; font-weight: 800;
  color: rgba(255, 255, 255, 0.05); line-height: 1; user-select: none;
}
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; font-size: 1.2rem; font-weight: 800;
  margin-bottom: 14px; color: #fff;
}
.step-badge--1 { background: linear-gradient(160deg, var(--red-2), var(--red)); box-shadow: 0 8px 18px rgba(229, 38, 62, 0.35); }
.step-badge--2 { background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: #241a04; box-shadow: 0 8px 18px rgba(255, 194, 51, 0.28); }
.step-badge--3 { background: linear-gradient(160deg, var(--green-2), var(--green)); color: #04170e; box-shadow: 0 8px 18px rgba(25, 195, 125, 0.28); }
.step-badge--4 { background: linear-gradient(160deg, var(--blue-2), var(--blue)); box-shadow: 0 8px 18px rgba(68, 137, 248, 0.3); }
.step-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Promo cards */
.promo-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.promo-media { position: relative; }
.promo-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-ribbon {
  position: absolute; top: 14px; left: 14px;
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 8px; box-shadow: 0 6px 16px rgba(229, 38, 62, 0.4);
}
.promo-body { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.promo-body h3 { margin: 0; font-size: 1.12rem; font-weight: 800; }
.promo-body p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--muted);
}
.chip--gold { color: var(--gold-2); border-color: rgba(255, 194, 51, 0.4); background: rgba(255, 194, 51, 0.07); }
.chip--green { color: var(--green-2); border-color: rgba(25, 195, 125, 0.4); background: rgba(25, 195, 125, 0.07); }
.chip--blue { color: var(--blue-2); border-color: rgba(68, 137, 248, 0.4); background: rgba(68, 137, 248, 0.07); }
.promo-note { font-size: 0.74rem; color: var(--muted-2); }

/* Feature cards */
.feature-card { text-align: left; }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 15px; font-size: 1.45rem;
  margin-bottom: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2);
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.89rem; }

/* Split (mobile section / reading guide) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.94rem; }
.check-list .tick {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 8px; margin-top: 2px;
  background: rgba(25, 195, 125, 0.14); color: var(--green-2); font-size: 0.8rem; font-weight: 800;
}

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 14px; }
.quote-text { color: var(--muted); font-size: 0.92rem; flex: 1; margin: 0; }
.quote-text::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: 0.6; color: var(--gold); margin-bottom: 10px; font-weight: 800; }
.quote-user { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 0.92rem; color: #fff;
  flex-shrink: 0;
}
.avatar--red { background: linear-gradient(160deg, var(--red-2), var(--red)); }
.avatar--gold { background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: #241a04; }
.avatar--green { background: linear-gradient(160deg, var(--green-2), var(--green)); color: #04170e; }
.avatar--blue { background: linear-gradient(160deg, var(--blue-2), var(--blue)); }
.quote-name { font-weight: 800; font-size: 0.9rem; }
.quote-meta { font-size: 0.76rem; color: var(--muted-2); }
.stars { color: var(--gold); font-size: 0.82rem; letter-spacing: 2px; }

/* Glossary (Net77 Kamus) */
.gloss-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-bottom: 26px; }
.gloss-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.gloss-search input {
  width: 100%; padding: 12px 18px 12px 42px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--white);
  font-family: var(--font); font-size: 0.92rem;
}
.gloss-search input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.gloss-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.gloss-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gloss-tab {
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  color: var(--muted); font-family: var(--font); font-size: 0.82rem; font-weight: 700;
}
.gloss-tab:hover { color: var(--white); border-color: var(--line-2); }
.gloss-tab.is-active { background: rgba(255, 194, 51, 0.12); border-color: rgba(255, 194, 51, 0.55); color: var(--gold-2); }
.gloss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gloss-item { padding: 18px; border-radius: var(--radius-sm); }
.gloss-item[hidden] { display: none; }
.gloss-item dt { font-weight: 800; font-size: 0.94rem; color: var(--gold-2); margin-bottom: 6px; }
.gloss-item dd { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
.gloss-empty { text-align: center; color: var(--muted-2); padding: 30px 0; display: none; }
.gloss-footnote { text-align: center; color: var(--muted-2); font-size: 0.8rem; margin-top: 18px; }

/* Example calculation card */
.calc { background: rgba(255, 194, 51, 0.05); border: 1px solid rgba(255, 194, 51, 0.3); }
.calc h3 { color: var(--gold-2); }
.calc-line { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.calc-line:last-of-type { border-bottom: none; }
.calc-line strong { color: var(--gold-2); }
.calc-total { background: rgba(255, 194, 51, 0.1); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 800; margin-top: 8px; }

/* Responsible gaming */
.rg-wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center;
  background: linear-gradient(160deg, rgba(25, 195, 125, 0.09), rgba(10, 13, 20, 0) 45%), var(--panel);
  border: 1px solid rgba(25, 195, 125, 0.28); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; height: 92px; border-radius: 50%;
  border: 4px solid var(--gold); color: var(--gold); font-size: 1.6rem; font-weight: 800;
  box-shadow: 0 0 0 8px rgba(255, 194, 51, 0.08), 0 12px 30px rgba(255, 194, 51, 0.15);
}
.rg-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.rg-points li { display: flex; gap: 12px; color: var(--muted); font-size: 0.93rem; }
.rg-points .ico { flex-shrink: 0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(255, 194, 51, 0.4); }
.faq-item summary {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 0.97rem; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9px; font-size: 1.1rem; font-weight: 800;
  background: rgba(255, 194, 51, 0.12); color: var(--gold-2); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2013"; transform: rotate(180deg); }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; }
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(560px 260px at 50% -30%, rgba(255, 194, 51, 0.16), transparent 70%),
    linear-gradient(160deg, #1a0e12, #10151f 60%);
  border: 1px solid rgba(229, 38, 62, 0.35); border-radius: var(--radius-lg);
  padding: 44px 28px; box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2rem); font-weight: 800; }
.cta-band p { margin: 0 auto 24px; color: var(--muted); max-width: 46em; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Breadcrumbs (WP: breadcrumbs)
   ========================================================================== */
.breadcrumb { padding: 18px 0 4px; font-size: 0.82rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-2); }
.breadcrumb li + li::before { content: "\203A"; color: var(--muted-2); font-weight: 800; }
.breadcrumb a { color: var(--muted); font-weight: 700; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb [aria-current="page"] { color: var(--gold-2); font-weight: 700; }

/* ==========================================================================
   Inner pages / article (WP: entry-content)
   ========================================================================== */
.page-hero { padding: 34px 0 30px; border-bottom: 1px solid var(--line); background:
  radial-gradient(700px 300px at 15% 0%, rgba(229, 38, 62, 0.12), transparent 65%),
  radial-gradient(600px 280px at 95% 10%, rgba(255, 194, 51, 0.08), transparent 60%); }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(1.65rem, 1.2rem + 2vw, 2.5rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; max-width: 21em; }
.page-hero .desc { margin: 0 0 16px; color: var(--muted); max-width: 52em; font-size: 1rem; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted-2); }
.meta-row .avatar { width: 34px; height: 34px; font-size: 0.75rem; }
.meta-sep { opacity: 0.5; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; padding: 36px 0 56px; align-items: start; }
.prose { max-width: 800px; }
.entry-content { font-size: 1rem; color: #d5dbe7; }
.entry-content h2 { margin: 40px 0 14px; font-size: 1.45rem; font-weight: 800; color: var(--white); line-height: 1.3; padding-left: 14px; border-left: 4px solid var(--red); }
.entry-content h3 { margin: 28px 0 10px; font-size: 1.13rem; font-weight: 800; color: var(--white); }
.entry-content p { margin: 0 0 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; color: var(--muted); }
.entry-content li { margin-bottom: 8px; }
.entry-content li::marker { color: var(--gold); font-weight: 800; }
.entry-content strong { color: var(--white); }
.entry-content a { border-bottom: 1px dashed rgba(255, 221, 102, 0.4); }
.entry-content img { border-radius: var(--radius); border: 1px solid var(--line-2); margin: 8px 0 10px; }
.entry-content figcaption, .img-caption { font-size: 0.78rem; color: var(--muted-2); margin: 6px 0 18px; text-align: center; }
.entry-content blockquote {
  margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--gold);
  background: rgba(255, 194, 51, 0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted); font-style: italic;
}

.article-side { display: grid; gap: 18px; position: sticky; top: 92px; }
.side-card { background: linear-gradient(180deg, var(--panel), var(--bg-3)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { margin: 0 0 14px; font-size: 0.98rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-links a { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.88rem; font-weight: 600; line-height: 1.45; }
.side-links a:hover { color: var(--gold-2); }
.side-links .n { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(229, 38, 62, 0.14); color: #ffb3bc; font-size: 0.72rem; font-weight: 800; }
.side-tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* Note boxes */
.note-box { display: flex; gap: 12px; padding: 15px 18px; border-radius: var(--radius-sm); font-size: 0.88rem; margin: 18px 0; }
.note-box .ico { flex-shrink: 0; font-size: 1.05rem; }
.note-box--info { background: rgba(68, 137, 248, 0.09); border: 1px solid rgba(68, 137, 248, 0.35); color: #c4d9fd; }
.note-box--warn { background: rgba(229, 38, 62, 0.08); border: 1px solid rgba(229, 38, 62, 0.38); color: #ffd3d8; }
.note-box--gold { background: rgba(255, 194, 51, 0.07); border: 1px solid rgba(255, 194, 51, 0.35); color: #ffe9b3; }
.note-box p { margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 18px 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 520px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); color: var(--white); font-weight: 800; white-space: nowrap; }
td { color: var(--muted); }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Category cards on hubs */
.cat-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cat-media { position: relative; }
.cat-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s ease; }
.cat-card:hover .cat-media img { transform: scale(1.04); }
.cat-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-body h3 { margin: 0; font-size: 1.08rem; font-weight: 800; }
.cat-body h3 a { color: var(--white); }
.cat-body h3 a:hover { color: var(--gold-2); }
.cat-body p { margin: 0; color: var(--muted); font-size: 0.89rem; flex: 1; }
.cat-body .more { font-size: 0.85rem; font-weight: 800; }

/* ==========================================================================
   Forms (register / login)
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 36px; padding: 36px 0 60px; align-items: start; }
.form-card { background: linear-gradient(180deg, var(--panel), var(--bg-3)); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.form-card h1 { margin: 0 0 6px; font-size: 1.6rem; font-weight: 800; }
.form-card .sub { color: var(--muted); margin: 0 0 22px; font-size: 0.92rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 800; margin-bottom: 7px; color: var(--white); }
.field label .req { color: var(--red-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="search"] {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--white);
  font-family: var(--font); font-size: 0.95rem; min-width: 0;
}
.field input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field .hint { font-size: 0.76rem; color: var(--muted-2); margin-top: 6px; }
.field .err { font-size: 0.76rem; color: #ff8394; margin-top: 6px; display: none; }
.field.is-invalid .err { display: block; }
.field.is-invalid input { border-color: rgba(229, 38, 62, 0.65); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); margin: 4px 0 18px; }
.check-line input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.check-line a { color: var(--blue-2); }
.form-alt { text-align: center; font-size: 0.88rem; color: var(--muted); margin: 18px 0 0; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.78rem; color: var(--muted-2); margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.redirect-overlay {
  position: fixed; inset: 0; z-index: 2500; display: none;
  align-items: center; justify-content: center; flex-direction: column; gap: 18px;
  background: rgba(8, 10, 16, 0.94); text-align: center; padding: 24px;
}
.redirect-overlay.is-visible { display: flex; }
.spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid rgba(255, 194, 51, 0.2); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Search results page */
.result-card { display: flex; gap: 16px; align-items: flex-start; }
.result-rank { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 194, 51, 0.1); border: 1px solid rgba(255, 194, 51, 0.35); color: var(--gold-2); font-weight: 800; font-size: 0.85rem; }
.result-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.result-card p { margin: 0; color: var(--muted); font-size: 0.87rem; }
.result-card .url { display: block; font-size: 0.76rem; color: var(--green-2); margin-top: 8px; word-break: break-all; }
mark { background: rgba(255, 194, 51, 0.25); color: var(--gold-2); border-radius: 3px; padding: 0 3px; }

/* 404 */
.error-wrap { text-align: center; padding: 70px 0 80px; }
.error-code { font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem); font-weight: 800; line-height: 1;
  background: linear-gradient(160deg, var(--red-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Footer (WP: site-footer)
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 48px 0 34px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin: 14px 0 18px; max-width: 34em; }
.footer-badge-row { display: flex; flex-wrap: wrap; gap: 9px; }
.foot-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.foot-badge.age { border-color: rgba(255, 194, 51, 0.55); color: var(--gold-2); }
.site-footer h4 { margin: 0 0 16px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.site-footer h4::after { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; margin-top: 8px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.footer-links a:hover { color: var(--gold-2); }
.footer-legal { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.footer-legal p { margin: 0 0 10px; font-size: 0.76rem; color: var(--muted-2); line-height: 1.65; }
.footer-legal p:last-child { margin-bottom: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 16px 0; font-size: 0.78rem; color: var(--muted-2); }

/* ==========================================================================
   Floating CTA — slot machine style (register / login)
   ========================================================================== */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 1600; width: min(92vw, 430px);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
  animation: cta-float 3.2s ease-in-out infinite;
}
@keyframes cta-float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

.float-cta-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 20px; min-height: 62px; border-radius: 18px;
  background:
    linear-gradient(180deg, #2a0f16 0%, #46121d 55%, #5a1622 100%);
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 3px rgba(10, 13, 20, 0.85),
    0 0 24px rgba(255, 194, 51, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: cta-glow 2.4s ease-in-out infinite;
  overflow: hidden;
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(10, 13, 20, 0.85), 0 0 20px rgba(255, 194, 51, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
  50% { box-shadow: 0 0 0 3px rgba(10, 13, 20, 0.85), 0 0 38px rgba(255, 194, 51, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
}
.float-cta-btn:hover { filter: brightness(1.1); }
.float-cta-btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }

.cta-reels { display: flex; gap: 5px; flex-shrink: 0; }
.cta-reel {
  width: 30px; height: 34px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #101319, #1c222e);
  border: 1px solid rgba(255, 194, 51, 0.45);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}
.cta-reel-strip { display: flex; flex-direction: column; animation: reel-spin 1.15s linear infinite; }
.cta-reel--2 .cta-reel-strip { animation-duration: 0.9s; animation-delay: 0.2s; }
.cta-reel--3 .cta-reel-strip { animation-duration: 1.35s; animation-delay: 0.35s; }
@keyframes reel-spin { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.cta-reel-strip span { display: block; height: 34px; line-height: 34px; text-align: center; font-size: 1.05rem; }

.cta-text { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.cta-text .t1 {
  font-size: 1.06rem; font-weight: 800; letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff6d8, var(--gold) 60%, #d99a06);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.cta-text .t2 { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.3em; color: #ffb3bc; text-transform: uppercase; }

.cta-coin {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 16px; height: 16px;
  background: radial-gradient(circle at 32% 30%, #fff3c4 0%, var(--gold-2) 38%, #d99a06 78%, #8a5f03 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  opacity: 0;
}
.cta-coin::after { content: "$"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: #7a5402; }
.cta-coin--1 { left: 12%; animation: coin-up 2.2s ease-in infinite 0.2s; }
.cta-coin--2 { left: 30%; width: 12px; height: 12px; animation: coin-up 2.6s ease-in infinite 0.8s; }
.cta-coin--3 { left: 55%; animation: coin-up 2.4s ease-in infinite 1.4s; }
.cta-coin--4 { left: 72%; width: 13px; height: 13px; animation: coin-up 2.8s ease-in infinite 0.5s; }
.cta-coin--5 { left: 86%; animation: coin-up 2.1s ease-in infinite 1.1s; }
@keyframes coin-up {
  0% { transform: translateY(30px) scale(0.6) rotate(0deg); opacity: 0; }
  18% { opacity: 1; }
  60% { transform: translateY(-26px) scale(1) rotate(200deg); opacity: 1; }
  100% { transform: translateY(-64px) scale(0.55) rotate(340deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .float-cta, .float-cta-btn, .cta-reel-strip, .cta-coin, .hero-badge .pulse { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.eyebrow-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-navigation ul { gap: 0; }
  .main-navigation a { padding: 9px 9px; font-size: 0.86rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 992px) {
  .main-navigation, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .hero-media { max-width: 620px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .rg-wrap { grid-template-columns: 1fr; gap: 26px; }
  .gloss-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; grid-template-columns: 1fr; }
  .prose { min-width: 0; max-width: 100%; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 46px 0; }
  .hero-inner { padding: 34px 0 38px; }
  .hero h1 { font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.3rem); }
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; }
  .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .entry-content h2 { font-size: 1.28rem; }
  .cta-band { padding: 34px 20px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding-inline: 16px; }
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .gloss-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .float-cta { width: calc(100% - 20px); }
  .float-cta-btn { gap: 10px; padding: 8px 14px; min-height: 58px; border-radius: 16px; }
  .cta-reel { width: 26px; height: 30px; }
  .cta-reel-strip span { height: 30px; line-height: 30px; font-size: 0.95rem; }
  .cta-text .t1 { font-size: 0.98rem; }
  .cta-text .t2 { font-size: 0.56rem; letter-spacing: 0.22em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .form-card { padding: 22px 18px; }
  .breadcrumb { font-size: 0.76rem; }
  .rg-wrap { padding: 24px 18px; }
  .calc { padding: 18px 16px; }
  .card { padding: 20px 18px; }
}
