/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 2rem 4rem;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 65% at 50% 38%,
      rgba(26, 92, 53, 0.52) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 45% 40% at 8% 8%,
      rgba(201, 162, 39, 0.05) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 35% 35% at 92% 82%,
      rgba(192, 57, 43, 0.07) 0%,
      transparent 60%
    );
}

.hero__suits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__suit {
  position: absolute;
  font-size: 11rem;
  opacity: 0.045;
  animation: floatSuit 9s ease-in-out infinite;
  user-select: none;
}
.hero__suit:nth-child(1) {
  top: 4%;
  left: 2%;
  animation-delay: 0s;
}
.hero__suit:nth-child(2) {
  top: 8%;
  right: 3%;
  font-size: 7rem;
  animation-delay: 2.5s;
  color: var(--red);
}
.hero__suit:nth-child(3) {
  bottom: 14%;
  left: 4%;
  font-size: 9rem;
  animation-delay: 1.2s;
  color: var(--red);
}
.hero__suit:nth-child(4) {
  bottom: 6%;
  right: 3%;
  font-size: 13rem;
  animation-delay: 3.5s;
}

.hero__body {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

/* Hero logo */
.hero__logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.hero__logo-img {
  width: 220px;
  height: 220px;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(201, 162, 39, 0.35));
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  animation: heroLogoPulse 3s ease-in-out infinite;
}
.hero__logo-img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 12px 40px rgba(201, 162, 39, 0.55));
}
@keyframes heroLogoPulse {
  0%,
  100% {
    filter: drop-shadow(0 8px 32px rgba(201, 162, 39, 0.35));
  }
  50% {
    filter: drop-shadow(0 8px 48px rgba(201, 162, 39, 0.55));
  }
}

.hero h1 {
  color: var(--gold-bright);
  text-shadow: 0 0 70px rgba(201, 162, 39, 0.28);
  margin-bottom: 1.1rem;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero__pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.hero__cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Entry Animations ── */
.hero__body > * {
  animation: fadeUp 0.65s ease both;
}
.hero__body > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero__body > *:nth-child(2) {
  animation-delay: 0.15s;
}
.hero__body > *:nth-child(3) {
  animation-delay: 0.25s;
}
.hero__body > *:nth-child(4) {
  animation-delay: 0.35s;
}
.hero__body > *:nth-child(5) {
  animation-delay: 0.45s;
}
.hero__body > *:nth-child(6) {
  animation-delay: 0.55s;
}

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats {
  background: rgba(18, 52, 32, 0.7);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.stats__item {
  text-align: center;
}
.stats__num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.stats__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ══════════════════════════════
   HOW TO PLAY
══════════════════════════════ */
.how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
  align-items: start;
}

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

.step {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(22, 62, 38, 0.38);
  border: var(--border);
  transition:
    background 0.22s,
    border-color 0.22s,
    transform 0.22s;
}
.step:hover {
  background: rgba(22, 62, 38, 0.6);
  border-color: rgba(201, 162, 39, 0.26);
  transform: translateX(5px);
}
.step__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #0b1f12;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--cream);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.step p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Rankings Panel */
.rankings {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: rgba(22, 62, 38, 0.38);
  border: var(--border);
}
.rankings h3 {
  font-size: 1.05rem;
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--border);
}
.rankings__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  transition: background 0.18s;
}
.rank-row:hover {
  background: rgba(201, 162, 39, 0.07);
}
.rank-badge {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.28);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-name {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.88rem;
  min-width: 108px;
}
.rank-desc {
  color: var(--muted);
  font-size: 0.78rem;
}
.rankings__note {
  margin-top: 1.1rem;
  padding: 0.65rem 0.85rem;
  background: rgba(201, 162, 39, 0.07);
  border-left: 2px solid rgba(201, 162, 39, 0.32);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
.rankings__note strong {
  color: var(--cream);
}

/* ══════════════════════════════
   GAME MODES
══════════════════════════════ */
.modes__intro {
  color: var(--muted);
  margin-top: 0.4rem;
  margin-bottom: 2.8rem;
}
.modes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}
.mode-card {
  padding: 2.3rem 1.8rem;
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: default;
}
.mode-card__icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.mode-card h3 {
  color: var(--gold-bright);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.mode-card p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

/* ══════════════════════════════
   SCORING
══════════════════════════════ */
.scoring__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}
.scoring-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
}
.scoring-card h3 {
  color: var(--gold-bright);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.scoring-card__sub {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}
.scenario {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 9px;
  margin-bottom: 0.7rem;
  border-left: 3px solid;
}
.scenario--win {
  background: rgba(76, 175, 125, 0.14);
  border-color: var(--win-green);
}
.scenario--bonus {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--gold);
}
.scenario--lose {
  background: rgba(192, 57, 43, 0.13);
  border-color: var(--red);
}
.scenario__label {
  font-size: 0.86rem;
  color: var(--cream);
}
.scenario__val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.scenario--win .scenario__val {
  color: #66d49a;
}
.scenario--bonus .scenario__val {
  color: var(--gold-bright);
}
.scenario--lose .scenario__val {
  color: #e07060;
}
.scenario__note {
  font-size: 0.79rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.prize-table {
  width: 100%;
  border-collapse: collapse;
}
.prize-table th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 0.45rem 0;
  border-bottom: var(--border);
  font-weight: 500;
}
.prize-table td {
  padding: 0.7rem 0;
  font-size: 0.9rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(201, 162, 39, 0.06);
}
.prize-table tr:last-child td {
  border-bottom: none;
}
.prize--gold {
  color: var(--gold-bright);
  font-weight: 600;
}
.prize--lose {
  color: #e07060;
}

/* ══════════════════════════════
   SCREENSHOTS
══════════════════════════════ */
.screens__intro {
  color: var(--muted);
  margin-top: 0.4rem;
  margin-bottom: 2.8rem;
}
.screens__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.screen-card {
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  border: var(--border);
  background: rgba(22, 62, 38, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(201, 162, 39, 0.18);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.screen-card:hover {
  transform: scale(1.025);
  border-color: rgba(201, 162, 39, 0.32);
}
.screen-card__label {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(8, 26, 15, 0.97));
  padding: 1.4rem 0.9rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cream);
  text-align: left;
}

/* ══════════════════════════════
   CTA BAND
══════════════════════════════ */
.cta-band {
  text-align: center;
  padding: 5.5rem 2rem;
}
.cta-band h2 {
  margin-bottom: 0.9rem;
}
.cta-band p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 2.4rem;
}
.cta-band__btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
