/* =========================================================
   App Download Landing Page — Card Game Theme
   Palette: deep red + rich black + gold accent (playing-card feel)
========================================================= */
:root {
  --red: #c0122f;
  --red-dark: #8b0d22;
  --black: #16121a;
  --black-soft: #241c2b;
  --gold: #f0b429;
  --gold-dark: #d69a1a;
  --green: #16a34a;
  --text-muted: #6b7280;
  --card-radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #faf7f2;
  color: #1f2937;
  line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top mini nav ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 3px solid var(--gold);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.topbar .brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar .brand i { color: var(--gold); }
.btn-nav-download {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .9rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at top, var(--red-dark), var(--black) 75%);
  color: #fff;
  padding: 40px 0 34px;
  text-align: center;
  overflow: hidden;
}
.card-suits-bg {
  position: absolute;
  inset: 0;
  font-size: 8rem;
  color: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: space-around;
  letter-spacing: 30px;
  pointer-events: none;
  white-space: nowrap;
}
.hero-inner { position: relative; z-index: 1; }

.hero-app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  border: 3px solid var(--gold);
}
.hero-app-icon img { width: 100%; height: 100%; object-fit: cover; }

.hero-title { font-size: 2rem; font-weight: 800; }
.hero-tagline { color: #f0d9c8; font-size: 1rem; margin-bottom: 20px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat-val {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold);
}
.hero-stats .stat-lbl {
  display: block;
  font-size: .75rem;
  color: #d8c9c1;
}

/* ---------- The BIG download button (above the fold) ---------- */
.btn-download-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--green), #22c55e);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  padding: 18px 46px;
  border-radius: 60px;
  box-shadow: 0 10px 28px rgba(22,163,74,.4);
  animation: pulse-glow 2.4s ease-in-out infinite;
  max-width: 92%;
}
.btn-download-hero i { font-size: 1.4rem; }
.btn-download-hero:hover { filter: brightness(1.05); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(22,163,74,.4); transform: scale(1); }
  50%      { box-shadow: 0 12px 36px rgba(22,163,74,.6); transform: scale(1.02); }
}

.hero-subnote {
  margin: 14px 0 0;
  font-size: .82rem;
  color: #d8c9c1;
}

.hero-badges {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(240,180,41,.4);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
}
.badge-pill i { color: var(--gold); margin-right: 4px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--black-soft);
  padding: 14px 0;
}
.trust-grid {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #e5d9d0;
  font-weight: 600;
}
.trust-item i { color: var(--gold); margin-right: 6px; }

/* ---------- Main content ---------- */
.main-content { padding: 40px 20px 100px; }

.content-block {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 28px 26px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(22,18,26,.06);
}
.content-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  border-left: 5px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 16px;
}
.content-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red-dark);
  margin-top: 18px;
}
.content-block p { color: #374151; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: #374151;
}
.check-list li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: #faf7f2;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid #f0e6d8;
}
.feature-card i {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 10px;
  display: inline-block;
}
.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  text-align: center;
  padding: 18px 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #faf7f2);
  border: 1px solid #f0e6d8;
}
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.step-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.step-card p { font-size: .8rem; color: var(--text-muted); margin: 0; }

/* ---------- Deposit / Withdrawal ---------- */
.dw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dw-card {
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  color: #fff;
}
.deposit-card { background: linear-gradient(135deg, #16a34a, #22c55e); }
.withdraw-card { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.dw-card i { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.dw-label { font-size: .85rem; opacity: .9; }
.dw-amount { font-size: 1.8rem; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid #eee2d2;
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #faf7f2;
  border: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--black);
}
.faq-question i { transition: transform .25s ease; color: var(--red); flex-shrink: 0; margin-left: 12px; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  background: #fff;
}
.faq-answer p { padding: 0 18px 16px; margin: 0; color: #4b5563; font-size: .9rem; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta p { color: var(--text-muted); }

/* ---------- Disclaimer ---------- */
.disclaimer-block {
  background: #fff8e6;
  border: 1px solid #f0d9a0;
}
.disclaimer-block p { color: #7a5c00; font-size: .85rem; margin: 0; }
.disclaimer-block i { color: #d69a1a; margin-right: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #f8f9fa;
  color: #b9aea0;
  text-align: center;
  padding: 20px;
  font-size: .82rem;
  text-align: center;
}

.footer-links {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    padding: 0 5px;
}

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


/* ---------- Sticky mobile download bar ---------- */
.sticky-download-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--black);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  padding: 10px 16px;
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 100;
}
.sticky-download-bar.visible { transform: translateY(0); }
.sticky-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.sticky-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.sticky-text strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-text span { font-size: .75rem; color: #cbb9ac; }
.btn-sticky-download {
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem; }
  .hero-stats { gap: 18px; }
  .btn-download-hero { font-size: 1.05rem; padding: 15px 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .dw-grid { grid-template-columns: 1fr; }
  .content-block { padding: 22px 18px; }
  .content-block h2 { font-size: 1.25rem; }
  body { padding-bottom: 76px; } /* space for sticky bar */
}
