:root {
  --bg: #0f1115;
  --surface: #171b22;
  --surface2: #202631;
  --border: #343d4a;
  --accent: #c98a52;
  --accent-light: #e8b27d;
  --accent-dim: #9b6536;
  --text: #f3f6fb;
  --muted: #94a0ad;
  --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1140px;
  --gap: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.mx-topbar { position: sticky; top: 0; z-index: 100; background: rgba(15,17,21,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--container); margin: 0 auto; padding: .75rem 1.25rem; }
.site-brand { display: flex; align-items: center; gap: .5rem; }
.brand-label { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.editorial-nav ul { display: flex; gap: 1.5rem; }
.editorial-nav a { color: var(--muted); font-size: .875rem; font-weight: 500; transition: color .2s; }
.editorial-nav a:hover { color: var(--accent-light); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: .35rem; flex-direction: column; gap: 5px; }
.toggle-bar { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }

.mobile-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(15,17,21,.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
.mobile-nav a { color: var(--text); font-size: 1.25rem; font-weight: 600; }

@media(max-width:900px) {
  .editorial-nav { display: none; }
  .mobile-toggle { display: flex; }
}

/* Breadcrumbs */
.crumb-trail ol { display: flex; gap: .5rem; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.crumb-trail a { color: var(--accent-light); }
.crumb-trail li + li::before { content: '/'; margin-right: .5rem; color: var(--border); }

/* Hero */
.mx-hero { background: var(--surface); padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.mx-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; margin: .75rem 0 1rem; letter-spacing: -.02em; }
.hero-lead { color: var(--muted); font-size: 1.05rem; max-width: 680px; line-height: 1.75; }

/* Subpage hero */
.subpage-hero { background: var(--surface); padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.subpage-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800; margin-top: .75rem; }

/* Sections */
.showcase-section, .eval-section, .matrix-section, .reviews-section,
.promo-section, .arena-section, .txn-section, .onboard-section,
.portable-section, .shield-section, .guide-section, .closing-remarks, .inquiry-section { padding: 3.5rem 0; }

.showcase-section { background: var(--bg); }
.eval-section { background: var(--surface); }
.matrix-section { background: var(--bg); }
.reviews-section { background: var(--surface); }
.promo-section { background: var(--bg); }
.arena-section { background: var(--surface); }
.txn-section { background: var(--bg); }
.onboard-section { background: var(--surface); }
.portable-section { background: var(--bg); }
.shield-section { background: var(--surface); }
.guide-section { background: var(--bg); }
.closing-remarks { background: var(--surface); }
.inquiry-section { background: var(--bg); }

h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.25; letter-spacing: -.01em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; margin: 1.75rem 0 .75rem; line-height: 1.3; }
.section-lead { color: var(--muted); margin-bottom: 1.75rem; max-width: 780px; line-height: 1.75; }

/* Showcase */
.directory-grid { display: flex; flex-direction: column; gap: .75rem; }
.platform-entry { position: relative; display: grid; grid-template-columns: auto 130px 1fr auto; align-items: center; gap: 1rem; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; transition: border-color .25s, box-shadow .25s; }
.platform-entry:hover { border-color: var(--accent-dim); box-shadow: 0 4px 20px rgba(201,138,82,.08); }
.entry-pos { font-size: 1.1rem; font-weight: 800; color: var(--accent); min-width: 2rem; text-align: center; }
.entry-brand { display: flex; align-items: center; }
.entry-brand img { object-fit: contain; }
.entry-info { min-width: 0; }
.entry-promo-tag { display: inline-block; background: rgba(201,138,82,.12); color: var(--accent-light); font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25rem; }
.entry-value { display: block; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .15rem; }
.entry-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }

@media(max-width:768px) {
  .platform-entry { grid-template-columns: 1fr; gap: .6rem; padding: 1rem; position: relative; padding-top: 2.25rem; }
  .entry-pos { position: absolute; top: .75rem; left: 1rem; }
  .entry-brand img { width: 100px; }
}

/* CTA Buttons */
.cta-primary { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-dim)); color: #fff; font-weight: 700; font-size: .9rem; padding: .7rem 1.75rem; border-radius: var(--radius-sm); text-align: center; transition: box-shadow .3s, transform .2s; border: none; cursor: pointer; }
.cta-primary:hover { box-shadow: 0 8px 24px rgba(201,138,82,.24); transform: translateY(-1px); color: #fff; }
.cta-primary:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }

.cta-sm { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-dim)); color: #fff; font-weight: 600; font-size: .78rem; padding: .45rem 1rem; border-radius: var(--radius-sm); white-space: nowrap; transition: box-shadow .3s; }
.cta-sm:hover { box-shadow: 0 6px 18px rgba(201,138,82,.22); color: #fff; }

/* Trust Pills */
.trust-pills-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.trust-pill { display: inline-flex; align-items: center; gap: .35rem; background: rgba(201,138,82,.1); color: var(--accent-light); font-size: .78rem; font-weight: 600; padding: .35rem .75rem; border-radius: 20px; }

/* Criteria */
.criteria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap); }
.criteria-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.criteria-card strong { display: block; font-size: .95rem; margin-bottom: .4rem; color: var(--text); }
.criteria-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: .6rem; }
.weight-badge { display: inline-block; background: rgba(201,138,82,.12); color: var(--accent-light); font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 12px; }

/* Matrix / Comparison Table */
.matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; border-radius: var(--radius); border: 1px solid var(--border); }
.matrix-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.matrix-table th, .matrix-table td { padding: .7rem .85rem; text-align: left; font-size: .82rem; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.matrix-table thead th { background: var(--surface2); color: var(--accent-light); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; position: sticky; top: 0; }
.matrix-table tbody tr:nth-child(odd) { background: var(--surface); }
.matrix-table tbody tr:nth-child(even) { background: var(--surface2); }
.matrix-table tbody tr:hover { background: rgba(201,138,82,.04); }
.matrix-table img { display: inline-block; vertical-align: middle; }
.compact-tbl { min-width: 640px; }
.matrix-note { color: var(--muted); font-size: .88rem; line-height: 1.7; margin-top: .75rem; max-width: 780px; }

.speed-badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 12px; }
.speed-badge.fast { background: rgba(76,175,80,.15); color: #81c784; }
.speed-badge.med { background: rgba(255,183,77,.15); color: #ffb74d; }
.speed-badge.slow { background: rgba(239,83,80,.12); color: #ef9a9a; }
.rating-chip { display: inline-block; background: rgba(201,138,82,.15); color: var(--accent-light); font-size: .8rem; font-weight: 700; padding: .2rem .5rem; border-radius: var(--radius-sm); }

/* Casino Review Cards */
.verdict-panel { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; transition: border-color .3s; }
.verdict-panel:hover { border-color: rgba(201,138,82,.25); }
.vp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.vp-rank { font-size: 1.2rem; font-weight: 800; color: var(--accent); background: rgba(201,138,82,.1); width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.vp-brand { flex-shrink: 0; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-sm); padding: .4rem .6rem; display: flex; align-items: center; }
.vp-bonus-tag { flex: 1; min-width: 180px; }
.vp-bonus-tag .vp-label { display: block; font-size: .72rem; font-weight: 600; color: var(--accent-light); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem; }
.vp-bonus-tag strong { font-size: .95rem; color: var(--text); }
.vp-score { display: flex; flex-direction: column; align-items: center; gap: .1rem; flex-shrink: 0; }
.vp-stars { color: var(--accent); font-size: .9rem; letter-spacing: 1px; }
.vp-rating { font-size: .78rem; font-weight: 700; color: var(--accent-light); }

.verdict-panel h3 { margin-top: 0; margin-bottom: .75rem; }
.verdict-panel > p { color: var(--muted); font-size: .9rem; line-height: 1.75; margin-bottom: 1.25rem; }

.vp-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.vp-pros, .vp-cons { background: var(--surface); border-radius: var(--radius-sm); padding: 1rem; }
.vp-pros h4, .vp-cons h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.vp-pros h4 { color: #81c784; }
.vp-cons h4 { color: #ef9a9a; }
.vp-pros ul, .vp-cons ul { list-style: none; }
.vp-pros li, .vp-cons li { font-size: .82rem; color: var(--muted); padding: .2rem 0; padding-left: 1.1rem; position: relative; line-height: 1.5; }
.vp-pros li::before { content: '+'; position: absolute; left: 0; color: #81c784; font-weight: 700; }
.vp-cons li::before { content: '−'; position: absolute; left: 0; color: #ef9a9a; font-weight: 700; }

@media(max-width:600px) { .vp-pros-cons { grid-template-columns: 1fr; } }

.vp-info-table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; font-size: .82rem; }
.vp-info-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--border); }
.vp-info-table tr:nth-child(odd) { background: var(--surface); }
.vp-info-table td:first-child { color: var(--muted); font-weight: 600; white-space: nowrap; width: 40%; }
.vp-info-table td:last-child { color: var(--text); }

.verdict-panel .cta-primary { margin-top: .5rem; }

/* Game Grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); margin-top: 1rem; }
.game-type-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.game-type-card strong { display: block; font-size: .95rem; margin-bottom: .4rem; }
.game-type-card p { font-size: .83rem; color: var(--muted); line-height: 1.6; margin-bottom: .5rem; }
.game-badge { display: inline-block; background: rgba(201,138,82,.1); color: var(--accent-light); font-size: .7rem; font-weight: 600; padding: .2rem .55rem; border-radius: 12px; }

/* Onboarding Steps */
.onboard-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); margin: 1.25rem 0 2rem; }
.step-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; position: relative; padding-top: 2.5rem; }
.step-num { position: absolute; top: .75rem; left: 1rem; width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-dim)); color: #fff; font-size: .8rem; font-weight: 700; border-radius: 50%; }
.step-card strong { display: block; font-size: .92rem; margin-bottom: .35rem; }
.step-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* Mobile Features */
.mobile-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); margin-top: 1rem; }
.mf-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.mf-card strong { display: block; font-size: .92rem; margin-bottom: .35rem; }
.mf-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* Safety */
.safety-checklist { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0 2rem; }
.check-item { display: flex; gap: .75rem; align-items: flex-start; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; }
.check-icon { color: #81c784; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
.check-item strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.check-item p { font-size: .82rem; color: var(--muted); line-height: 1.5; }

.safety-tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); margin-top: 1rem; }
.tip-box { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.tip-box strong { display: block; font-size: .92rem; margin-bottom: .35rem; }
.tip-box p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* Player Recs */
.player-recs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap); margin-top: 1rem; }
.rec-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; }
.rec-card strong { display: block; font-size: .9rem; color: var(--accent-light); margin-bottom: .3rem; }
.rec-card p { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* Verdict */
.verdict-box { background: var(--surface2); border: 1px solid var(--accent-dim); border-radius: var(--radius); padding: 2rem; max-width: 780px; }
.verdict-box h2 { color: var(--accent-light); margin-bottom: .75rem; }
.verdict-box p { color: var(--muted); line-height: 1.75; font-size: .92rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: var(--accent-dim); }
.faq-item summary { padding: 1rem 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; font-weight: 700; color: var(--accent); transition: transform .3s; flex-shrink: 0; margin-left: .75rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary h3 { font-size: .92rem; font-weight: 600; margin: 0; line-height: 1.4; }
.faq-body { padding: 0 1.25rem 1.25rem; }
.faq-body p { font-size: .86rem; color: var(--muted); line-height: 1.7; }

/* Footer */
.mx-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-heading { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-light); margin-bottom: .75rem; }
.footer-about, .footer-disclaimer { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul a { color: var(--muted); font-size: .82rem; }
.footer-col ul a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; text-align: center; }
.footer-bottom p { font-size: .78rem; color: var(--muted); }

/* Subpage Content */
.subpage-content { padding: 2.5rem 0 3rem; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; font-size: .92rem; }
.prose ul, .prose ol { margin: .75rem 0 1.25rem 1.25rem; }
.prose li { color: var(--muted); font-size: .9rem; margin-bottom: .4rem; line-height: 1.6; list-style: disc; }
.prose ol li { list-style: decimal; }

/* Author Profile */
.author-profile { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; padding: 1.5rem; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); }
.author-avatar { width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--accent-dim); flex-shrink: 0; }
.author-info h2 { margin: 0 0 .25rem; font-size: 1.3rem; }
.author-role { color: var(--accent-light); font-size: .88rem; font-weight: 500; }

@media(max-width:500px) {
  .author-profile { flex-direction: column; text-align: center; }
  .author-avatar { width: 100px; height: 100px; }
}

/* Responsive polish */
@media(max-width:480px) {
  .mx-hero { padding: 2rem 0 1.75rem; }
  .showcase-section, .eval-section, .matrix-section, .reviews-section,
  .promo-section, .arena-section, .txn-section, .onboard-section,
  .portable-section, .shield-section, .guide-section, .closing-remarks, .inquiry-section { padding: 2.5rem 0; }
  .verdict-panel { padding: 1rem; }
  .vp-head { gap: .6rem; }
  .vp-brand img { width: 90px; }
}