:root {
  --bg-dark: #0a0c10;
  --bg-app: #10131a;
  --surface: #171b26;
  --surface-alt: #1e2433;
  --surface-border: rgba(255, 215, 0, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --gold-primary: #FFD700;
  --gold-hover: #F59E0B;
  --gold-gradient: linear-gradient(135deg, #FFF275 0%, #FFD700 50%, #D97706 100%);
  --gold-glow: rgba(255, 215, 0, 0.25);
  
  --jade-primary: #10B981;
  --jade-glow: rgba(16, 185, 129, 0.2);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #0A0C10;
  
  --font-stack: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Pyidaungsu", "Padauk", "Myanmar Text", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

body {
  background-color: var(--bg-dark);
  font-family: var(--font-stack);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* App Shell Container (430px mobile first, scales up gracefully) */
.app-container {
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-app);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  padding-bottom: 84px;
}

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

/* ==========================================================================
   Two-Tier Header Architecture
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 24, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.18);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  padding: 0;
}

/* Tier 1: Brand Logo & Player Action Buttons */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-login {
  background: rgba(255, 255, 255, 0.05);
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-login:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: #FFD700;
  color: #FFD700 !important;
  transform: translateY(-1px);
}

.btn-register {
  background: linear-gradient(135deg, #FFE082 0%, #FFD700 35%, #FFA000 75%, #FF8F00 100%);
  color: #0B0E14 !important;
  font-weight: 800;
  border: 1px solid #FFE082;
  box-shadow: 0 2px 14px rgba(255, 180, 0, 0.45);
}

.btn-register:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 180, 0, 0.65);
}

/* Tier 2: Category Navigation Menu Bar */
.cat-nav {
  background: rgba(18, 22, 31, 0.96);
  padding: 8px 14px;
}

.cat-nav-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

@media (min-width: 768px) {
  .cat-nav-track {
    justify-content: center;
    gap: 12px;
  }
}

.cat-nav-track::-webkit-scrollbar {
  display: none;
}

.cat-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8 !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-nav-link:visited {
  color: #94A3B8 !important;
  text-decoration: none !important;
}

.cat-nav-icon {
  font-size: 0.92rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.cat-nav-link:hover {
  color: #FFD700 !important;
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.25);
}

.cat-nav-link:hover .cat-nav-icon {
  transform: scale(1.2);
}

.cat-nav-link.active {
  color: #0B0E14 !important;
  background: linear-gradient(135deg, #FFE082 0%, #FFD700 45%, #FFA000 100%);
  font-weight: 800;
  border-color: #FFE082;
  box-shadow: 0 2px 10px rgba(255, 180, 0, 0.45);
}

.cat-nav-link.active .cat-nav-icon {
  transform: scale(1.1);
}

@media (max-width: 400px) {
  .header-top {
    padding: 8px 10px;
    gap: 6px;
  }
  .brand-logo {
    height: 36px;
    max-width: 155px;
  }
  .header-actions {
    gap: 6px;
  }
  .btn-header {
    padding: 6px 12px;
    font-size: 0.78rem;
    min-height: 34px;
  }
  .cat-nav {
    padding: 6px 8px;
  }
  .cat-nav-link {
    padding: 5px 10px;
    font-size: 0.76rem;
  }
}

/* Main Content Area */
main {
  padding: 16px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--gold-primary);
  text-decoration: none;
}

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

/* Hero Section */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

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

.hero-content {
  padding: 16px;
}

h1 {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #FFFFFF;
}

h1 span.gold {
  color: var(--gold-primary);
}

.hero-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Trust Pill Badges */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.trust-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-pill.verified {
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--jade-primary);
  background: rgba(16, 185, 129, 0.08);
}

/* Primary Action Buttons */
.cta-box {
  margin: 18px 0;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius-md);
  background: var(--gold-gradient);
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.cta-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.cta-btn.secondary {
  background: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  margin-top: 8px;
}

.cta-btn.secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* TL;DR Quick Summary Box */
.tldr-box {
  background: rgba(255, 215, 0, 0.06);
  border-left: 4px solid var(--gold-primary);
  padding: 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
  font-size: 0.88rem;
  color: #E2E8F0;
}

.tldr-box strong {
  color: var(--gold-primary);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

/* Expert Insight Callout */
.expert-insight {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 16px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.expert-insight strong {
  font-style: normal;
  color: var(--jade-primary);
}

/* Headings */
h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 26px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 18px 0 8px;
}

p {
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #CBD5E1;
}

/* Numbered Process Steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

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

.step-number {
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-weight: 900;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body {
  font-size: 0.86rem;
  color: #E2E8F0;
}

.step-body strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 2px;
}

/* Responsive Data Tables */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
  min-width: 320px;
}

th {
  background: var(--surface-alt);
  color: var(--gold-primary);
  padding: 10px 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: #CBD5E1;
  background: var(--surface);
}

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

/* Cards & Game Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

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

.game-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

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

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

.game-card-info {
  padding: 8px 10px;
}

.game-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-sub {
  font-size: 0.72rem;
  color: var(--jade-primary);
  font-weight: 600;
}

/* Rotating Silo Internal Link Mesh */
.silo-mesh-box {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 28px 0;
}

.silo-mesh-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mesh-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mesh-link {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.78rem;
  color: #E2E8F0;
  text-decoration: none;
  display: block;
  transition: all 0.15s ease;
}

.mesh-link:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* FAQ Accordions */
.faq-section {
  margin: 24px 0;
}

details {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

summary {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #FFFFFF;
  cursor: pointer;
  outline: none;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--gold-primary);
  font-size: 1.1rem;
  font-weight: 800;
}

details[open] summary::after {
  content: '−';
}

details[open] {
  border-color: var(--gold-primary);
}

.faq-body {
  padding: 0 14px 12px;
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.5;
}

/* Compliance Trust Bar & Footers */
.compliance-trust-bar {
  margin: 28px 0 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

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

.site-footer {
  text-align: center;
  padding: 20px 16px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

.site-footer a {
  color: var(--gold-primary);
  text-decoration: none;
}

/* Fixed Bottom Mobile Dock */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  height: 64px;
  background: rgba(16, 19, 26, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

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

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  gap: 3px;
  flex: 1;
  height: 100%;
  transition: color 0.15s ease;
}

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

.nav-icon {
  font-size: 1.15rem;
}

