/* ═══════════════════════════════════════════════════════
   HOME - Landing Page
   Award-tier CSS: @property animations, glassmorphism,
   scroll-driven reveals, 3D perspective, grain textures
   ═══════════════════════════════════════════════════════ */

/* --- Animatable custom properties --- */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --orb-x {
  syntax: "<percentage>";
  initial-value: 30%;
  inherits: false;
}

@property --orb-y {
  syntax: "<percentage>";
  initial-value: 20%;
  inherits: false;
}

@property --glow-opacity {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}

/* --- Base --- */
.home-body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
}


/* --- Grain overlay --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
}

.grain svg {
  width: 100%;
  height: 100%;
}

/* --- Animated background orbs --- */
.home-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-bg::before {
  content: '';
  position: absolute;
  width: 130vmax;
  height: 130vmax;
  top: -30%;
  left: -20%;
  background: radial-gradient(
    ellipse at var(--orb-x) var(--orb-y),
    rgba(209, 162, 111, 0.12) 0%,
    rgba(156, 203, 193, 0.06) 30%,
    transparent 60%
  );
  animation: orb-drift 20s ease-in-out infinite;
}

.home-bg::after {
  content: '';
  position: absolute;
  width: 100vmax;
  height: 100vmax;
  bottom: -40%;
  right: -20%;
  background: radial-gradient(
    ellipse at 60% 70%,
    rgba(74, 64, 88, 0.25) 0%,
    rgba(209, 162, 111, 0.08) 40%,
    transparent 65%
  );
  animation: orb-drift-2 25s ease-in-out infinite;
}

@keyframes orb-drift {
  0%, 100% { --orb-x: 30%; --orb-y: 20%; }
  33% { --orb-x: 60%; --orb-y: 35%; }
  66% { --orb-x: 25%; --orb-y: 55%; }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8%, 5%) scale(1.05); }
}

/* --- Topbar --- */
.home-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s;
}

.home-topbar.is-scrolled {
  background: rgba(12, 10, 16, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(209, 162, 111, 0.45), rgba(241, 212, 161, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.home-brand-text {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--text);
}

.home-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-topbar-user {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-topbar-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.home-topbar-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.home-topbar-logout {
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: inherit;
  transition: color 0.25s, border-color 0.25s;
}

.home-topbar-logout:hover {
  color: #ffb3b3;
  border-color: rgba(225, 98, 98, 0.4);
}

/* ═══════════════════════════════════════
   SECTION 1 : HERO
   ═══════════════════════════════════════ */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

/* --- Floating particles --- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(241, 212, 161, 0.4);
  border-radius: 50%;
  animation: float-up linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; width: 2px; height: 2px; }
.particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 55%; animation-duration: 18s; animation-delay: 1s; width: 4px; height: 4px; opacity: 0.3; }
.particle:nth-child(5) { left: 70%; animation-duration: 13s; animation-delay: 3s; }
.particle:nth-child(6) { left: 85%; animation-duration: 16s; animation-delay: 5s; width: 2px; height: 2px; }
.particle:nth-child(7) { left: 15%; animation-duration: 14s; animation-delay: 7s; }
.particle:nth-child(8) { left: 60%; animation-duration: 11s; animation-delay: 6s; width: 2px; height: 2px; }

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) scale(0.5);
    opacity: 0;
  }
}

/* --- Hero eyebrow --- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(209, 162, 111, 0.1);
  border: 1px solid rgba(209, 162, 111, 0.25);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-2);
  margin-bottom: 28px;
  animation: fade-in-down 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --- Hero title --- */
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-wrap: balance;
  margin: 0 0 12px;
  letter-spacing: -1px;
  animation: fade-in-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-title-line {
  display: block;
}

.hero-title-gradient {
  background: linear-gradient(
    var(--gradient-angle),
    var(--accent) 0%,
    var(--accent-2) 30%,
    var(--accent-3) 60%,
    var(--accent-2) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-rotate 8s linear infinite;
}

@keyframes gradient-rotate {
  to { --gradient-angle: 360deg; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
  max-width: 500px;
  line-height: 1.6;
  margin: 0 0 48px;
  animation: fade-in-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

/* --- Game showcase --- */
.game-showcase {
  position: relative;
  width: min(680px, 90vw);
  animation: fade-in-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

.game-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.game-frame:hover {
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(209, 162, 111, 0.2),
    0 0 80px rgba(209, 162, 111, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.game-frame-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Shine sweep on hover */
.game-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
}

.game-frame:hover::after {
  animation: shine-sweep 0.8s ease forwards;
}

@keyframes shine-sweep {
  to { transform: translateX(100%); }
}

/* Vignette overlay */
.game-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(13, 12, 16, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

/* --- Game overlay content --- */
.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(
    to top,
    rgba(13, 12, 16, 0.9) 0%,
    rgba(13, 12, 16, 0.4) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.game-overlay-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(209, 162, 111, 0.2);
  border: 1px solid rgba(209, 162, 111, 0.4);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.game-overlay-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 8px;
  color: var(--text);
}

.game-overlay-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 400px;
  line-height: 1.5;
}

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

.game-overlay-tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

/* --- Play CTA --- */
.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fade-in-up 1s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}

.play-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1410;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s;
  box-shadow:
    0 8px 30px rgba(209, 162, 111, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.play-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 50px rgba(209, 162, 111, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 60px rgba(209, 162, 111, 0.15);
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(var(--gradient-angle), var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  animation: gradient-rotate 4s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.play-btn:hover::before {
  opacity: 1;
}

.play-btn-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: transform 0.3s;
}

.play-btn:hover .play-btn-icon {
  transform: translateX(3px);
}

.hero-cta-sub {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  margin-bottom: 60px;
}

/* --- Scroll indicator --- */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-in-up 1s cubic-bezier(0.22, 1, 0.36, 1) 1.6s both;
}

.scroll-hint-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.25);
}

.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(209, 162, 111, 0.5), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ═══════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════ */
.marquee-section {
  position: relative;
  z-index: 2;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 40px;
  font-family: 'Fraunces', serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 40px;
}

.marquee-item::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(209, 162, 111, 0.25);
  flex-shrink: 0;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   SECTION 2 : HUB NAVIGATION
   ═══════════════════════════════════════ */
.hub-section {
  position: relative;
  z-index: 2;
  padding: 80px 40px 120px;
}

.hub-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hub-header {
  text-align: center;
  margin-bottom: 56px;
}

.hub-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.hub-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 12px;
  text-wrap: balance;
}

.hub-subtitle {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Hub grid --- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hub-grid .hub-card:first-child {
  grid-column: 1 / -1;
}

/* --- Hub card --- */
.hub-card {
  position: relative;
  background: linear-gradient(
    160deg,
    rgba(28, 24, 34, 0.8) 0%,
    rgba(18, 15, 22, 0.7) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s,
              box-shadow 0.4s;
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  perspective: 1000px;

  /* Safe default: visible without JS */
  opacity: 1;
  transform: translateY(0);
}

.hub-card.is-visible {
  animation: card-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-body.js-reveal .hub-card[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

.hub-card:nth-child(2).is-visible { animation-delay: 0.1s; }
.hub-card:nth-child(3).is-visible { animation-delay: 0.2s; }
.hub-card:nth-child(4).is-visible { animation-delay: 0.3s; }

@keyframes card-reveal {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(209, 162, 111, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.hub-card:hover::before {
  opacity: 1;
}

.hub-card:hover {
  border-color: rgba(209, 162, 111, 0.15);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(209, 162, 111, 0.1);
  transform: translateY(-4px);
}

/* Featured card (first - collection) */
.hub-card.is-featured {
  background: linear-gradient(
    145deg,
    rgba(209, 162, 111, 0.08) 0%,
    rgba(28, 24, 34, 0.8) 40%,
    rgba(18, 15, 22, 0.7) 100%
  );
  border-color: rgba(209, 162, 111, 0.12);
}

.hub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.hub-card:hover .hub-card-icon {
  background: rgba(209, 162, 111, 0.12);
  border-color: rgba(209, 162, 111, 0.25);
  transform: scale(1.05);
}

.hub-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.hub-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.hub-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.hub-card:hover .hub-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.hub-card-arrow span {
  transition: transform 0.3s;
}

.hub-card:hover .hub-card-arrow span {
  transform: translateX(4px);
}

/* Featured card layout */
.hub-card.is-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hub-card.is-featured .hub-card-content {
  order: 1;
}

.hub-card.is-featured .hub-card-visual {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat-pill {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.stat-pill-value {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--accent-2);
  display: block;
}

.stat-pill-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* ═══════════════════════════════════════
   SECTION 3 : FOOTER
   ═══════════════════════════════════════ */
.home-footer {
  position: relative;
  z-index: 2;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.home-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--muted);
}

.home-footer-links {
  display: flex;
  gap: 24px;
}

.home-footer-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.home-footer-link:hover {
  color: var(--accent-2);
}

/* ═══════════════════════════════════════
   ANIMATIONS GLOBALES
   ═══════════════════════════════════════ */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card.is-featured {
    grid-template-columns: 1fr;
  }

  .hub-card.is-featured .hub-card-visual {
    order: -1;
  }

  .hero-section {
    padding: 100px 24px 80px;
  }

  .hub-section {
    padding: 60px 24px 80px;
  }

  .home-topbar {
    padding: 16px 20px;
  }

  .game-overlay {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .game-showcase {
    width: 95vw;
  }

  .game-frame {
    border-radius: 16px;
  }

  .play-btn {
    padding: 16px 36px;
    font-size: 1.05rem;
  }

  .hub-card {
    padding: 24px;
  }

  .home-footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .stat-pill-value {
    font-size: 1.1rem;
  }

}
