/* RM98 Myanmar - High-Performance Mobile-First App Shell */
:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #111a2e;
  --bg-card: #18233c;
  --bg-elevated: #1e2c4a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gold-primary: #f59e0b;
  --gold-hover: #d97706;
  --emerald-accent: #10b981;
  --cyan-accent: #06b6d4;
  --rose-accent: #f43f5e;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.3);
  --font-stack: "Pyidaungsu", "Padauk", "Myanmar Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-w: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* space for sticky bottom nav */
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fbbf24;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.brand-badge {
  background: linear-gradient(135deg, var(--gold-primary), #b45309);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--emerald-accent);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0.6; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-header-login-btn {
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.cta-header-login-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.cta-header-btn {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  color: #000;
}

.global-cta-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(17, 26, 46, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 28px 20px;
  margin: 36px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.global-cta-card h3 {
  font-size: 1.35rem;
  color: #fff;
  margin: 10px 0 8px;
}

.global-cta-card p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 18px;
  font-size: 0.95rem;
}

.cta-buttons-wrap {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-tab-play {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 16px;
  font-size: 0.82rem;
}

.breadcrumbs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumbs-inner a {
  color: var(--text-muted);
}

.breadcrumbs-inner a:hover {
  color: var(--gold-primary);
}

.breadcrumbs-separator {
  color: var(--text-dim);
}

/* Main Container */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 16px;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 28px 20px;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 1.85rem;
  line-height: 1.35;
  margin-bottom: 14px;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.35rem;
  }
}

.hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), #d97706);
  color: #000;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  color: var(--gold-primary);
}

/* Callout Modules */
.eeat-box {
  background: rgba(30, 44, 74, 0.55);
  border-left: 4px solid var(--cyan-accent);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.eeat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.answer-capsule {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(17, 26, 46, 0.7) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 28px;
}

.answer-capsule-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.answer-capsule-text {
  font-size: 1.02rem;
  color: #f1f5f9;
  line-height: 1.6;
  font-weight: 500;
}

/* Section Headings */
h2 {
  font-size: 1.45rem;
  line-height: 1.35;
  margin: 34px 0 16px;
  font-weight: 800;
  color: #fff;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

h3 {
  font-size: 1.18rem;
  margin: 22px 0 12px;
  font-weight: 700;
  color: var(--gold-primary);
}

p {
  margin-bottom: 16px;
  color: #cbd5e1;
}

/* Structured Data Tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin: 20px 0 28px;
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: var(--bg-secondary);
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: #cbd5e1;
}

tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

tr:last-child td {
  border-bottom: none;
}

/* Walkthrough Steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 28px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  background: linear-gradient(135deg, var(--gold-primary), #b45309);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  min-width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 700;
}

.step-body p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Card Grid for Silo Spokes */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 8px;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Accordion */
.faq-section {
  margin: 32px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--gold-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-content {
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* Responsible Gaming Box */
.responsible-box {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 12px;
  padding: 20px;
  margin: 36px 0 24px;
}

.responsible-box h3 {
  color: var(--rose-accent);
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.responsible-box p {
  color: #fda4af;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.age-badge {
  display: inline-block;
  background: var(--rose-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

/* Bottom Sticky Navigation (App Shell) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding: 8px 6px;
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s ease;
  min-width: 58px;
}

.nav-tab.active,
.nav-tab:hover {
  color: var(--gold-primary);
}

.nav-tab-icon {
  font-size: 1.15rem;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 36px 16px 20px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-copy {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  text-align: center;
}
