/* Mania Jackpot — Official Website */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --bg-deep: #0a0228;
  --bg-mid: #12053a;
  --bg-card: rgba(28, 12, 72, 0.72);
  --accent-cyan: #00e5ff;
  --accent-green: #7cff6b;
  --accent-pink: #ff4fd8;
  --accent-gold: #ffd24a;
  --accent-blue: #3b8bff;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --nav-h: 72px;
  --radius: 18px;
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.25);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(10, 2, 40, 0.96), rgba(18, 5, 58, 0.88));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff5a7a, #ffd24a 45%, #7cff6b);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #1a0538;
  box-shadow: 0 0 20px rgba(255, 210, 74, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ffd24a, #7cff6b, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.55rem 1rem;
  color: #b99cff;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, text-shadow 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(132, 84, 255, 0.28);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
}

.btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(90deg, #5b4dff, #00c2ff);
  box-shadow: 0 6px 24px rgba(0, 194, 255, 0.35);
  transition: filter 0.25s, transform 0.25s, box-shadow 0.25s;
}

.btn-signup:hover {
  filter: brightness(1.18);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 194, 255, 0.5);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  padding: calc(var(--nav-h) + 1.5rem) 0 3rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(120, 40, 220, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(0, 180, 255, 0.18), transparent 55%),
    linear-gradient(160deg, #1a0a4a 0%, #0a0228 55%, #14063f 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 48px 48px, 72px 72px;
  pointer-events: none;
  opacity: 0.7;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-deco--1 {
  width: 90px;
  height: 90px;
  top: 22%;
  right: 38%;
  background: radial-gradient(circle, rgba(180, 80, 255, 0.7), transparent 70%);
  animation-delay: 0s;
}

.hero-deco--2 {
  width: 70px;
  height: 70px;
  top: 48%;
  right: 12%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.55), transparent 70%);
  animation-delay: 1.2s;
}

.hero-deco--3 {
  width: 56px;
  height: 56px;
  bottom: 18%;
  right: 42%;
  background: radial-gradient(circle, rgba(255, 210, 74, 0.5), transparent 70%);
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 26rem;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 64px;
  padding: 0 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(90deg, #3d7bff, #00d4ff);
  box-shadow: 0 10px 36px rgba(0, 180, 255, 0.45);
  transition: filter 0.25s, transform 0.25s;
  animation: fadeUp 0.8s ease 0.4s both, pulseGlow 2.4s ease-in-out 1s infinite;
}

.btn-play:hover {
  filter: brightness(1.15);
  transform: scale(1.04);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 36px rgba(0, 180, 255, 0.4); }
  50% { box-shadow: 0 12px 48px rgba(0, 229, 255, 0.7); }
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s ease 0.25s both;
}

.hero-visual img {
  width: min(100%, 380px);
  max-height: min(68vh, 520px);
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(120, 40, 255, 0.55));
}

.logo-badge {
  margin-top: -1.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.9), rgba(20, 5, 50, 0.95));
  border: 2px solid rgba(255, 210, 74, 0.65);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 210, 74, 0.25);
}

.logo-badge span:first-child {
  background: linear-gradient(90deg, #ff5a5a, #ffd24a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-badge span:last-child {
  background: linear-gradient(90deg, #7cff6b, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ——— Sections common ——— */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title--left {
  text-align: left;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-lead--left {
  text-align: left;
  margin-left: 0;
}

/* Intro + Download */
.intro {
  background: linear-gradient(180deg, #0c0039, #0a0228);
}

.intro-copy {
  max-width: 52rem;
  margin: 0 auto 2.75rem;
  text-align: center;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: min(100%, 280px);
  padding: 1.1rem 1.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d7bff, #00d8ff);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 32px rgba(0, 180, 255, 0.45);
  transition: filter 0.25s, transform 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.store-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.store-btn strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* Games showcase */
.games-showcase {
  background:
    radial-gradient(ellipse at 10% 80%, rgba(255, 40, 100, 0.12), transparent 40%),
    radial-gradient(ellipse at 90% 20%, rgba(80, 40, 220, 0.2), transparent 45%),
    var(--bg-mid);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: var(--shadow-glow);
}

.game-card__media {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.1rem;
  aspect-ratio: 4 / 3;
  background: #1a0a40;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.game-card:hover .game-card__media img {
  transform: scale(1.06);
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
  text-shadow:
    -1px -1px 0 #9739f1,
    1px -1px 0 #9739f1,
    -1px 1px 0 #9739f1,
    1px 1px 0 #9739f1;
}

.game-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-more {
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 60px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: radial-gradient(ellipse at center, #1a0a40 40%, #2a1060 100%);
  border: 2px solid rgba(140, 100, 255, 0.7);
  box-shadow: 0 0 28px rgba(120, 80, 255, 0.4);
  transition: filter 0.25s, transform 0.25s;
}

.btn-more:hover {
  filter: brightness(1.2);
  transform: scale(1.03);
}

/* Game detail */
.game-detail {
  background: linear-gradient(180deg, #0a0228, #12053a);
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.detail-item:nth-child(even) {
  grid-template-columns: 1fr 220px;
}

.detail-item:nth-child(even) .detail-item__media {
  order: 2;
}

.detail-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.detail-item__media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #1a0a40;
}

.detail-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  color: var(--accent-cyan);
}

.detail-item p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Social / Rewards */
.social {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(255, 80, 180, 0.12), transparent 45%),
    var(--bg-mid);
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.reward-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #14083a;
  transition: transform 0.3s, box-shadow 0.3s;
}

.reward-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.reward-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.reward-card__body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.reward-card__body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--accent-gold);
}

.reward-card__body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Partners */
.partners {
  background: linear-gradient(180deg, #12053a, #0a0228);
}

.partners-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(24, 10, 64, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-icon {
  width: 180px;
  height: 180px;
  border-radius: 40px;
  background: linear-gradient(145deg, #4a90ff, #1877f2);
  display: grid;
  place-items: center;
  box-shadow:
    0 20px 50px rgba(24, 119, 242, 0.45),
    inset 0 -8px 20px rgba(0, 0, 0, 0.25);
  transform: perspective(600px) rotateY(-8deg) rotateX(6deg);
  animation: float 5s ease-in-out infinite;
}

.fb-icon svg {
  width: 88px;
  height: 88px;
  fill: #fff;
}

.partners-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #4a90ff, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.partners-copy p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 56px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: radial-gradient(ellipse at center, #1a0a40 40%, #2a1060 100%);
  border: 2px solid rgba(140, 100, 255, 0.7);
  box-shadow: 0 0 28px rgba(120, 80, 255, 0.35);
  transition: filter 0.25s, transform 0.25s;
}

.btn-follow:hover {
  filter: brightness(1.2);
  transform: scale(1.03);
}

/* Signup overlay section reuses hero look */
.signup {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(120, 40, 220, 0.4), transparent 60%),
    linear-gradient(160deg, #1a0a4a, #0a0228);
}

.signup-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(18, 5, 58, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.signup-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.signup-form input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 0 1rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.signup-form input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.signup-form .btn-play {
  width: 100%;
  margin-top: 0.5rem;
  animation: none;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.signup-visual img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  filter: drop-shadow(0 16px 40px rgba(120, 40, 255, 0.45));
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 2px solid rgba(245, 245, 245, 0.15);
  background: #08011f;
}

.footer-top {
  text-align: center;
  margin-bottom: 1.75rem;
}

.footer-top p {
  opacity: 0.85;
  margin-bottom: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.footer-links a {
  color: var(--accent-cyan);
  font-size: 1rem;
  transition: filter 0.2s;
}

.footer-links a:hover {
  filter: brightness(1.3);
  text-decoration: underline;
}

.footer-age {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 1.75rem;
  padding: 1.25rem 0;
}

.age-badge {
  flex-shrink: 0;
  width: 72px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

.footer-age p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

.footer-company {
  max-width: 900px;
  margin: 0 auto 1.75rem;
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-company a {
  color: var(--accent-cyan);
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s, background 0.25s;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.08);
  background: rgba(255, 255, 255, 0.16);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero-grid,
  .signup-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(72%, 300px);
  }

  .games-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto  auto;
    margin-bottom: 2.5rem;
  }

  .detail-item,
  .detail-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .detail-item:nth-child(even) .detail-item__media {
    order: 0;
  }

  .detail-item__media {
    max-width: 220px;
    margin-inline: auto;
  }

  .detail-item h3,
  .detail-item p {
    text-align: center;
  }

  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .partners-panel {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 1.75rem;
  }

  .fb-icon {
    margin-inline: auto;
    width: 140px;
    height: 140px;
    transform: none;
  }

  .fb-icon svg {
    width: 68px;
    height: 68px;
  }

  .section-title--left,
  .section-lead--left {
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem;
    background: rgba(10, 2, 40, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
  }

  .header-actions .btn-signup {
    min-width: 100px;
    height: 38px;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 3rem;
    min-height: auto;
  }

  .btn-play {
    min-width: 180px;
    height: 52px;
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-age {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .footer-company {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .logo-badge {
    font-size: 0.9rem;
  }
}
