:root {
  --bg: #0b0f15;
  --shell-bg: #111722;
  --surface: #172130;
  --surface-hover: #1e2b3e;
  --surface-active: #24344c;
  --border: rgba(255, 255, 255, 0.09);
  --border-active: rgba(0, 230, 118, 0.35);
  
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --green: #00e676;
  --green-hover: #00c853;
  --green-glow: rgba(0, 230, 118, 0.2);
  
  --gold: #ffb300;
  --gold-hover: #ffa000;
  --gold-glow: rgba(255, 179, 0, 0.2);
  
  --red: #ff5252;
  --blue: #448aff;
  
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-main: "Pyidaungsu", "Padauk", "Myanmar Text", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background: var(--bg);
  background-image: radial-gradient(circle at 50% 0%, rgba(0, 230, 118, 0.05) 0%, transparent 60%);
  display: flex;
  justify-content: center;
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 430px Mobile App Shell (JLBet Standard) */
.app-shell {
  width: 100%;
  max-width: 440px;
  background: var(--shell-bg);
  min-height: 100vh;
  padding-bottom: 84px;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

/* Sticky Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 23, 34, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.hdr-logo {
  height: 38px;
  width: auto;
  display: block;
}

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

.hdr-btn {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.hdr-btn-login {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid var(--border);
}
.hdr-btn-login:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.hdr-btn-reg {
  background: linear-gradient(135deg, var(--green) 0%, #00c853 100%);
  color: #05260f;
  box-shadow: 0 2px 10px var(--green-glow);
}
.hdr-btn-reg:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--green-glow);
}

/* Main Content Wrapper */
main {
  flex: 1;
  padding: 14px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--green);
}
.breadcrumbs span {
  color: var(--text-dim);
}

/* Direct Answer Capsule (TL;DR for AI Overviews / Perplexity) */
.tldr {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.07) 0%, rgba(20, 29, 41, 0.8) 100%);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: #d1fae5;
  line-height: 1.5;
}
.tldr-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  color: #064e26;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Typography */
h1 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.3px;
}
h2 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 22px 0 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--green);
  border-radius: 2px;
}
h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 16px 0 8px;
  color: #e2e8f0;
}
p {
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 0.9rem;
}
strong {
  color: #fff;
}

/* Hero Banner & Media Cards */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090e15;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 23, 34, 0.95) 100%);
}
.hero-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}
.hero-badge {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.hero-badge-verified {
  color: var(--green);
  border-color: rgba(0, 230, 118, 0.3);
}

.hero-body {
  padding: 14px;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* High Conversion CTA Box */
.cta-box {
  background: linear-gradient(145deg, #182232 0%, #101824 100%);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--green-glow);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.cta-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
  color: #031e11;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(0, 230, 118, 0.4);
  position: relative;
  z-index: 2;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 230, 118, 0.6);
  color: #000;
}
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  margin-top: 8px;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--text-dim);
}
.cta-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Numbered Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
  counter-reset: step-counter;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: var(--transition);
}
.step:hover {
  border-color: var(--border-active);
  background: var(--surface-hover);
}
.step-num {
  counter-increment: step-counter;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2) 0%, rgba(0, 200, 83, 0.4) 100%);
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 3px;
}
.step-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Clean Data & Specs Tables */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}
.data-table th {
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Card Grids for Games, Silos, and Features */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
  background: var(--surface-hover);
}
.feature-media {
  width: 100%;
  aspect-ratio: 1;
  background: #090e15;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 8px;
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature-desc {
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.35;
}

/* Silo Rotating Links Grid (Zero Orphan Algorithm) */
.silo-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 22px 0;
}
.silo-box-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.silo-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.silo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  text-decoration: none;
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
}
.silo-link:hover {
  background: rgba(0, 230, 118, 0.08);
  border-color: var(--green);
  color: var(--green);
  padding-left: 15px;
}
.silo-link-arrow {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Accordion FAQs */
.faq-wrap {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-a {
  padding: 0 14px 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 8px;
}

/* Player Safeguards Compliance Trust Bar (JLBet Mandatory) */
.compliance-trust-bar {
  margin: 24px 0 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.compliance-trust-bar strong {
  color: var(--gold);
}
.compliance-trust-bar a {
  color: #ddd;
  text-decoration: underline;
  margin: 0 6px;
}
.compliance-trust-bar a:hover {
  color: var(--green);
}

/* Footer */
footer {
  padding: 20px 14px;
  background: #090d14;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-dim);
  text-align: center;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.f-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.footer-copy {
  margin-top: 8px;
}

/* Fixed Bottom Navigation (5 Icons) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  height: 64px;
  background: rgba(14, 20, 29, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding: 0 4px;
}
.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  height: 100%;
  transition: var(--transition);
}
.nav-tab svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.nav-tab.active,
.nav-tab:hover {
  color: var(--green);
}
.nav-tab-center {
  position: relative;
  top: -10px;
}
.nav-tab-center .center-pill {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green) 0%, #00b0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--green-glow);
  color: #04200f;
}
.nav-tab-center .center-pill svg {
  width: 24px;
  height: 24px;
  fill: #04200f;
}

/* Desktop centering wrapper styling */
@media (min-width: 768px) {
  body {
    padding: 24px 0;
  }
  .app-shell {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .hdr {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
  .bottom-nav {
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }
}

/* In-Content Media Cards & Visual Features */
.content-media-card {
  margin: 20px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.content-media-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.content-media-card figcaption {
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(11, 16, 24, 0.9);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.content-media-card figcaption::before {
  content: '📸';
  font-size: 0.85rem;
}

/* Feature 2-Column Media Grid */
.feature-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.media-thumb-card {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.media-thumb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 118, 0.4);
}
.media-thumb-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.media-thumb-card .thumb-label {
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  display: block;
}

/* Mid-Page Highlight Card with Media */
.visual-insight-box {
  background: linear-gradient(135deg, rgba(23, 33, 48, 0.9) 0%, rgba(13, 20, 30, 0.95) 100%);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius);
  padding: 14px;
  margin: 20px 0;
}
.visual-insight-box h3 {
  margin-top: 0;
  color: var(--green);
}

/* Footer Mesh Navigation Links */
.footer-nav-mesh {
  margin: 16px 0 12px;
  padding: 12px;
  background: rgba(11, 16, 24, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  font-size: 0.78rem;
}
.footer-nav-mesh a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-mesh a:hover {
  color: var(--green);
}


