/* ============================================================
   index.css — AstroVault
   Homepage only: hero, stats, trust band, game cards,
   how-it-works, about section, crypto note.
   Requires base.css to be loaded first.
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5vw 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--violet-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '✦';
  font-size: 0.65rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 0 80px var(--brand-glow);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--brand-light);
}

.hero-sub {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.stat-num span {
  color: var(--brand-light);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.hero-bir-seal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  transition: border-color var(--transition), color var(--transition);
}
.hero-bir-seal-link:hover {
  border-color: var(--brand-light);
  color: var(--text);
}
.hero-bir-seal-badge {
  height: 28px;
  width: auto;
  display: block;
}

/* ── TRUST BAND ── */
.trust-band {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item span:first-child {
  font-size: 1.1rem;
}

/* ── GAME CARDS ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  position: relative;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.game-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}

.game-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.game-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.game-info {
  padding: 1.1rem 1.2rem 1.3rem;
}

.game-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.game-genre {
  font-size: 0.72rem;
  color: var(--violet-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game-dot {
  color: var(--border);
  font-size: 0.6rem;
}

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

.game-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.game-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.game-price small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin-top: -2px;
}

.btn-buy {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-buy:hover {
  background: var(--brand-light);
  transform: scale(1.04);
}

.crypto-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.crypto-note span:first-child {
  color: var(--gold);
}

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.how-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.how-step {
  font-size: 0.7rem;
  color: var(--brand-light);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.how-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

/* ── ABOUT ── */
.about-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1rem;
}

.about-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .hero-stats {
    gap: 2rem;
  }
  .trust-band {
    gap: 2rem;
  }
}