/* ==========================================================================
   DIWA RICH (DIWARICH) - OFFICIAL COLOR TRADING & APK PORTAL STYLESHEET
   Native Performance CSS - Clean, Responsive, Mobile-First, Emoji-Free
   ========================================================================== */

:root {
  /* Brand Luxury Palette */
  --bg: #FDFBF9;
  --bg-subtle: #F7F3EE;
  --surface: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-elevated: #FFFDFC;
  --surface-tint: #FFF6F2;

  /* Borders */
  --border: #EFE4DC;
  --border-subtle: #F6EDE7;
  --border-hover: #FE5C36;
  --border-coral: #FFD4C8;

  /* Signature Diwa Vibrant Coral / Crimson */
  --coral-primary: #FE5C36;
  --coral-light: #FF7B59;
  --coral-hover: #E8451D;
  --coral-dark: #C9330F;
  --coral-gradient: linear-gradient(135deg, #FE5C36 0%, #FA3820 100%);
  --coral-subtle: #FFF2EE;
  --coral-border: #FFD5C7;
  --coral-glow: rgba(254, 92, 54, 0.32);

  /* Royal Gold / Amber Accents */
  --gold: #D97706;
  --gold-light: #F59E0B;
  --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --gold-subtle: #FFFBEB;
  --gold-border: #FDE68A;

  /* Official Download Green (Android APK Native) */
  --apk-green: #059669;
  --apk-green-light: #10B981;
  --apk-green-dark: #047857;
  --apk-green-gradient: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
  --apk-green-glow: rgba(16, 185, 129, 0.45);

  /* Win Go Colors */
  --wingo-green: #10B981;
  --wingo-green-dark: #059669;
  --wingo-green-subtle: #ECFDF5;

  --wingo-red: #EF4444;
  --wingo-red-dark: #DC2626;
  --wingo-red-subtle: #FEF2F2;

  --wingo-violet: #8B5CF6;
  --wingo-violet-dark: #7C3AED;
  --wingo-violet-subtle: #F5F3FF;

  /* Typography */
  --text-heading: #1B1513;
  --text: #3D332F;
  --text-muted: #6E625D;
  --text-dim: #988D87;

  /* Shadows */
  --card-shadow: 0 4px 20px rgba(230, 95, 60, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 10px 30px rgba(230, 95, 60, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);

  /* Layout */
  --container-max: 1080px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  padding-bottom: 84px; /* Space for sticky mobile download bar */
}

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

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

a:hover {
  color: var(--coral-hover);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ==========================================================================
   Top Announcement Bar & Notice
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #181210 0%, #2A1A14 50%, #181210 100%);
  color: #FFF2EC;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border-bottom: 1px solid rgba(254, 92, 54, 0.3);
}

.top-badge {
  background: var(--coral-gradient);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-link {
  color: #FCD34D;
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 700;
}

.top-bar-link:hover {
  color: #FFF;
}

.notice-strip {
  background: var(--coral-subtle);
  border-bottom: 1px solid var(--coral-border);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-heading);
}

.notice-pill {
  background: var(--coral-primary);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.notice-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Sticky Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand-logo {
  height: 42px;
  width: auto;
  border-radius: 8px;
}

.nav-brand-text {
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.nav-brand-text span {
  color: var(--coral-primary);
}

.nav-actions-desktop {
  display: none;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--coral-primary);
}

.nav-cta-download {
  background: var(--apk-green-gradient);
  color: #FFF;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 3px 12px var(--apk-green-glow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: navPulse 2.8s infinite ease-in-out;
}

@keyframes navPulse {
  0%, 100% { box-shadow: 0 3px 12px var(--apk-green-glow); }
  50% { box-shadow: 0 5px 18px rgba(16, 185, 129, 0.7); }
}

.nav-cta-download:hover {
  color: #FFF;
  transform: translateY(-1px);
}

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

.nav-mobile-dl-btn {
  background: var(--apk-green-gradient);
  color: #FFF;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px var(--apk-green-glow);
}

.nav-hamburger-btn {
  background: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger-btn .bar {
  width: 22px;
  height: 2.5px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (min-width: 890px) {
  .nav-actions-desktop {
    display: flex;
  }
  .nav-mobile-actions {
    display: none;
  }
}

/* Drawer Menu (Mobile) */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -310px;
  width: 290px;
  height: 100%;
  background: #FFF;
  z-index: 999;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.drawer-close-btn {
  background: var(--bg-subtle);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-content {
  padding: 20px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-link {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-weight: 600;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
}

.drawer-link:hover {
  background: var(--coral-subtle);
  border-color: var(--coral-border);
  color: var(--coral-primary);
}

/* ==========================================================================
   Main Container Layout
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: radial-gradient(circle at top right, #FFF4EF 0%, #FFFFFF 65%, #FFF8F4 100%);
  border: 1.5px solid var(--coral-border);
  border-radius: var(--radius-xl);
  padding: 32px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(254, 92, 54, 0.08);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(254, 92, 54, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wingo-green-subtle);
  border: 1px solid #A7F3D0;
  color: var(--wingo-green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-logo-box {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-app-icon:hover {
  transform: scale(1.05);
}

.hero h1 {
  font-size: 1.85rem;
  line-height: 1.28;
  color: var(--text-heading);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #FE5C36 0%, #DC2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-badge-pill {
  background: #FFF;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hero-badge-pill.gold {
  background: var(--gold-subtle);
  border-color: var(--gold-border);
  color: var(--gold);
}

.hero-badge-pill.green {
  background: var(--wingo-green-subtle);
  border-color: #A7F3D0;
  color: var(--wingo-green-dark);
}

/* ==========================================================================
   ANIMATED DOWNLOAD NOW BUTTON (PRIMARY FOCUS)
   ========================================================================== */
.hero-download-wrapper {
  max-width: 440px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-download-hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  background: var(--apk-green-gradient);
  color: #FFF;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 6px 28px var(--apk-green-glow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: heroDownloadPulse 2.2s infinite ease-in-out;
}

@keyframes heroDownloadPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 26px var(--apk-green-glow);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 10px 36px rgba(16, 185, 129, 0.65);
  }
}

/* Shimmer shine wave animation across button */
.btn-download-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: shimmerSweep 3s infinite;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  35% { left: 100%; }
  100% { left: 100%; }
}

.btn-download-hero:hover {
  color: #FFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 36px var(--apk-green-glow);
}

.download-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-arrow-svg {
  width: 22px;
  height: 22px;
  fill: #FFF;
  animation: arrowBounce 1.6s infinite ease-in-out;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.btn-download-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-download-title {
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.btn-download-meta {
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0.9;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Secondary GIF container from diwarich.co */
.gif-download-box {
  max-width: 320px;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gif-download-box:hover {
  transform: scale(1.03);
}

.gif-download-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* ==========================================================================
   Quick Stats Grid
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

@media (min-width: 680px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.stat-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-heading);
  display: block;
  margin-bottom: 2px;
}

.stat-val.coral { color: var(--coral-primary); }
.stat-val.green { color: var(--wingo-green-dark); }
.stat-val.gold { color: var(--gold); }

.stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Cards & Content Blocks
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.card-title-badge {
  background: var(--coral-subtle);
  color: var(--coral-primary);
  border: 1px solid var(--coral-border);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-p {
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.card-p:last-child {
  margin-bottom: 0;
}

/* Visual Banners from diwarich.co */
.diwa-banner-card {
  width: 100%;
  margin: 16px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.diwa-banner-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3-Column Highlights Grid */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.feature-mini-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: left;
}

.feature-mini-badge {
  display: inline-block;
  background: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-mini-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.feature-mini-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Gift Code Box
   ========================================================================== */
.gift-card {
  background: radial-gradient(circle at top left, #FFF8EB 0%, #FFFFFF 70%);
  border: 1.5px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.gift-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

@media (min-width: 540px) {
  .gift-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gift-badge {
  display: inline-flex;
  align-items: center;
  background: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
}

.gift-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gift-box {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

@media (min-width: 520px) {
  .gift-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gift-code-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gift-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-heading);
  background: var(--bg-subtle);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px dashed var(--border);
}

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

.btn-copy-code {
  background: var(--surface);
  color: var(--text-heading);
  border: 1.5px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  border-color: var(--coral-primary);
  color: var(--coral-primary);
  background: var(--coral-subtle);
}

.gift-btn {
  background: var(--gold-gradient);
  color: #FFF;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.gift-btn:hover {
  color: #FFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */
.ez-toc-container {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
}

.ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.ez-toc-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
}

.ez-toc-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ez-toc-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ez-toc-container.ez-toc-collapsed .ez-toc-list {
  display: none;
}

.ez-toc-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ez-toc-link:hover {
  color: var(--coral-primary);
  padding-left: 4px;
}

/* ==========================================================================
   Games Grid Showcase
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

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

.game-item {
  background: var(--surface-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-item:hover {
  transform: translateY(-3px);
  border-color: var(--coral-primary);
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
}

.game-badge.hot {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.game-badge.new {
  background: #E0E7FF;
  color: #4338CA;
  border: 1px solid #A5B4FC;
}

.game-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
  margin-top: 4px;
}

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

/* Chips for Win Go */
.wingo-chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.chip {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #FFF;
}

.chip.green { background: var(--wingo-green); }
.chip.violet { background: var(--wingo-violet); }
.chip.red { background: var(--wingo-red); }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

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

.comp-table th {
  background: #1E1715;
  color: #FFF;
  font-weight: 800;
  padding: 12px 14px;
  white-space: nowrap;
}

.comp-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
  white-space: nowrap;
}

.comp-table tr:nth-child(even) td {
  background: var(--surface-elevated);
}

.comp-table tr:hover td {
  background: var(--coral-subtle);
}

.comp-table td.hl {
  font-weight: 800;
  color: var(--coral-primary);
}

.comp-table td.hl-green {
  font-weight: 800;
  color: var(--wingo-green-dark);
}

/* ==========================================================================
   Step-by-Step Guide Grid
   ========================================================================== */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

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

.guide-box {
  background: var(--surface-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  position: relative;
}

.guide-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.guide-box-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-heading);
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral-primary);
  color: #FFF;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-item strong {
  color: var(--text-heading);
}

/* ==========================================================================
   Alert Boxes
   ========================================================================== */
.alert-box {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.alert-box.info {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: #1E40AF;
}

.alert-box.warning {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  color: #92400E;
}

.alert-box.danger {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  color: #991B1B;
}

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

.faq-item {
  background: var(--surface-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--coral-primary);
}

.faq-btn {
  width: 100%;
  background: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  transition: color 0.2s ease;
}

.faq-btn:hover {
  color: var(--coral-primary);
}

.faq-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--coral-primary);
}

.faq-a {
  display: none;
  padding: 0 18px 18px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  border-top: 1px dashed var(--border-subtle);
  margin-top: -2px;
  padding-top: 14px;
}

.faq-item.active .faq-a {
  display: block;
}

/* ==========================================================================
   Keywords SEO Box
   ========================================================================== */
.kw-block {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
}

.kw-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.kw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kw-tag {
  background: #FFF;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.kw-tag:hover {
  border-color: var(--coral-primary);
  color: var(--coral-primary);
}

/* ==========================================================================
   Social Media Channels Block
   ========================================================================== */
.social-channels-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0;
}

.social-channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-channel-item:hover {
  transform: translateY(-2px);
  border-color: var(--coral-primary);
  color: var(--coral-primary);
}

.social-channel-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #17110F;
  color: #C7BCB8;
  padding: 38px 16px 84px;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (min-width: 769px) {
  .footer {
    padding-bottom: 40px;
  }
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: #FFF;
}

.footer-brand-name span {
  color: var(--coral-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #E2D7D3;
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #FE5C36;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--coral-primary);
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #A39691;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #8C807C;
}

@media (min-width: 560px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   MOBILE STICKY FLOATING ACTION BAR (ONLY DOWNLOAD NOW WITH ANIMATION)
   ========================================================================== */
.floating-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(23, 17, 15, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 14px;
  z-index: 997;
  border-top: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

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

.bar-btn-download-only {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  background: var(--apk-green-gradient);
  color: #FFF;
  border-radius: 35px;
  font-weight: 900;
  font-size: 1.08rem;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--apk-green-glow);
  position: relative;
  overflow: hidden;
  animation: barDownloadPulse 2.4s infinite ease-in-out;
}

@keyframes barDownloadPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 18px var(--apk-green-glow);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.75);
  }
}

.bar-btn-download-only::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: shimmerSweep 3s infinite;
}

.bar-dl-text {
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bar-dl-meta {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

/* ==========================================================================
   Floating Toast
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #181210;
  color: #FFF;
  border: 1px solid #10B981;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}

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