:root {
  --bg: #121316;
  --surface: #1c1e24;
  --surface2: #272a33;
  --accent: #E52E2E;
  --accent-hover: #c62828;
  --gold: #FFB800;
  --gold2: #F59E0B;
  --gold-glow: rgba(255, 184, 0, 0.15);
  --crimson-glow: rgba(229, 46, 46, 0.2);
  --text: #F3F4F6;
  --muted: #9CA3AF;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 184, 0, 0.25);
  --radius: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: #0a0b0d;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* 430px Mobile App Shell (Scales cleanly to 1440px desktop with centered focus) */
.app-shell {
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  padding-bottom: 90px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .app-shell {
    max-width: 760px;
  }
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 19, 22, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hdr-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hdr-brand img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@media (min-width: 1024px) {
  .hdr-brand img {
    height: 46px;
    max-width: 240px;
  }
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-login {
  padding: 8px 16px;
  background: var(--surface2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-header-login:hover {
  background: #323642;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-header-register {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--accent), #ff3b3b);
  color: #fff;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 2px 12px var(--crimson-glow);
  transition: all 0.2s ease;
}

.btn-header-register:hover {
  background: linear-gradient(135deg, #d32727, #e52e2e);
  box-shadow: 0 4px 16px rgba(229, 46, 46, 0.4);
  transform: translateY(-1px);
}

/* Live Sultada Ticker */
.sultada-ticker {
  background: linear-gradient(90deg, #1a0808, #2a0e0e);
  border-bottom: 1px solid rgba(229, 46, 46, 0.35);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 46, 46, 0.25);
  border: 1px solid rgba(229, 46, 46, 0.5);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ticker-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.ticker-tag {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.5px;
}

.ticker-marquee {
  color: #e5e7eb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
}

/* Hero Section */
.hero {
  padding: 20px 16px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(229, 46, 46, 0.12), transparent 70%);
}

.hero-img-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 10px;
}

.hero p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-cta {
  display: inline-block;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 10px;
  box-shadow: 0 4px 18px var(--gold-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta:hover {
  background: #fff;
  color: #000;
}

/* TL;DR Answer Capsule (Engineered for Google AI Overviews) */
.tldr {
  margin: 16px 16px;
  padding: 14px 16px;
  background: rgba(255, 184, 0, 0.05);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e5e7eb;
}

.tldr strong {
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* E-E-A-T Published Editorial Methodology Capsule (Google Spam Update Pillar 2) */
.methodology-box {
  margin: 18px 16px;
  background: #171920;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
}

.methodology-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.expert-badge {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.methodology-header strong {
  font-size: 0.88rem;
  color: #fff;
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 600px) {
  .methodology-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.meth-col {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.meth-col strong {
  display: block;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.meth-col p {
  font-size: 0.75rem !important;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 !important;
}

/* Pro Tip Callout */
.pro-tip {
  margin: 18px 0;
  background: rgba(255, 184, 0, 0.07);
  border: 1px solid rgba(255, 184, 0, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.pro-tip .tip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.pro-tip p {
  font-size: 0.84rem !important;
  color: #f3f4f6;
  line-height: 1.55;
  margin: 0 !important;
}

/* Regulatory Player Advisory Warning Callout */
.warning-box {
  margin: 18px 0;
  background: rgba(229, 46, 46, 0.08);
  border: 1px solid rgba(229, 46, 46, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.warning-box .warn-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f87171;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.warning-box p {
  font-size: 0.84rem !important;
  color: #f3f4f6;
  line-height: 1.55;
  margin: 0 !important;
}

/* Odds Bar */
.odds-card {
  margin: 16px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.odds-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  text-align: center;
}

.odds-split {
  display: flex;
  gap: 10px;
}

.odds-box {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.odds-box.meron {
  background: rgba(229, 46, 46, 0.15);
  border: 1px solid rgba(229, 46, 46, 0.4);
}

.odds-box.wala {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.odds-box .side {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.odds-box.meron .side { color: #f87171; }
.odds-box.wala .side { color: #60a5fa; }

.odds-box .rate {
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 2px;
}

/* Content Sections */
.main-content {
  padding: 0 16px;
}

.sec {
  margin-bottom: 24px;
}

.sec h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
}

.sec h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 14px 0 8px;
}

.sec p {
  font-size: 0.88rem;
  color: #d1d5db;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* In-Content Article Images */
figure.article-img-wrap {
  margin: 18px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

figure.article-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figure.article-img-wrap figcaption {
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--muted);
  background: #15161b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}

figure.article-img-wrap figcaption::before {
  content: "📷";
  font-style: normal;
  font-size: 0.85rem;
}

/* Process Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content strong {
  font-size: 0.88rem;
  color: #fff;
  display: block;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 2px 0 0;
}

/* Data Tables (Horizontally Scrollable) */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

table.data-table th {
  background: var(--surface2);
  color: var(--gold);
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

table.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

/* Feature Grid / Silo Spokes */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.card-img {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.card-img img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  flex-grow: 1;
}

/* Rotating Silo Links (.silo-mesh) */
.silo-mesh {
  margin: 24px 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.silo-mesh-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.silo-mesh-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.silo-mesh-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface2);
  border-radius: 6px;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.silo-mesh-links a:hover {
  background: #333842;
  color: var(--gold);
}

/* CTA Box */
.cta-box {
  margin: 24px 0;
  padding: 18px;
  background: linear-gradient(135deg, rgba(229, 46, 46, 0.15), rgba(255, 184, 0, 0.1));
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius);
  text-align: center;
}

.cta-box h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}

.cta-box p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.cta-box .btn {
  display: inline-block;
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #000;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.cta-box .btn:hover {
  background: #fff;
}

/* FAQ Accordion */
details.faq-item {
  margin-bottom: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

details.faq-item summary {
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item .faq-ans {
  padding: 0 14px 12px;
  font-size: 0.82rem;
  color: #d1d5db;
  line-height: 1.5;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 10px 16px;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span {
  color: #4b5563;
}

/* Compliance Trust Bar */
.compliance-trust-bar {
  margin: 24px 16px 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.compliance-trust-bar a {
  color: #d1d5db;
  text-decoration: underline;
  margin: 0 4px;
}

.age-gate-badge {
  display: inline-block;
  padding: 2px 6px;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  border-radius: 4px;
  margin-right: 6px;
}

/* Footer */
footer.ftr {
  padding: 24px 16px 40px;
  background: #0d0e11;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: #6b7280;
  text-align: center;
}

footer.ftr p {
  margin-bottom: 8px;
}

/* Fixed Bottom Navigation (Mobile App Dock) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(18, 19, 22, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 4px;
  z-index: 999;
}

@media (min-width: 1024px) {
  .bottom-nav {
    max-width: 760px;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-item.active,
.nav-item:hover {
  color: var(--gold);
}

