/* ==========================================================================
   123GO — Design System
   Space-carnival casino brand. Chunky sticker cards, glossy gold actions,
   cyan nebula depth. Mobile-first, SEO-friendly, zero dependencies.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Space depth */
  --space-950: #02091F;
  --space-900: #04102E;
  --space-800: #07204D;
  --space-700: #0A2E7A;
  --space-600: #0E3E9C;

  /* Cyan nebula */
  --cyan-600: #0E8FD1;
  --cyan-500: #1FA6E8;
  --cyan-400: #4BC3F2;
  --cyan-300: #86DDF7;
  --cyan-100: #D3F4FF;

  /* Carnival gold */
  --gold-700: #C97F00;
  --gold-600: #F0A500;
  --gold-500: #FFC42E;
  --gold-400: #FFD75E;
  --gold-200: #FFF0B8;

  /* Signals */
  --hot: #FF3B5C;
  --hot-dark: #C2143A;
  --orange: #FF7A1A;
  --green: #2FD07F;
  --violet: #8A5CF6;
  --sky: #38BDF8;

  /* Ink & surfaces */
  --ink: #08122B;
  --ink-soft: #16233F;
  --text: #EAF4FF;
  --text-dim: #9ce0f7;
  --card: rgba(9, 30, 74, 0.82);
  --card-solid: #0B2350;
  --line: rgba(120, 190, 255, 0.22);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
  --stroke: 2px solid var(--ink);

  /* Elevation */
  --shadow-1: 0 4px 14px rgba(2, 8, 26, 0.45);
  --shadow-2: 0 12px 30px rgba(2, 8, 26, 0.55);
  --shadow-gold: 0 8px 0 #B36C00, 0 14px 26px rgba(255, 160, 0, 0.35);
  --glow-cyan: 0 0 0 1px rgba(120, 220, 255, 0.35), 0 0 34px rgba(31, 166, 232, 0.45);

  /* Rhythm */
  --gap: 18px;
  --pad-page: 18px;
  --maxw: 1280px;
  --rail-w: 92px;
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--space-900);
  overflow-x: hidden;
}

/* Space backdrop: nebula wash + starfield + drifting planets */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(75, 195, 242, 0.42), transparent 62%),
    radial-gradient(900px 520px at 6% 4%, rgba(14, 62, 156, 0.75), transparent 60%),
    radial-gradient(700px 700px at 92% 82%, rgba(138, 92, 246, 0.28), transparent 65%),
    linear-gradient(178deg, #0A3FA8 0%, #0A2E7A 32%, #06183F 66%, #04102E 100%);
    background-image: url('../img/space-world-BGpr_p1k.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 28% 62%, #cfefff, transparent),
    radial-gradient(1.8px 1.8px at 44% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 61% 46%, #ffe9a8, transparent),
    radial-gradient(1.6px 1.6px at 76% 24%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 88% 68%, #cfefff, transparent),
    radial-gradient(1.4px 1.4px at 18% 86%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 52% 92%, #ffe9a8, transparent),
    radial-gradient(1.6px 1.6px at 68% 78%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 94% 8%, #fff, transparent);
  animation: twinkle 7s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.45; }
  to { opacity: 0.9; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-300); text-decoration: none; }
a:hover { color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--gold-500); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold-500);
  color: var(--ink);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, .font-display {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.14;
  margin: 0 0 0.5em;
  color: #fff;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.12rem, 2.1vw, 1.42rem); }
h4 { font-size: 1.04rem; }

/* Chunky sticker outline for hero headlines */
.stroke {
  text-shadow:
    -2px -2px 0 var(--ink), 2px -2px 0 var(--ink),
    -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
    0 6px 18px rgba(0, 0, 0, 0.45);
}

.gold-text {
  background: linear-gradient(180deg, #FFF6CF 6%, var(--gold-400) 46%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 0 rgba(8, 18, 43, 0.85));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 10px;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-dim);
  max-width: 68ch;
}

p { margin: 0 0 1em; }
.muted { color: var(--text-dim); }
.small { font-size: 0.86rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: linear-gradient(180deg, var(--gold-400), var(--gold-500) 52%, var(--gold-600));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  color: #6A3A00;
  background: var(--btn-bg);
  border: var(--stroke);
  border-radius: var(--r-pill);
  padding: 13px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  white-space: nowrap;
}

.btn:hover { color: #6A3A00; transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(8, 18, 43, 0.85); }

.btn--lg { font-size: 1.12rem; padding: 16px 32px; }
.btn--sm { font-size: 0.86rem; padding: 9px 16px; }

.btn--cyan {
  background: linear-gradient(180deg, var(--cyan-300), var(--cyan-500) 55%, var(--cyan-600));
  color: #04223A;
  box-shadow: 0 4px 0 rgba(8, 18, 43, 0.85), 0 10px 22px rgba(31, 166, 232, 0.35);
}
.btn--cyan:hover { color: #04223A; }

.btn--hot {
  background: linear-gradient(180deg, #FF8CA1, var(--hot) 55%, var(--hot-dark));
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 0 rgba(8, 18, 43, 0.85), 0 10px 22px rgba(255, 59, 92, 0.35);
}
.btn--hot:hover { color: #fff; }

.btn--ghost {
  background: rgba(8, 24, 58, 0.6);
  color: var(--text);
  border-color: rgba(140, 205, 255, 0.5);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { color: #fff; border-color: var(--cyan-300); }

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- 5. Chips, badges, ribbons ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: rgba(10, 40, 96, 0.72);
  border: 2px solid rgba(140, 205, 255, 0.3);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover { border-color: var(--cyan-300); color: #fff; }

.chip[aria-pressed="true"],
.chip.is-active {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border-color: var(--ink);
  color: #6A3A00;
  box-shadow: 0 3px 0 rgba(8, 18, 43, 0.8);
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}
.chip-row > * { flex: 0 0 auto; }
.chip-row::-webkit-scrollbar { height: 6px; }
.chip-row::-webkit-scrollbar-thumb { background: rgba(140, 205, 255, 0.35); border-radius: 99px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 2px solid rgba(8, 18, 43, 0.85);
  background: var(--cyan-500);
  color: #04223A;
}
.tag--hot { background: linear-gradient(180deg, #FF7189, var(--hot)); color: #fff; }
.tag--gold { background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); color: #6A3A00; }
.tag--green { background: linear-gradient(180deg, #6FE7AA, var(--green)); color: #06301C; }
.tag--violet { background: linear-gradient(180deg, #B79BFF, var(--violet)); color: #1B0B4A; }

.ribbon {
  position: absolute;
  top: 8px;
  right: -6px;
  z-index: 3;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px 4px 12px;
  background: linear-gradient(180deg, #FF7189, var(--hot) 60%, var(--hot-dark));
  border: 2px solid var(--ink);
  border-radius: 6px 0 0 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.ribbon::after {
  content: "";
  position: absolute;
  right: 0; bottom: -8px;
  border-left: 6px solid var(--hot-dark);
  border-right: 6px solid transparent;
  border-top: 6px solid var(--hot-dark);
  border-bottom: 6px solid transparent;
}
.ribbon--gold { background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); color: #6A3A00; text-shadow: none; }
.ribbon--gold::after { border-left-color: var(--gold-700); border-top-color: var(--gold-700); }
.ribbon--cyan { background: linear-gradient(180deg, var(--cyan-300), var(--cyan-600)); color: #04223A; text-shadow: none; }
.ribbon--cyan::after { border-left-color: var(--cyan-600); border-top-color: var(--cyan-600); }

.pill-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(4, 16, 46, 0.72);
  border: 2px solid rgba(8, 18, 43, 0.9);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  backdrop-filter: blur(3px);
}

/* ---------- 6. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-page);
}

.layout {
  display: block;
}

@media (min-width: 1080px) {
  .layout { padding-left: calc(var(--rail-w) + 18px);}
  .wrap { padding: 0 26px; }
}

.section { margin: 46px 0; }
.section--tight { margin: 26px 0; }

.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.sec-head h2 { margin: 0; }
.sec-head .sec-icon {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border: var(--stroke);
  box-shadow: 0 3px 0 rgba(8, 18, 43, 0.8);
  font-size: 1.2rem;
}
.sec-head .spacer { flex: 1; }
.sec-head .more {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--gold-400);
  font-size: 0.95rem;
}

.panel {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(8px);
}
.panel--solid { background: linear-gradient(180deg, rgba(12, 38, 92, 0.95), rgba(7, 24, 60, 0.95)); }
.panel--gold { border-color: rgba(255, 196, 46, 0.5); }

.grid { display: grid; gap: var(--gap); }
.grid--games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--cards { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 620px) {
  .grid--games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .grid--games { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .grid--games { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- 7. Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: oklch(0.32 0.12 244 / 0.42);
  border-bottom: 2px solid rgba(120, 190, 255, 0.22);
  backdrop-filter: blur(12px);
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--header-h);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-page);
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--cyan-300), var(--cyan-600));
  border: var(--stroke);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #04223A;
  box-shadow: 0 3px 0 rgba(8, 18, 43, 0.8);
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.34rem;
  line-height: 1;
  letter-spacing: 0.4px;
}
.brand__name span { -webkit-text-stroke: 1px var(--ink); }
.brand__sub {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--cyan-300);
  font-weight: 700;
}

.mainnav { display: none; align-items: center; gap: 4px; margin-left: 6px; }
.mainnav a {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  padding: 9px 13px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: all 0.15s ease;
}
.mainnav a:hover { background: rgba(31, 166, 232, 0.18); border-color: rgba(140, 205, 255, 0.35); }
.mainnav a[aria-current="page"] {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: #6A3A00;
  border-color: var(--ink);
  box-shadow: 0 3px 0 rgba(8, 18, 43, 0.8);
}

.topbar__search {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  max-width: 300px;
  margin-left: auto;
  background: rgba(3, 14, 40, 0.8);
  border: 2px solid rgba(140, 205, 255, 0.28);
  border-radius: var(--r-pill);
  padding: 7px 14px;
}
.topbar__search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
}
.topbar__search input::placeholder { color: rgba(169, 194, 228, 0.8); }

.iconbar { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1080px) { .iconbar { margin-left: 0; } }

.iconbtn {
  position: relative;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(134, 221, 247, 0.35), rgba(7, 32, 77, 0.9));
  border: 2px solid rgba(140, 205, 255, 0.45);
  color: var(--cyan-100);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.iconbtn:hover { border-color: var(--gold-400); color: #fff; transform: translateY(-1px); }
.iconbtn__badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, #FF7189, var(--hot));
  border: 2px solid var(--ink);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  display: grid; place-items: center;
}
.iconbtn--desk { display: none; }
@media (min-width: 720px) { .iconbtn--desk { display: grid; } }

.topbar .btn--sm { display: none; }
@media (min-width: 560px) { .topbar .btn--sm { display: inline-flex; } }

.navtoggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(7, 32, 77, 0.85);
  border: 2px solid rgba(140, 205, 255, 0.45);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
@media (min-width: 1080px) { .navtoggle { display: none; } }

/* Drawer nav */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 95;
  background: linear-gradient(180deg, rgba(6, 24, 60, 0.99), rgba(4, 16, 46, 0.99));
  border-bottom: 2px solid var(--line);
  padding: 14px var(--pad-page) 22px;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.drawer.is-open { display: block; }
.drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  padding: 13px 12px;
  border-radius: var(--r-md);
  border-bottom: 1px dashed rgba(120, 190, 255, 0.18);
}
.drawer a:hover { background: rgba(31, 166, 232, 0.16); }
.drawer__foot { margin-top: 16px; display: grid; gap: 10px; }
@media (min-width: 1080px) {
  .drawer { display: none !important; }
  .mainnav { display: flex; }
  .topbar__search { display: flex; }
}

/* ---------- 8. Left rail ---------- */
.rail {
  display: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  z-index: 80;
  width: 88px;
  flex-direction: column;
  background: #004469c2;
  border: 1px solid #59d3f066;
  border-radius: var(--r-sm);
  box-shadow: inset var(--shadow-2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
@media (min-width: 1080px) { .rail { display: flex; } }

.rail a {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 9px 4px;
  color: #fffafc;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all 0.15s ease;
  border-bottom: 1px solid var(--line);
}
.rail a i { font-size: 1.3rem; font-style: normal; }
.rail a:hover { color: #fff; background: #0095c0a6; }
.rail a[aria-current="page"],
.rail a.is-hot {
  background: linear-gradient(180deg, #ffffb7 0%, #ffd939 55%, #e29500 100%);
  color: #6A3A00;
}

/* ---------- 9. Mobile bottom nav ---------- */
.botnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 88;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(4, 16, 46, 0.86), rgba(2, 9, 31, 0.98));
  border-top: 2px solid rgba(120, 190, 255, 0.25);
  backdrop-filter: blur(12px);
}
@media (min-width: 1080px) { .botnav { display: none; } }
.botnav a {
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 5px 2px;
  border-radius: 12px;
  color: var(--text-dim);
  font-family: "Baloo 2", sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.botnav a i { font-size: 1.22rem; font-style: normal; }
.botnav a[aria-current="page"] { color: var(--gold-400); background: rgba(255, 196, 46, 0.12); }

/* Promo strip (Task / Wheel / Check-In / Mall / Promos motif) */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.promo-strip a {
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 12px 6px;
  border-radius: var(--r-md);
  background: rgba(6, 24, 60, 0.7);
  border: 2px solid rgba(140, 205, 255, 0.28);
  color: var(--text);
  font-family: "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.15s ease;
}
.promo-strip a i { font-size: 1.5rem; font-style: normal; }
.promo-strip a:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.promo-strip a em {
  display: block;
  font-style: normal;
  font-size: 0.66rem;
  color: var(--gold-400);
}

/* ---------- 10. Hero ---------- */
.hero {
  position: relative;
  padding: 26px 20px;
  margin-top: 30px;
}

.hero__grid { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .hero { padding: 34px 34px; }
  .hero__grid { grid-template-columns: 1.35fr 0.85fr; align-items: center; gap: 26px; }
}

.hero h1 { margin-bottom: 12px; }
.hero__cta { margin-top: 18px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(140, 205, 255, 0.28);
  font-size: 0.86rem;
  color: var(--text-dim);
}
.hero__trust b { color: var(--gold-400); font-family: "Baloo 2", sans-serif; }

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero__mascot {
  width: min(260px, 62vw);
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.5));
  animation: floaty 6s ease-in-out infinite;
  border-radius: var(--r-lg);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__badge {
  position: absolute;
  top: 6px;
  left: 4px;
  font-weight: 800;
  font-size: 1rem;
  color: #5c2603;
  background: linear-gradient(180deg, #ffffb7 0%, #ffd939 55%, #e29500 100%);
  border: 2px solid #ffffb7;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  box-shadow: 0 3px 0 oklch(73% .16 74),0 6px 16px oklch(23% .08 247/.27);
  transform: rotate(-3deg);
}
.hero-side-note {
  align-items: center;
  font-size: 12px;
  display: flex;
  position: absolute;
  bottom: 14%;
  right: 0px;
  transform: rotate(-5deg);
  gap: 10px;
}
.hero-side-note svg {
  width: 25px;
  color: #ffd939;
}
.hero-side-note strong {
    font-size: 16px;
    color: #ffd939;
}
/* Search + tabs bar (mirrors the app UI) */
.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(4, 16, 46, 0.9), rgba(3, 12, 34, 0.9));
  border: 2px solid rgba(140, 205, 255, 0.3);
}
.searchbar input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  padding: 6px 4px;
}
.searchbar input::placeholder { color: rgba(169, 194, 228, 0.75); }
.searchbar__go {
  width: 25px; height: 25px;
  border-radius: 50%;
  display: grid;
  justify-content: center;
    align-items: center;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border: 2px solid var(--ink);
  color: #6A3A00;
  cursor: pointer;
  flex: 0 0 auto;
}
.game-toolbar {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  padding: 5px;
  white-space: nowrap;
  border-radius: var(--r-sm);
  scrollbar-width: none;
  background:#004469c2;
  -ms-overflow-style: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 0 0 auto;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 3px 17px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--cyan-100);
  cursor: pointer;
}
.tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, #ffffb7 0%, #ffd939 55%, #e29500 100%);
  color: #5c2603;
}
.search-box {
  display: flex;
  height: 44px;
  color: #9ce0f7;
  align-items: center;
  width: 260px;
  background: #004469c2;
  border: 1px solid #59d3f066;
  border-radius: 6px;
  gap: 9px;
  padding: 0px 13px;
}
.search-box svg {
  width: 17px;
  height: 17px;
}
.search-box input {
  color: #fffafc;
  background: transparent;
  border: 0;
  width: 100%;
  font-size: 12px;
}
@media (max-width: 768px) {
    .game-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .tabs {
        width: 100%;
        flex: none;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
    }
    .searchbar {
        width: 100%;
        flex: none;
    }
}
/* ---------- 11. Game card ---------- */
.game-card {
  position: relative;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(14, 44, 104, 0.9), rgba(7, 24, 60, 0.92));
  border: 2px solid rgba(140, 205, 255, 0.28);
  box-shadow: var(--shadow-1);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  overflow: hidden;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: 0 14px 30px rgba(2, 8, 26, 0.6);
}
.game-card:hover .game-meta img {transform: scale(1.04);}
.game-meta {
  display: block;
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--space-800);
}
.game-meta img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s;}
.game-provider {position:absolute;top: 5px;right: 5px;font-size: 12px; background:#000c; color:#fff; padding: 2px 4px;border-radius: 6px;}
.game-card__coin {
  position: absolute;
  left: 6px; bottom: 6px;
  z-index: 2;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFE9A8;
  background: rgba(4, 16, 46, 0.78);
  border: 2px solid rgba(8, 18, 43, 0.9);
  border-radius: var(--r-pill);
  padding: 2px 8px;
}
.game-card__title {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  text-shadow: 2px 2px #00304e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(transparent, #00151e);
  padding: 25px 5px 8px;
}
.game-card__meta {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.game-card__rtp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--cyan-300);
  font-weight: 700;
}

.game-card__title a { color: #fff; }
.game-card__title a:hover { color: var(--gold-400); }

/* ---------- 12. Provider card ---------- */
.provider-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(14, 44, 104, 0.9), rgba(7, 24, 60, 0.94));
  border: 2px solid rgba(140, 205, 255, 0.28);
  box-shadow: var(--shadow-1);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.provider-card:hover { transform: translateY(-4px); border-color: var(--gold-400); }
.provider-card__top { display: flex; align-items: center; gap: 13px; }
.provider-logo {
  width: 58px; height: 58px;
  flex: 0 0 58px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.06rem;
  color: #04223A;
  background: linear-gradient(180deg, var(--cyan-300), var(--cyan-600));
  border: var(--stroke);
  box-shadow: 0 3px 0 rgba(8, 18, 43, 0.8);
}
.provider-logo--gold { background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); color: #6A3A00; }
.provider-logo--violet { background: linear-gradient(180deg, #B79BFF, var(--violet)); color: #1B0B4A; }
.provider-logo--green { background: linear-gradient(180deg, #6FE7AA, var(--green)); color: #06301C; }
.provider-logo--hot { background: linear-gradient(180deg, #FF7189, var(--hot)); color: #fff; }
.provider-card h3 { margin: 0 0 2px; font-size: 1.06rem; }
.provider-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px dashed rgba(140, 205, 255, 0.25);
  padding-top: 11px;
}
.provider-card__stats b { color: #fff; font-family: "Baloo 2", sans-serif; }

/* ---------- 13. Blog cards ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(14, 44, 104, 0.9), rgba(7, 24, 60, 0.94));
  border: 2px solid rgba(140, 205, 255, 0.28);
  box-shadow: var(--shadow-1);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--gold-400); }
.post-card__media { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--space-800); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__cat {
  position: absolute;
  left: 10px; top: 10px;
  z-index: 2;
}
.post-card__body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { margin: 0; font-size: 1.06rem; line-height: 1.25; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--gold-400); }
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(140, 205, 255, 0.22);
}

/* ---------- 14. Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 2px solid var(--line);
  background: rgba(6, 22, 54, 0.85);
  box-shadow: var(--shadow-1);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.92rem;
}
table.data caption {
  text-align: left;
  padding: 14px 16px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: var(--gold-400);
  border-bottom: 2px solid var(--line);
}
table.data th,
table.data td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(120, 190, 255, 0.16);
  vertical-align: middle;
}
table.data thead th {
  font-family: "Baloo 2", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cyan-300);
  background: rgba(4, 16, 46, 0.9);
  position: sticky;
  top: 0;
}
table.data tbody tr:hover { background: rgba(31, 166, 232, 0.1); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .rank {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold-400);
}
table.data .cell-brand { display: flex; align-items: center; gap: 10px; min-width: 170px; }
table.data .cell-brand b { font-family: "Baloo 2", sans-serif; font-size: 1rem; color: #fff; }
.stars { color: var(--gold-400); font-size: 0.92rem; letter-spacing: 1px; }
.stars b { color: #fff; font-family: "Baloo 2", sans-serif; margin-left: 5px; }
.win { color: var(--green); font-weight: 700; }
.lose { color: #FF9DAE; font-weight: 700; }

/* ---------- 15. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(12, 38, 92, 0.85), rgba(7, 24, 60, 0.9));
  border: 2px solid rgba(140, 205, 255, 0.26);
  padding: 2px 4px;
  overflow: hidden;
}
.faq details[open] { border-color: rgba(255, 196, 46, 0.5); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold-400);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 16px 16px; color: var(--text-dim); }

/* ---------- 16. Breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-dim);
  margin: 16px 0 4px;
}
.crumbs a { color: var(--cyan-300); }
.crumbs li { list-style: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: rgba(169, 194, 228, 0.7); }
.crumbs [aria-current="page"] { color: #fff; font-weight: 700; }

/* ---------- 17. Article ---------- */
.article-layout { display: grid; gap: 26px; }
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}
.prose { max-width: 74ch; font-size: 1.03rem; color: #DCEAFB; }
.prose > h2 { margin-top: 1.6em; padding-top: 0.2em; }
.prose > h3 { margin-top: 1.3em; color: var(--cyan-100); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(10, 40, 96, 0.6);
  color: #fff;
  font-style: italic;
}
.prose img { border-radius: var(--r-lg); border: 2px solid var(--line); margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.94rem; }
.prose th, .prose td { padding: 11px 12px; border-bottom: 1px solid rgba(120, 190, 255, 0.18); text-align: left; }
.prose th { color: var(--cyan-300); font-family: "Baloo 2", sans-serif; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.7px; }
.prose .callout {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 196, 46, 0.12);
  border: 2px solid rgba(255, 196, 46, 0.42);
  margin: 1.4em 0;
  color: #fff;
}
.prose .callout__icon { font-size: 1.4rem; line-height: 1.2; }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  border-radius: var(--r-lg);
  border: 2px solid var(--line);
  background: rgba(6, 22, 54, 0.85);
  padding: 16px 18px;
}
.toc h2 { font-size: 0.92rem; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan-300); }
.toc ol { margin: 0; padding-left: 1.1em; font-size: 0.9rem; }
.toc li { margin-bottom: 7px; }
.toc a { color: var(--text-dim); }
.toc a:hover { color: var(--gold-400); }

.author-box {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--r-lg);
  background: rgba(10, 40, 96, 0.6);
  border: 2px solid var(--line);
  margin: 26px 0;
}
.avatar {
  width: 54px; height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: #04223A;
  background: linear-gradient(180deg, var(--cyan-300), var(--cyan-600));
  border: var(--stroke);
}

.reading-bar {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--gold-400), var(--hot));
  transition: width 0.1s linear;
}

/* ---------- 18. Stat / feature blocks ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(6, 22, 54, 0.8);
  border: 2px solid rgba(140, 205, 255, 0.24);
  text-align: center;
}
.stat b {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.5rem;
  color: var(--gold-400);
  line-height: 1.1;
}
.stat span { font-size: 0.78rem; color: var(--text-dim); }

.spec-list {
  display: grid;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--line);
  background: rgba(6, 22, 54, 0.8);
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(120, 190, 255, 0.15);
  font-size: 0.94rem;
}
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt, .spec-list span:first-child { color: var(--text-dim); }
.spec-list b { font-family: "Baloo 2", sans-serif; color: #fff; text-align: right; }

.score-row {
  display: grid;
  grid-template-columns: 132px 1fr 46px;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  font-size: 0.9rem;
}
.score-bar {
  height: 12px;
  border-radius: 99px;
  background: rgba(4, 16, 46, 0.9);
  border: 2px solid rgba(140, 205, 255, 0.28);
  overflow: hidden;
}
.score-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan-500), var(--gold-400));
}
.score-row b { font-family: "Baloo 2", sans-serif; color: var(--gold-400); text-align: right; }

.pros-cons { display: grid; gap: 16px; }
@media (min-width: 720px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons ul { margin: 0; padding-left: 1.1em; }
.pros-cons li { margin-bottom: 8px; }
.pros-cons .panel h3 { margin-bottom: 10px; }

.verdict {
  border-radius: var(--r-lg);
  border: 3px solid var(--gold-500);
  background: linear-gradient(150deg, rgba(255, 196, 46, 0.16), rgba(10, 40, 96, 0.85));
  padding: 20px;
  box-shadow: var(--shadow-2);
}
.verdict__score {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.verdict__score b {
  font-family: "Baloo 2", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold-400);
}

/* ---------- 19. App landing ---------- */
.phone {
  width: min(300px, 78vw);
  margin: 0 auto;
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(180deg, #1A2B4E, #08122B);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-2), 0 0 0 2px rgba(140, 205, 255, 0.25);
}
.phone__screen {
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(8, 18, 43, 0.9);
  background: #04102E;
}
.phone__notch {
  width: 96px; height: 6px;
  border-radius: 99px;
  background: rgba(140, 205, 255, 0.35);
  margin: 8px auto 10px;
}
.qr {
  width: 132px; height: 132px;
  border-radius: var(--r-md);
  padding: 8px;
  background: #fff;
  border: var(--stroke);
  display: grid; place-items: center;
}
.qr svg { width: 100%; height: 100%; }

.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 15px 16px;
  border-radius: var(--r-md);
  background: rgba(6, 22, 54, 0.8);
  border: 2px solid rgba(140, 205, 255, 0.24);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 32px;
  height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border: 2px solid var(--ink);
  color: #6A3A00;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
}
.steps b { color: #fff; font-family: "Baloo 2", sans-serif; display: block; }

/* ---------- 20. Footer ---------- */
.site-footer {
  margin-top: 50px;
  border-top: 2px solid rgba(120, 190, 255, 0.25);
  background: #004469c2;
  padding: 34px 0 110px;
}
@media (min-width: 1080px) { .site-footer { padding-bottom: 40px; } }
.footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } }
.footer-col h2 {
  font-size: 0.86rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; max-width: 40ch; }
.badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.badge-18 {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 3px solid var(--hot);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  background: rgba(255, 59, 92, 0.16);
}
.footer-legal {
  margin-top: 26px;
  font-size: 0.8rem;
  color: var(--text-dim);
  display: grid;
  gap: 12px;
}
.disclaimer { padding: 20px; border: 1px dashed rgba(120, 190, 255, 0.25); border-radius: 12px;}

/* ---------- 21. Cookie bar / misc ---------- */
.cookiebar {
  position: fixed;
  left: 12px; right: 12px; bottom: 82px;
  z-index: 100;
  display: none;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(8, 28, 68, 0.98), rgba(4, 16, 46, 0.98));
  border: 2px solid rgba(255, 196, 46, 0.45);
  box-shadow: var(--shadow-2);
}
.cookiebar.is-open { display: flex; }
@media (min-width: 1080px) { .cookiebar { bottom: 16px; max-width: 720px; } }
.cookiebar p { margin: 0; font-size: 0.88rem; color: var(--text-dim); flex: 1 1 320px; }

@media (max-width: 1079px) {
  .cookiebar {
    bottom: 74px;
    padding: 11px 13px;
    gap: 9px;
    border-radius: var(--r-md);
  }
  .cookiebar p { font-size: 0.79rem; flex: 1 1 100%; line-height: 1.5; }
  .cookiebar .btn { padding: 8px 15px; font-size: 0.82rem; }
}

.totop {
  position: fixed;
  right: 14px; bottom: 82px;
  z-index: 92;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border: var(--stroke);
  color: #6A3A00;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(8, 18, 43, 0.8);
}
.totop.is-visible { display: grid; }
@media (min-width: 1080px) { .totop { bottom: 20px; } }

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(31, 166, 232, 0.12);
  border: 2px solid rgba(75, 195, 242, 0.38);
  font-size: 0.9rem;
  color: #DCEAFB;
}

.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.pager a, .pager span {
  min-width: 42px;
  height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 2px solid rgba(140, 205, 255, 0.3);
  background: rgba(6, 22, 54, 0.8);
  color: var(--text);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  padding: 0 12px;
}
.pager a:hover { border-color: var(--gold-400); color: #fff; }
.pager [aria-current="page"] {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border-color: var(--ink);
  color: #6A3A00;
}

.hr {
  height: 2px;
  border: 0;
  margin: 34px 0;
  background: linear-gradient(90deg, transparent, rgba(140, 205, 255, 0.35), transparent);
}

.two-col { display: grid; gap: 22px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.three-col { display: grid; gap: 18px; }
@media (min-width: 760px) { .three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.side-col { display: grid; gap: 18px; align-content: start; }

.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-list a { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: 0.92rem; }
.mini-list a:hover { color: var(--gold-400); }
.mini-list .num {
  flex: 0 0 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(31, 166, 232, 0.2);
  border: 2px solid rgba(140, 205, 255, 0.3);
  font-family: "Baloo 2", sans-serif;
  font-size: 0.8rem;
  color: var(--cyan-100);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 22. Print ---------- */
@media print {
  body::before, body::after, .topbar, .rail, .botnav, .site-footer, .cookiebar, .totop { display: none !important; }
  body { background: #fff; color: #000; }
}
