/* =========================================
   HOMEPAGE REDESIGN — Hero Split + Footer
   ========================================= */

.homepage-redesign {
  background: transparent;
}

/* Keep the catalog hero visually integrated with the site's atmospheric backdrop. */
.homepage-redesign .site-atmosphere { z-index: 0; }
.homepage-redesign .site-header { position: sticky; z-index: 50; }
.homepage-redesign .main,
.homepage-redesign .site-footer { position: relative; z-index: 1; }
.homepage-redesign .main { background: transparent; }
.homepage-redesign .main > .container { width: min(100% - 1.5rem, 1600px); }

.hero-redesign {
  min-height: clamp(26rem, 55vh, 42rem);
  align-items: center;
  background: radial-gradient(ellipse at 78% 45%, rgba(21, 111, 82, 0.16), transparent 48%);
}

.hero-game-brand {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  padding: 0.25rem;
  border-radius: 0.6rem;
  background: rgba(9, 11, 16, 0.7);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
}

.homepage-shell-redesign {
  max-width: 1600px;
  margin: 0 auto;
}

/* Hero Redesign */
.hero-redesign {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-redesign__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-redesign__content {
    grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.42fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
}

.hero-redesign__copy {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-kicker {
  font: 600 0.875rem var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-brand-redesign {
  font: 700 clamp(3rem, 8vw, 5rem) var(--display);
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-z {
  background: linear-gradient(135deg, #3DFFA8 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-place {
  color: var(--green);
  text-shadow: 0 0 24px rgba(61, 255, 168, 0.18);
}

.hero-tagline {
  font: 600 clamp(1.05rem, 2vw, 1.4rem) var(--display);
  color: var(--text);
  line-height: 1.45;
  max-width: 32rem;
}

.hero-description {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font: 400 clamp(0.98rem, 1.3vw, 1.12rem) / 1.7 var(--font);
}

.promo-coupon {
  width: min(100%, 24rem);
  margin-top: 0.2rem;
}

/* Hero Top Games Grid */
.hero-top-games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 0;
  align-items: stretch;
}

@media (min-width: 600px) {
  .hero-top-games {
    gap: 1.25rem;
  }
}

/* Soft animated light behind section cards */
.hero-top-games::before,
.game-grid-redesign::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 58% at 28% 48%, rgba(57, 255, 154, 0.28), transparent 70%),
    radial-gradient(ellipse 38% 52% at 72% 42%, rgba(90, 210, 255, 0.14), transparent 68%),
    radial-gradient(ellipse 55% 40% at 50% 78%, rgba(40, 140, 100, 0.16), transparent 72%);
  filter: blur(42px);
  opacity: 0.85;
  animation: sectionCardGlow 9s ease-in-out infinite alternate;
}
.hero-top-games > *,
.game-grid-redesign > * {
  position: relative;
  z-index: 1;
}
@keyframes sectionCardGlow {
  from { opacity: 0.45; transform: scale(0.96) translate3d(0, 2%, 0); }
  to { opacity: 0.95; transform: scale(1.04) translate3d(0, -1%, 0); }
}

.hero-game-card {
  position: relative;
  height: 100%;
  aspect-ratio: 1.35 / 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(78, 168, 124, 0.22);
  background:
    radial-gradient(ellipse 76% 68% at 78% 16%, rgba(66, 153, 105, 0.28), transparent 58%),
    radial-gradient(ellipse 46% 70% at 8% 100%, rgba(27, 83, 56, 0.3), transparent 70%),
    linear-gradient(135deg, #0d1511 0%, #0a100d 48%, #080c0a 100%);
  background-image:
    radial-gradient(ellipse 76% 68% at 78% 16%, rgba(66, 153, 105, 0.28), transparent 58%),
    radial-gradient(ellipse 46% 70% at 8% 100%, rgba(27, 83, 56, 0.3), transparent 70%),
    linear-gradient(135deg, #0d1511 0%, #0a100d 48%, #080c0a 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(150, 220, 180, 0.06);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  isolation: isolate;
}

@media (min-width: 900px) {
  .hero-game-card {
    min-height: 17rem;
  }
}

.hero-game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 190, 140, 0.38);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(72, 160, 118, 0.1),
    inset 0 1px 0 rgba(160, 230, 190, 0.08);
}

.hero-game-cover,
.game-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.hero-game-card:hover .hero-game-cover,
.game-card-redesign:hover .game-card-cover {
  transform: scale(1.03);
}

.hero-game-meta,
.game-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 6, 0.72));
  pointer-events: none;
}

.hero-game-pill,
.game-card-pill {
  display: inline-flex;
  align-items: center;
  max-width: 70%;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 14, 11, 0.78);
  border: 1px solid rgba(120, 180, 145, 0.22);
  color: rgba(232, 240, 236, 0.95);
  font: 600 0.78rem var(--font);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-all-card {
  border-color: rgba(72, 160, 118, 0.3);
}

.hero-all-card:hover {
  border-color: rgba(90, 190, 140, 0.48);
}

html { scroll-behavior: smooth; }

.hero-game-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(105, 170, 130, 0.035) 32px, transparent 33px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(105, 170, 130, 0.035) 32px, transparent 33px),
    radial-gradient(ellipse 85% 65% at 50% 42%, rgba(56, 128, 90, 0.28), transparent 68%),
    linear-gradient(180deg, rgba(14, 28, 20, 0.15) 0%, transparent 38%, rgba(6, 10, 8, 0.62) 100%);
}

.hero-game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, transparent 25%, rgba(5, 8, 7, 0.28) 100%);
}

.hero-game-media img,
.hero-game-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.hero-game-logo {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 3;
  width: min(88%, 20rem);
  height: auto;
  max-height: 58%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  transition: transform 0.3s ease, filter 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

.hero-game-card:hover .hero-game-logo {
  transform: translate(-50%, -52%) scale(1.025);
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.5));
}

.hero-game-fallback {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 3;
  transform: translate(-50%, -50%);
  color: rgba(232, 240, 236, 0.92);
  font: 700 1.15rem var(--display);
  text-align: center;
  max-width: 86%;
}

.hero-all-mark {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-all-mark strong {
  color: rgba(232, 240, 236, 0.96);
  font: 700 clamp(1.05rem, 2vw, 1.35rem) var(--display);
  letter-spacing: 0.1em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.hero-game-card--soft .hero-game-overlay,
.hero-game-card--logo .hero-game-overlay {
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 10, 8, 0.78) 100%);
}

.hero-game-card--soft .hero-game-count,
.hero-game-card--logo .hero-game-count {
  margin: 0;
  color: rgba(198, 230, 210, 0.92);
}

.hero-all-card,
.hero-game-card {
  min-width: 0;
  width: 100%;
}

.hero-game-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(61, 255, 168, 0.15) 0%, rgba(155, 107, 255, 0.15) 100%);
  font: 700 2rem var(--display);
  color: rgba(255, 255, 255, 0.4);
}

.hero-game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 11, 16, 0.16) 42%, rgba(9, 11, 16, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1rem 0.9rem;
  pointer-events: none;
}

.hero-game-title {
  font: 700 clamp(0.95rem, 2vw, 1.4rem) var(--display);
  color: var(--text);
  margin: 0;
  max-width: calc(100% - 2rem);
  overflow-wrap: anywhere;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.hero-game-count,
.game-card-count {
  display: block;
  margin: 0;
  color: rgba(170, 210, 185, 0.88);
  font: 600 0.78rem var(--font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

/* Games Section Redesign */
.games-section-redesign {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
}

.section-head-redesign {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-title-redesign {
  font: 700 clamp(2rem, 5vw, 3.5rem) var(--display);
  margin: 0 0 0.8rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle-redesign {
  font: 500 clamp(1rem, 2vw, 1.2rem) var(--font);
  color: var(--muted);
  margin: 0;
}

.game-grid-redesign {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2vw, 1.25rem);
  position: relative;
  z-index: 0;
}

@media (min-width: 640px) {
  .game-grid-redesign {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .game-grid-redesign {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card-redesign {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 78% 62% at 50% 38%, rgba(48, 118, 82, 0.35), rgba(20, 48, 34, 0.14) 55%, transparent 72%),
    linear-gradient(165deg, #101a15 0%, #0a100d 42%, #070b09 100%);
  border: 1px solid rgba(78, 168, 124, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(150, 220, 180, 0.06);
  text-decoration: none;
  transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(14px);
  isolation: isolate;
}

.game-card-redesign.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.game-card-redesign:nth-child(3n + 2) {
  transition-delay: 0.06s;
}

.game-card-redesign:nth-child(3n) {
  transition-delay: 0.12s;
}

.game-card-redesign:hover {
  transform: translateY(-5px);
  border-color: rgba(90, 190, 140, 0.4);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(72, 160, 118, 0.1),
    inset 0 1px 0 rgba(160, 230, 190, 0.08);
}

.game-card-redesign__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(105, 170, 130, 0.035) 32px, transparent 33px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(105, 170, 130, 0.035) 32px, transparent 33px),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(52, 120, 86, 0.24), transparent 70%),
    linear-gradient(180deg, rgba(12, 22, 18, 0.15) 0%, transparent 42%, rgba(6, 10, 8, 0.5) 100%);
}

.game-card-redesign__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 42%, transparent 28%, rgba(5, 8, 7, 0.32) 100%);
}

.placeholder-art-redesign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: transparent;
  font: 700 2.5rem var(--display);
  color: rgba(255, 255, 255, 0.35);
}

.game-card-logo {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 3;
  width: min(88%, 20rem);
  height: auto;
  max-height: 56%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
  pointer-events: none;
  transition: transform 0.3s ease;
  image-rendering: auto;
}

.game-card-redesign--soft:hover .game-card-logo,
.game-card-redesign--logo:hover .game-card-logo {
  transform: translate(-50%, -52%) scale(1.025);
}

.game-card-redesign__body {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 8, 0.82));
}

.game-card-redesign__body h3 {
  font: 600 clamp(1.05rem, 2vw, 1.35rem) var(--display);
  margin: 0 2rem 0.25rem 0;
  color: rgba(232, 240, 236, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  line-height: 1.3;
}

.game-card-redesign__body p {
  font: 500 0.95rem var(--font);
  color: rgba(232, 237, 242, 0.76);
  max-width: 32rem;
  margin: 0;
  line-height: 1.5;
}

.game-card-redesign__arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s;
}

.game-card-redesign:hover .game-card-redesign__arrow {
  transform: translate(3px, -3px);
  color: var(--green);
}

/* Section cards: contain/scale for consistent framing; stage stays black. */
.section-card,
.hero-game-card.section-card,
.game-card-redesign.section-card {
  position: relative;
  display: block;
  height: 320px;
  min-height: 320px;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(57, 255, 154, 0.15);
  background: #000;
  box-shadow:
    0 0 0 1px rgba(57, 255, 154, 0.04),
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(57, 255, 154, 0.1),
    0 0 90px rgba(57, 255, 154, 0.06);
  isolation: isolate;
  opacity: 1;
  transform: none;
}

.section-card::before {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .section-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(57, 255, 154, 0.45);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.4),
      0 0 36px rgba(57, 255, 154, 0.1),
      0 0 60px rgba(57, 255, 154, 0.05),
      inset 0 0 0 1px rgba(57, 255, 154, 0.12);
  }

  .section-card:hover .section-card__art {
    filter: brightness(1) contrast(1.15);
  }

  .section-card:hover .section-card__logo {
    transform: scale(1.1) rotate(5deg);
  }
}

.section-card__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.section-card__art {
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: var(--card-image, none);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: var(--card-x, 50%) center;
  transform: translate3d(0, var(--card-y, 0px), 0) scale(var(--card-scale, 1));
  transform-origin: center center;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.4s ease;
}

.section-card__backdrop {
  display: none;
}

.section-card__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 35, 20, 0.08) 0%, rgba(4, 35, 20, 0.12) 48%, rgba(7, 28, 17, 0.3) 100%);
  mix-blend-mode: multiply;
}

.section-card__logo {
  position: absolute;
  top: 20px;
  right: 20px;
  left: auto;
  z-index: 3;
  width: 56px;
  height: 56px;
  max-height: none;
  object-fit: contain;
  transform: none;
  opacity: 0.95;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
  pointer-events: none;
  transition: transform 0.3s ease;
}

.section-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: block;
  width: auto;
  height: 128px;
  margin: 0;
  padding: 40px 28px 28px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 26, 0.6) 40%, rgba(10, 15, 26, 0.97) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-card__title {
  display: -webkit-box;
  height: 2.35em;
  margin: 0 0 10px;
  overflow: hidden;
  color: #f8fafc;
  font: 700 32px/1.15 var(--display);
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.section-card__stats {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 24px;
  color: #94a3b8;
  font: 500 15px/1 var(--font);
}

.section-card__stats span:first-child { color: #94a3b8; }
.section-card__stats span:last-child { color: #39ff9a; font-weight: 700; text-shadow: 0 0 20px rgba(57, 255, 154, 0.4); }

@media (max-width: 599px) {
  .section-card,
  .hero-game-card.section-card,
  .game-card-redesign.section-card { height: 280px; min-height: 280px; border-radius: 16px; aspect-ratio: auto; }
  .section-card__content { height: 116px; padding: 34px 18px 20px; }
  .section-card__title { font-size: 24px; }
  .section-card__logo { top: 16px; right: 16px; width: 48px; height: 48px; }
}

/* Footer Redesign */
.footer-redesign {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid rgba(57, 255, 154, 0.1);
}

.footer-redesign__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .footer-redesign__top {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.footer-redesign__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-product-cta-redesign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: rgba(61, 255, 168, 0.08);
  border: 1px solid rgba(61, 255, 168, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  gap: 1rem;
}

.footer-product-cta-redesign:hover {
  background: rgba(61, 255, 168, 0.12);
  border-color: rgba(61, 255, 168, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 255, 168, 0.15);
}

.footer-product-cta-redesign strong {
  display: block;
  font: 700 1.1rem var(--display);
  color: var(--text);
  margin-bottom: 0.3rem;
}

.footer-product-cta-redesign small {
  display: block;
  font: 500 0.9rem var(--font);
  color: var(--muted);
}

.footer-cta-arrow-redesign {
  font-size: 1.8rem;
  color: var(--green);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.footer-product-cta-redesign:hover .footer-cta-arrow-redesign {
  transform: translateX(5px);
}

.footer-sections-redesign {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.footer-sections-redesign span {
  font: 600 0.9rem var(--font);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-sections-redesign a {
  font: 500 0.95rem var(--font);
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 149, 165, 0.12);
  transition: all 0.25s;
}

.footer-sections-redesign a:hover {
  background: rgba(61, 255, 168, 0.08);
  border-color: rgba(61, 255, 168, 0.25);
  color: var(--green);
}

.footer-redesign__social {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-social-link-redesign {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(139, 149, 165, 0.12);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social-link-redesign:hover {
  background: rgba(61, 255, 168, 0.06);
  border-color: rgba(61, 255, 168, 0.3);
  transform: translateX(3px);
}

.footer-social-link-redesign svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--green);
}

.footer-social-link-redesign strong {
  display: block;
  font: 600 0.95rem var(--display);
  color: var(--text);
  margin-bottom: 0.2rem;
}

.footer-social-link-redesign small {
  display: block;
  font: 500 0.85rem var(--font);
  color: var(--muted);
}

.footer-redesign__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(139, 149, 165, 0.08);
}

@media (min-width: 700px) {
  .footer-redesign__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-redesign__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font: 600 1rem var(--display);
  color: var(--muted);
}

.footer-redesign__brand img {
  width: 24px;
  height: 24px;
}

.footer-redesign__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-redesign__links a {
  font: 500 0.9rem var(--font);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-redesign__links a:hover {
  color: var(--green);
}

/* Mobile adjustments */
@media (max-width: 599px) {
  .hero-top-games {
    grid-template-columns: 1fr;
  }
  
  .hero-game-card {
    min-height: 9.5rem;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-top-games::before,
  .game-grid-redesign::before {
    animation: none !important;
  }
  .hero-game-card,
  .hero-game-card *:not(.section-card__art),
  .game-card-redesign,
  .game-card-redesign *:not(.section-card__art),
  .footer-product-cta-redesign,
  .footer-social-link-redesign,
  .game-card-redesign__arrow,
  .hero-game-arrow {
    transition: none !important;
    transform: none !important;
  }
}

/* Phones / tablets: kill paint-heavy effects that stutter during fling scroll. */
@media (hover: none), (pointer: coarse) {
  html {
    scroll-behavior: auto !important;
  }

  .hero-top-games::before,
  .game-grid-redesign::before {
    display: none !important;
    animation: none !important;
    filter: none !important;
  }

  .section-card,
  .hero-game-card,
  .hero-game-card.section-card,
  .game-card-redesign,
  .game-card-redesign.section-card,
  .promo-coupon,
  .footer-product-cta-redesign,
  .footer-social-link-redesign,
  .product-card,
  .game-card {
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    /* Do not use content-visibility here: with overflow:hidden it clips
       card body (title/price/CTA) on iOS Safari at common phone widths. */
  }

  .game-card-redesign,
  .game-card-redesign.is-visible,
  .game-card-redesign:nth-child(3n),
  .game-card-redesign:nth-child(3n + 2) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .section-card,
  .hero-game-card.section-card,
  .game-card-redesign.section-card {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
    /* Keep art clipped — style.css sets overflow:visible on small screens,
       which makes --card-y framing look like the image is floating. */
    overflow: hidden !important;
  }

  .section-card:hover,
  .section-card:active,
  .section-card:focus,
  .hero-game-card:hover,
  .hero-game-card:active,
  .game-card-redesign:hover,
  .game-card-redesign:active,
  .game-card-redesign.is-visible:hover,
  .product-card:hover,
  .product-card:active,
  .game-card:hover,
  .game-card:active {
    transform: none !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
  }

  /* Never wipe .section-card__art transform here — that drops --card-y/--card-scale
     and makes the cover jump/float on sticky touch :hover. */
  .section-card:hover .section-card__logo,
  .section-card:active .section-card__logo,
  .hero-game-card:hover .hero-game-cover,
  .hero-game-card:hover .hero-game-logo,
  .game-card-redesign:hover .game-card-cover,
  .game-card-redesign:hover .game-card-logo,
  .game-card-redesign:hover .game-card-redesign__arrow {
    transform: none !important;
    filter: none !important;
  }

  .section-card__art {
    /* Keep framing transforms from admin, drop costly filters. */
    filter: none !important;
    transition: none !important;
  }

  .section-card__tint {
    mix-blend-mode: normal !important;
    background: linear-gradient(
      180deg,
      rgba(4, 35, 20, 0.05) 0%,
      rgba(7, 28, 17, 0.45) 100%
    ) !important;
  }

  .section-card__content {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(10, 15, 26, 0.75) 35%,
      rgba(10, 15, 26, 0.98) 100%
    ) !important;
  }

  .section-card__logo,
  .hero-game-logo,
  .game-card-logo {
    filter: none !important;
    transition: none !important;
  }
}
