﻿/* â”€â”€ Mahjong333 â€” Dark Brown/Gold Gaming Theme â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  --bg:        #1c0808;
  --bg2:       #2d1212;
  --bg3:       #3a1818;
  --bg4:       #451e1e;
  --accent:    #e8a820;
  --accent2:   #f5c540;
  --accent3:   #ffd966;
  --text:      #f0e0c0;
  --text-muted:#c4a882;
  --border:    #5a2a2a;
  --border2:   #6e3535;
  --card-bg:   #2a1010;
  --card-hover:#3a1818;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 4px 24px rgba(0,0,0,.7);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.5);
  --font:      system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --max-w:     1160px;
  --sidebar-w: 272px;
  --header-h:  60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#main { flex: 1; }

/* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
h1,h2,h3,h4 { line-height: 1.3; font-weight: 700; color: var(--accent2); }
h1 { font-size: clamp(1.55rem, 2.5vw + 1rem, 2.35rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.15rem, 1.5vw + .5rem, 1.6rem); margin: 2.25rem 0 .7rem; color: var(--accent); }
h3 { font-size: 1.1rem; margin: 1.4rem 0 .45rem; color: var(--accent2); }
h4 { font-size: 1rem; margin: 1rem 0 .35rem; }
p  { margin-bottom: 1.1rem; }
a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #ffffff; }
ul,ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }
strong { color: var(--accent2); }
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
th { background: var(--bg3); color: var(--accent2); padding: .6rem 1rem; text-align: left; font-size: .9rem; }
td { padding: .55rem 1rem; border-bottom: 1px solid var(--border); font-size: .9rem; }
tr:hover td { background: var(--bg3); }

/* â”€â”€ Utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ANIMATED LOGO / BRAND
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes logo-glow {
  0%,100% { filter: drop-shadow(0 0 4px rgba(232,168,32,.4)); }
  50%      { filter: drop-shadow(0 0 14px rgba(245,197,64,.9)); }
}
@keyframes logo-float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-3px); }
}
@keyframes logo-shimmer {
  0%   { opacity: .7; }
  50%  { opacity: 1; }
  100% { opacity: .7; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes tile-border-pulse {
  0%,100% { stroke: #c9a84c; stroke-width: 1.5; }
  50%      { stroke: #f5d98a; stroke-width: 2.5; }
}
@keyframes dot-pulse {
  0%,100% { opacity: .4; r: 2; }
  50%      { opacity: 1;  r: 3; }
}
@keyframes char-glow {
  0%,100% { fill: #c9a84c; }
  50%      { fill: #f5d98a; }
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-svg {
  animation: logo-float 3s ease-in-out infinite, logo-glow 2.5s ease-in-out infinite;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand-svg .tile-border  { animation: tile-border-pulse 2.5s ease-in-out infinite; }
.brand-svg .tile-char    { animation: char-glow 2.5s ease-in-out infinite; }
.brand-svg .tile-dots circle { animation: dot-pulse 2.5s ease-in-out infinite; }
.brand-svg .tile-dots circle:nth-child(1) { animation-delay: 0s; }
.brand-svg .tile-dots circle:nth-child(2) { animation-delay: .3s; }
.brand-svg .tile-dots circle:nth-child(3) { animation-delay: .6s; }
.brand-svg .tile-dots circle:nth-child(4) { animation-delay: .9s; }
.brand-text {
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e8a820 0%, #f5c540 50%, #ffd966 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.5px;
  animation: logo-shimmer 3s ease-in-out infinite;
}
.brand:hover .brand-svg   { animation-duration: 1s; }
.brand:hover .brand-text  { animation: none; -webkit-text-fill-color: #fff; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HEADER / NAV
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.site-header {
  background: rgba(14,4,4,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,.7);
  height: var(--header-h);
}
.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}
.nav-links {
  display: flex;
  gap: .1rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: .4rem .65rem;
  border-radius: var(--radius);
  font-size: .88rem;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: #ffffff; background: var(--bg3); }
.nav-btn {
  padding: .35rem 1rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  text-decoration: none !important;
  transition: filter .15s, transform .15s !important;
}
.nav-btn:hover { transform: translateY(-1px); filter: brightness(1.1); background: transparent !important; }
.nav-btn-login  { background: transparent !important; border: 1.5px solid var(--accent) !important; color: var(--accent) !important; }
.nav-btn-daftar { background: var(--accent) !important; color: #1c0808 !important; border: 1.5px solid var(--accent) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: .4rem .7rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: auto;
  line-height: 1;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO â€” Dark Brown Star-Field Theme
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes hero-star-twinkle {
  0%,100% { opacity: .25; }
  50%      { opacity: .7; }
}
@keyframes hero-glow-pulse {
  0%,100% { opacity: .4; }
  50%      { opacity: .7; }
}
@keyframes hero-logo-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   #5a1a1a 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 100%,  #3d1010 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%,  #3d1010 0%, transparent 50%),
    #1a0808;
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Star particles */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at  5% 10%, #ffd966, transparent),
    radial-gradient(1px   1px   at 12% 30%, #fff,    transparent),
    radial-gradient(1.5px 1.5px at 20%  8%, #ffd966, transparent),
    radial-gradient(1px   1px   at 28% 45%, #fff,    transparent),
    radial-gradient(1px   1px   at 35% 18%, #ffd966, transparent),
    radial-gradient(1.5px 1.5px at 42% 35%, #fff,    transparent),
    radial-gradient(1px   1px   at 50%  5%, #ffd966, transparent),
    radial-gradient(1.5px 1.5px at 58% 22%, #fff,    transparent),
    radial-gradient(1px   1px   at 65%  2%, #ffd966, transparent),
    radial-gradient(1px   1px   at 72% 38%, #fff,    transparent),
    radial-gradient(1.5px 1.5px at 80% 15%, #ffd966, transparent),
    radial-gradient(1px   1px   at 88% 32%, #fff,    transparent),
    radial-gradient(1px   1px   at 94%  8%, #ffd966, transparent),
    radial-gradient(1.5px 1.5px at  8% 60%, #fff,    transparent),
    radial-gradient(1px   1px   at 18% 75%, #ffd966, transparent),
    radial-gradient(1px   1px   at 30% 88%, #fff,    transparent),
    radial-gradient(1.5px 1.5px at 45% 65%, #ffd966, transparent),
    radial-gradient(1px   1px   at 55% 80%, #fff,    transparent),
    radial-gradient(1px   1px   at 68% 70%, #ffd966, transparent),
    radial-gradient(1.5px 1.5px at 78% 90%, #fff,    transparent),
    radial-gradient(1px   1px   at 90% 62%, #ffd966, transparent),
    radial-gradient(1px   1px   at  3% 50%, #fff,    transparent),
    radial-gradient(1.5px 1.5px at 97% 48%, #ffd966, transparent);
  pointer-events: none;
  animation: hero-star-twinkle 4s ease-in-out infinite;
}
/* Vignette */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
/* Logo image */
.hero-logo-wrap {
  position: relative; z-index: 1;
  margin-bottom: .75rem;
  width: 100%;
}
.hero-logo-img {
  width: min(700px, 92vw);
  height: auto;
  display: block;
  margin: 0 auto;
  animation: hero-logo-float 4s ease-in-out infinite;
}
/* Fallback logo (shown if image missing) */
.hero-logo-text {
  font-size: clamp(2.2rem, 5vw + 1rem, 3.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #c9a84c 0%, #f5d98a 50%, #e8c56d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  display: block;
  letter-spacing: -1px;
}
.hero h1 {
  font-size: clamp(.9rem, 1.5vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
  background: none;
  -webkit-text-fill-color: var(--text-muted);
  letter-spacing: .02em;
}
.hero-sub {
  font-size: clamp(.95rem, 1.5vw + .4rem, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.25rem;
}
/* Hero CTA â€” wide pill buttons */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  position: relative; z-index: 1;
}
.btn-hero {
  display: block;
  width: 100%;
  padding: .85rem 2rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  letter-spacing: .08em;
  transition: transform .15s, box-shadow .15s, filter .15s;
  cursor: pointer;
  border: none;
}
.btn-hero:hover { transform: translateY(-2px); filter: brightness(1.1); text-decoration: none; }
.btn-hero-primary {
  background: linear-gradient(135deg, #e8a820 0%, #f5c540 50%, #ffd966 100%);
  color: #1c0808;
  box-shadow: 0 4px 20px rgba(232,168,32,.5);
}
.btn-hero-secondary {
  background: linear-gradient(135deg, #c8860e 0%, #e8a820 50%, #f5c540 100%);
  color: #1c0808;
  box-shadow: 0 3px 14px rgba(200,134,14,.4);
}
/* Hero banner image */
.hero-banner-wrap {
  width: min(1200px, 96vw);
  margin: 1rem auto 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 48px rgba(0,0,0,.7);
  position: relative; z-index: 1;
}
.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
/* Platform info table */
.platform-info {
  max-width: 640px;
  margin: 2rem auto 0;
  border: 1px solid rgba(200,134,14,.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative; z-index: 1;
}
.platform-row {
  display: flex;
  border-bottom: 1px dashed rgba(200,134,14,.25);
  align-items: center;
}
.platform-row:last-child { border-bottom: none; }
.platform-label {
  width: 200px;
  flex-shrink: 0;
  padding: .75rem 1.2rem;
  font-weight: 700;
  color: var(--accent);
  font-size: .88rem;
  letter-spacing: .06em;
  background: rgba(0,0,0,.25);
  text-align: right;
}
.platform-value {
  padding: .75rem 1.2rem;
  color: var(--text-muted);
  font-size: .88rem;
  text-align: left;
}
/* Ads section */
.ads-section {
  max-width: var(--max-w);
  margin: 2rem auto;
  padding: 0 1.25rem;
}
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.ad-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  background: var(--card-bg);
}
.ad-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.ad-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.ad-card-title {
  padding: .65rem 1rem;
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 600;
}
.hero-cta-old { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-block;
  padding: .65rem 1.45rem;
  background: linear-gradient(135deg, #c9a84c, #e8c56d);
  color: #0d1b2a;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 12px rgba(201,168,76,.3);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(201,168,76,.45); color: #0d1b2a; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}
.btn-outline:hover { background: var(--accent); color: #0d1b2a; box-shadow: 0 2px 12px rgba(201,168,76,.3); }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE LAYOUT: MAIN + SIDEBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.page-layout {
  display: flex;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  align-items: flex-start;
}
.page-content  { flex: 1; min-width: 0; }
.page-sidebar  {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.page-sidebar::-webkit-scrollbar { width: 4px; }
.page-sidebar::-webkit-scrollbar-track { background: transparent; }
.page-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SIDEBAR WIDGETS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  margin-bottom: 1rem;
}
.sidebar-widget h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin: 0 0 .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
/* Sidebar TOC */
.sidebar-toc ol { padding-left: 1rem; margin: 0; counter-reset: none; }
.sidebar-toc li { margin-bottom: .3rem; }
.sidebar-toc a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .82rem;
  line-height: 1.45;
  display: block;
  padding: .15rem 0;
  transition: color .12s;
}
.sidebar-toc a:hover { color: #ffffff; }
.sidebar-toc a.active { color: var(--accent); font-weight: 600; }

/* Sidebar link list */
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: .15rem; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .85rem;
  padding: .3rem .4rem;
  border-radius: 5px;
  transition: color .12s, background .12s;
}
.sidebar-links a::before { content: "â€º"; color: var(--accent); font-weight: bold; }
.sidebar-links a:hover { color: #ffffff; background: var(--bg3); }

/* Sidebar RTP table */
.sidebar-rtp { font-size: .82rem; }
.sidebar-rtp table { margin: 0; }
.sidebar-rtp th { font-size: .78rem; padding: .45rem .6rem; }
.sidebar-rtp td { padding: .4rem .6rem; }

/* Sidebar disclaimer */
.sidebar-disclaimer {
  background: rgba(201,168,76,.06);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius);
  padding: .75rem;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.sidebar-disclaimer strong { color: var(--accent); font-size: .8rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CARD GRID
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.card-grid.small  { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); }
.card-grid.mini   { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201,168,76,.15);
  color: var(--text);
}
.card h3 { color: var(--accent); font-size: 1rem; margin: 0 0 .5rem; }
.card p  { font-size: .87rem; color: var(--text-muted); margin: 0; }
.card.small { padding: .85rem 1rem; }
.card.small span { font-size: .88rem; color: var(--accent); line-height: 1.4; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTIONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-hubs, .section-quick, .section-about, .section-games,
.section-howto, .section-rtp-preview, .section-faq-home, .section-trust {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
}
.section-about { border-bottom: none; }

/* Hub page child cards */
.hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .75rem;
  margin: 1.5rem 0;
}
.hub-cards .card { padding: .9rem 1rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ARTICLE / CONTENT PAGE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.article { padding-bottom: 3rem; }

/* Breadcrumb */
.breadcrumb {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: #ffffff; }

/* Meta */
.meta-row {
  display: flex;
  gap: 1.25rem;
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.meta-row a { color: var(--accent); }

/* Lead */
.lead {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

/* Answer box */
.answer-box {
  background: var(--bg3);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 2rem;
  font-size: .97rem;
}
.answer-box strong { color: var(--accent2); }

/* Inline TOC (mobile only â€” hidden desktop) */
.toc-inline {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  display: none;
}
.toc-inline h2 {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin: 0 0 .7rem;
}
.toc-inline ol { padding-left: 1.2rem; margin: 0; }
.toc-inline li { margin-bottom: .25rem; }
.toc-inline a { color: var(--text-muted); text-decoration: none; font-size: .88rem; }
.toc-inline a:hover { color: #ffffff; }

/* FAQ */
.faq-section { margin: 2rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  margin-bottom: .7rem;
  background: var(--card-bg);
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--border2); }
.faq-item h3 { font-size: .97rem; color: var(--accent2); margin: 0 0 .45rem; }
.faq-item p  { margin: 0; font-size: .93rem; }

/* CTA box */
.cta-box {
  background: var(--bg3);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
}
.cta-box p { margin: 0; }
.cta-box .btn { margin: 0 .4rem; }

/* Related chips */
.related { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.related a {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .3rem .85rem;
  font-size: .85rem;
  color: var(--accent);
  text-decoration: none;
  transition: border-color .12s, background .12s;
}
.related a:hover { border-color: var(--accent); background: var(--card-hover); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.footer-inner p { color: var(--text-muted); font-size: .87rem; margin-bottom: .45rem; }
.footer-inner a { color: var(--text-muted); text-decoration: underline; }
.footer-inner a:hover { color: #ffffff; }
.footer-nav { margin: .75rem 0; }
.footer-nav a { margin: 0 .15rem; font-size: .84rem; }
.disclaimer {
  font-size: .81rem;
  color: var(--text-muted);
  background: rgba(201,168,76,.06);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  margin-top: 1.1rem;
  text-align: left;
  line-height: 1.6;
}
.disclaimer strong { color: var(--accent); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOME SIDEBAR-SPECIFIC SECTIONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-hubs .page-layout,
.home-body .page-layout {
  padding-top: 0;
  padding-bottom: 0;
}
.home-sections { border-top: 1px solid var(--border); }
.home-section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
}
.home-section:last-child { border-bottom: none; }

/* Steps list */
.steps-list { list-style: none; padding: 0; margin: 1rem 0; counter-reset: steps; }
.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.steps-list li::before {
  content: counter(steps);
  min-width: 32px;
  height: 32px;
  background: var(--accent);
  color: #0d1b2a;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .15rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1060px) {
  /* Collapse sidebar */
  .page-layout { display: block; padding: 1.75rem 1.25rem 2.5rem; }
  .page-sidebar { display: none; }
  /* Show inline TOC on mobile */
  .toc-inline { display: block; }
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: .5rem 0;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem 1.25rem; font-size: .95rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .hero { padding: 2.5rem 0 2rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.small, .card-grid.mini { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .meta-row { flex-direction: column; gap: .3rem; }
  .related { gap: .4rem; }
}
@media (max-width: 420px) {
  .card-grid, .card-grid.small, .card-grid.mini, .hub-cards { grid-template-columns: 1fr; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RTP TABLE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border-radius: var(--radius); border: 1px solid var(--border); }
.rtp-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rtp-table th {
  background: var(--bg2);
  color: var(--accent);
  font-weight: 700;
  padding: .7rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.rtp-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); color: var(--text); }
.rtp-table tr:last-child td { border-bottom: none; }
.rtp-table tr:hover td { background: rgba(201,168,76,.04); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOW-TO LIST (homepage steps)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.how-to-list { list-style: none; padding: 0; margin: 1.25rem 0; counter-reset: steps; }
.how-to-list > li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  padding: .9rem 1.1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.how-to-list > li::before {
  content: counter(steps);
  min-width: 30px;
  height: 30px;
  background: var(--accent);
  color: #0d1b2a;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SIDEBAR RTP LIST & LINK
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sidebar-rtp-list { list-style: none; padding: 0; margin: 0 0 .75rem; }
.sidebar-rtp-list li {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}
.sidebar-rtp-list li:last-child { border-bottom: none; }
.sidebar-rtp-list strong { color: var(--accent2); }
.sidebar-link-more {
  display: block;
  font-size: .83rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: .5rem;
}
.sidebar-link-more:hover { color: var(--accent2); text-decoration: underline; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ACTIVE TOC HIGHLIGHT (JS driven)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sidebar-toc a.active {
  color: var(--accent2);
  font-weight: 600;
  padding-left: .5rem;
  border-left: 2px solid var(--accent);
  margin-left: -.5rem;
}

/* ══════════════════════════════════════════════════════════════
   THEMATIC ICON SYSTEM (inline SVG)
══════════════════════════════════════════════════════════════ */

/* Base icon — ensures SVG renders inline with text */
.ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: currentColor;
  line-height: 1;
}

/* Navigation icons (16px) */
.nav-ico {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  fill: currentColor;
  opacity: .85;
  transition: opacity .15s;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}
.nav-links a:hover .nav-ico { opacity: 1; }

/* Hero / CTA button icons (18–20px) */
.btn-ico {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  fill: currentColor;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* Hub card icon wrapper — centred block above the card title */
.card-ico-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(232,168,32,.1);
  border: 1.5px solid rgba(232,168,32,.3);
  margin: 0 auto .85rem;
  color: var(--accent);
  transition: background .2s, border-color .2s, transform .2s;
}
.card:hover .card-ico-wrap {
  background: rgba(232,168,32,.2);
  border-color: var(--accent);
  transform: scale(1.08);
}
.card-ico {
  display: block;
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Platform info row icons (14px) */
.pi-ico {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  fill: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: -1px;
  opacity: .9;
}

/* FAQ question heading icon (18px) */
.faq-ico {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  fill: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

/* Card h3 inline icon (guide / topic listing cards) */
.card-h3-ico {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  fill: currentColor;
  flex-shrink: 0;
  position: relative;
  top: -1px;
  opacity: .85;
}
.card:hover .card-h3-ico { opacity: 1; }

/* Card link-row icon (small cards, hub child cards) */
.card-link {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.card-link span { flex: 1; }
.card-link-ico {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: var(--accent);
  opacity: .75;
  transition: opacity .15s, transform .15s;
}
.card-link:hover .card-link-ico { opacity: 1; transform: scale(1.15); }

/* ── ACCESSIBILITY ────────────────────────────────────────────── */

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: .5rem 1rem;
  background: var(--accent);
  color: #1c0808;
  font-weight: 700;
  font-size: .9rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
  transition: top .1s;
}
.skip-link:focus { top: 0; }

/* Keyboard focus indicators */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
  box-shadow: 0 0 0 4px rgba(232,168,32,.25);
}
.nav-btn:focus-visible {
  outline-color: var(--accent2);
  box-shadow: 0 0 0 4px rgba(245,197,64,.3);
}
