@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --bg-dark: #070b11;
  --bg-body: #0a0f16;
  --bg-surface: #0f1722;
  --bg-surface-elevated: #152232;
  --bg-card: #121c28;
  --bg-card-hover: #182637;

  --border-subtle: #192635;
  --border-card: #1e3044;
  --border-hover: #2b4562;

  --green: #10b981;
  --green-bright: #22c55e;
  --green-dark: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.35);
  --green-subtle: rgba(16, 185, 129, 0.12);

  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --gold-subtle: rgba(245, 158, 11, 0.12);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  --max-w: 1140px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-body);
  background-image:
    radial-gradient(at 10% 5%, rgba(34, 197, 94, 0.09) 0px, transparent 45%),
    radial-gradient(at 90% 15%, rgba(245, 158, 11, 0.08) 0px, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  font-size: 15px;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  /* Space for mobile sticky CTA bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

h1,
h2,
h3,
h4,
.brand-font {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

a:hover {
  text-decoration: none;
  color: #4ade80;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   MOBILE-FIRST HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 22, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  width: 100%;
}

.header-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.brand-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--green-bright);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
}

.nav-menu {
  display: none;
  /* Hidden on mobile by default */
}

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

.btn-apk-dl {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.btn-nav-reg {
  padding: 6px 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111827;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--gold-glow);
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.btn-nav-login {
  padding: 6px 12px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--green-glow);
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 10px;
  }

  .brand-logo {
    height: 28px;
  }

  .brand-badge {
    display: none;
    /* Conserve space on narrow mobile screens */
  }

  .btn-nav-login {
    display: none;
    /* Moved to mobile dropdown & sticky bar to prevent header wrapping */
  }

  .btn-nav-reg {
    padding: 6px 10px;
    font-size: 0.74rem;
  }
}

/* Mobile Dropdown Menu */
.mobile-nav-dropdown {
  display: none;
  width: 100%;
  background: rgba(14, 21, 30, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-card);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-dropdown.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideDownMenu 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-subtle);
  min-height: 44px;
  /* Touch friendly */
}

.mobile-nav-link.active {
  border-color: var(--green-bright);
  color: var(--green-bright);
  background: var(--green-subtle);
}

.mobile-menu-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.btn-menu-apk {
  padding: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  display: block;
}

.btn-menu-reg {
  padding: 10px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  display: block;
}

/* ==========================================================================
   DESKTOP HEADER OVERRIDES
   ========================================================================== */
@media (min-width: 900px) {
  .site-header {
    padding: 12px 24px;
  }

  .brand-logo {
    height: 42px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-nav-dropdown {
    display: none !important;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .nav-link {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.2s;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #fff;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
  }

  .btn-apk-dl {
    display: inline-flex;
  }

  .btn-nav-reg,
  .btn-nav-login {
    padding: 8px 20px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   MAIN CONTENT WRAPPER
   ========================================================================== */
.main-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 14px 40px;
  width: 100%;
}

@media (min-width: 769px) {
  .main-content {
    padding: 32px 20px 60px;
  }
}

/* ==========================================================================
   MOBILE-FIRST HERO SECTION
   ========================================================================== */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px 0 28px;
}

@media (min-width: 960px) {
  .hero-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    padding: 36px 0 44px;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-subtle);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-title {
  font-size: clamp(1.45rem, 5.5vw, 2.75rem);
  line-height: 1.2;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(120deg, #22c55e 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* MOBILE SEARCH INTENT 4-TOUCH ACTION HUB */
.mobile-search-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 6px 0;
}

.search-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
  min-height: 52px;
}

.search-hub-card:active {
  transform: scale(0.97);
  background: var(--bg-card-hover);
}

.search-hub-card.primary {
  border-color: rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(15, 23, 34, 0.9) 100%);
}

.search-hub-card.gold {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 23, 34, 0.9) 100%);
}

.search-hub-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.search-hub-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-hub-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.search-hub-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* 1-TAP INVITATION CODE CARD */
.invite-code-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 10px;
}

.invite-code-info {
  display: flex;
  flex-direction: column;
}

.invite-code-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-bright);
}

.invite-code-val {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

.btn-copy-code {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111827;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px var(--gold-glow);
  transition: all 0.2s;
  min-height: 38px;
}

.btn-copy-code.copied {
  background: #22c55e !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px var(--green-glow) !important;
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #111c28;
  border: 1px solid var(--green-bright);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn-primary-hero {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px var(--green-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 48px;
  /* Touch target */
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--green-glow);
  color: #fff;
}

.btn-secondary-hero {
  width: 100%;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  min-height: 48px;
  /* Touch target */
}

.btn-secondary-hero:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-hover);
}

@media (min-width: 480px) {

  .btn-primary-hero,
  .btn-secondary-hero {
    width: auto;
  }
}

/* HERO STATS (Mobile 4-Column Compact Strip) */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .hero-stats-row {
    gap: 12px;
    padding-top: 16px;
  }
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .stat-item {
    padding: 10px 12px;
  }
}

.stat-value {
  font-size: 0.96rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 1.15rem;
    line-height: 1.2;
  }
}

.stat-value.gold {
  color: var(--gold-bright);
}

.stat-value.green {
  color: var(--green-bright);
}

.stat-label {
  font-size: 0.6rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-top: 3px;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.4px;
  }
}

/* HERO RIGHT SHOWCASE CARD */
.hero-showcase-card {
  background: linear-gradient(160deg, #131f2e 0%, #0c141f 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.showcase-header {
  padding: 10px 14px;
  background: rgba(16, 24, 36, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green-bright);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
}

.showcase-media {
  width: 100%;
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7.6;
  object-fit: cover;
  display: block;
}

.showcase-footer {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-surface);
}

.showcase-details {
  display: flex;
  flex-direction: column;
}

.showcase-heading {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.showcase-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-showcase-action {
  padding: 7px 14px;
  background: var(--green-subtle);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ==========================================================================
   QUICK JUMP BAR (TOUCH HORIZONTAL SCROLL)
   ========================================================================== */
.quick-jump-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.quick-jump-bar::-webkit-scrollbar {
  display: none;
}

.jump-pill {
  white-space: nowrap;
  padding: 7px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.2s;
}

.jump-pill:hover {
  border-color: var(--green-bright);
  color: #fff;
}

.jump-pill.active {
  background: var(--green-bright);
  color: #070b11;
  border-color: var(--green-bright);
  font-weight: 800;
}

/* ==========================================================================
   KEY PLATFORM HIGHLIGHTS (BENTO GRID)
   ========================================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

@media (min-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (min-width: 960px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.highlight-icon-wrap {
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: 2px;
}

.highlight-title {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 800;
}

.highlight-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PORTAL CONTENT STREAM & SIDEBAR
   ========================================================================== */
.portal-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .portal-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 32px;
    align-items: start;
  }
}

.article-stream {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CONTENT PANELS */
.content-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  .content-panel {
    padding: 28px 24px;
    border-radius: var(--radius-xl);
  }
}

.panel-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-subtle);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green-bright);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.content-panel h2 {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.content-panel h3 {
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin: 20px 0 8px;
}

.content-panel p,
.content-panel li {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-panel strong {
  color: #ffffff;
}

.content-panel ul,
.content-panel ol {
  padding-left: 18px;
  margin-bottom: 16px;
}

/* BANNER SHOWCASE WITHIN PANELS */
.banner-showcase-panel {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  margin: 18px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.banner-showcase-panel img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-meta-bar {
  padding: 8px 12px;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (min-width: 480px) {
  .banner-meta-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.banner-meta-tag {
  color: var(--gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   GAME HUB CARDS
   ========================================================================== */
.games-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
}

@media (min-width: 600px) {
  .games-hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.game-hub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.game-hub-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.game-hub-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.game-hub-pill.multiplier {
  background: var(--gold-subtle);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-bright);
}

.game-hub-pill.type {
  background: var(--green-subtle);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green-bright);
}

.game-hub-title {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}

.game-hub-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.game-rules-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.btn-game-play {
  width: 100%;
  padding: 10px 0;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  text-align: center;
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   ROADMAP TIMELINE
   ========================================================================== */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.timeline-step {
  display: flex;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 14px;
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   TABLES (SCROLLABLE & MOBILE FRIENDLY)
   ========================================================================== */
.table-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px dashed rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-xs);
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 6px;
}

@media (min-width: 769px) {
  .table-scroll-hint {
    display: none;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 12px 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  -webkit-overflow-scrolling: touch;
}

.portal-table {
  width: 100%;
  min-width: 480px;
  /* Forces horizontal scroll on mobile */
  border-collapse: collapse;
  background: var(--bg-surface);
  font-size: 0.86rem;
}

.portal-table th,
.portal-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.portal-table th:first-child,
.portal-table td:first-child {
  position: sticky;
  left: 0;
  background: #0d1520;
  z-index: 2;
  font-weight: 700;
  border-right: 1px solid var(--border-card);
}

.portal-table th {
  background: #101a27;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-table td {
  color: var(--text-muted);
}

/* ==========================================================================
   CALLOUT STRIPS
   ========================================================================== */
.alert-strip {
  background: var(--gold-subtle);
  border-left: 4px solid var(--gold-bright);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 16px;
  margin: 18px 0;
}

.alert-strip p {
  margin: 0;
  color: #fde68a;
  font-size: 0.9rem;
}

.info-strip {
  background: var(--green-subtle);
  border-left: 4px solid var(--green-bright);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 16px;
  margin: 18px 0;
}

.info-strip p {
  margin: 0;
  color: #d1fae5;
  font-size: 0.9rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-card summary {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.94rem;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  /* Touch friendly */
}

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

.faq-card summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold-bright);
  font-weight: 400;
}

.faq-card[open] summary::after {
  content: '−';
  color: var(--green-bright);
}

.faq-card p {
  padding: 0 16px 14px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.88rem;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.portal-cta-banner {
  background: linear-gradient(135deg, #0e1e2c 0%, #071017 100%);
  border: 1px solid #20405c;
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  margin: 32px 0 20px;
}

.cta-banner-h2 {
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-banner-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 18px;
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .sidebar-sticky {
    position: sticky;
    top: 80px;
    gap: 20px;
  }
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
}

.widget-card-title {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
}

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

.widget-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 44px;
}

.widget-cta-box {
  text-align: center;
  background: linear-gradient(145deg, #132738 0%, #0d1a26 100%);
  border: 1px solid #23435e;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
}

.widget-cta-heading {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}

.widget-cta-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ==========================================================================
   STICKY BOTTOM ACTION BAR (MOBILE ONLY)
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 14, 22, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-card);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

.mobile-bottom-inner {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-mobile-sticky-apk {
  flex: 0 0 auto;
  padding: 0 10px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.btn-mobile-sticky-login {
  flex: 0 0 auto;
  padding: 0 10px;
  height: 40px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hover);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.btn-mobile-sticky-reg {
  flex: 1;
  height: 40px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 3px 12px var(--green-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

/* ==========================================================================
   FLOATING TELEGRAM
   ========================================================================== */
.telegram-float {
  position: fixed;
  right: 12px;
  bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  /* Placed above mobile sticky bar */
  z-index: 997;
  display: block;
  transition: transform 0.2s;
  filter: drop-shadow(0 4px 14px rgba(0, 136, 204, 0.45));
}

@media (min-width: 769px) {
  .telegram-float {
    bottom: 24px;
    right: 24px;
  }
}

.telegram-float img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

@media (min-width: 769px) {
  .telegram-float img {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 16px 30px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-top: 8px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-legal {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.6;
}