/* ============================================================
   SECTION: GAMES
   ============================================================ */

.section-games {
  position: relative;
  background: var(--color-bg-dark);
  z-index: 10;
  min-height: unset;
  padding-bottom: var(--spacing-3xl);
  display: block;
  overflow-x: clip;
  width: 100%;
}

.section-games::after {
  content: "";
  display: table;
  clear: both;
}

/* Background Effects */
.section-games::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 217, 255, 0.05)  0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-deep) 100%);
  z-index: 0;
}

/* Content */
.games-content {
  position: relative;
  z-index: 2;
  padding: var(--spacing-2xl) 0;
  overflow-x: clip;
  width: 100%;
  box-sizing: border-box;
}

/* ── SECTION HEADER ─────────────────────────────────────────── */
.games-title {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 0 40px var(--glow-gold);
}

.games-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  margin-bottom: var(--spacing-2xl);
  padding: 0 var(--spacing-md);
}

/* ============================================================
   FEATURED GAME SHOWCASE
   ============================================================ */

.featured-game-showcase {
  margin-bottom: var(--spacing-3xl);
  padding: 0 var(--spacing-md);
  box-sizing: border-box;
}

.featured-game-card {
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--color-gold);
  box-shadow:
    0 0 60px rgba(212, 175, 55, 0.3),
    0 30px 60px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;

  --pg: 0px;
  --lift: 0px;
  --rx: 0deg;
  --ry: 0deg;

  transform:
    translateY(calc(var(--pg) + var(--lift)))
    perspective(1000px)
    rotateX(var(--rx))
    rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;

  transition:
    transform    0.35s ease,
    box-shadow   0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-game-card:hover {
  --lift: -10px;
  box-shadow:
    0 0 80px rgba(212, 175, 55, 0.4),
    0 40px 80px rgba(0, 0, 0, 0.5);
}

/* ── IMAGE — absolute, fills entire card as background ──────── */
.featured-game-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-game-card:hover .featured-game-image img {
  transform: scale(1.05);
}

/* ── FEATURED BADGE — card level ────────────────────────────── */
.featured-badge {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(0, 200, 83, 0.2);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 1px;
  z-index: 10;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(0, 200, 83, 0);
  }
}

/* ── FEATURED OVERLAY — RELATIVE, defines card height ───────── */
.featured-overlay {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  padding: 20% var(--spacing-2xl) var(--spacing-2xl);
  background: linear-gradient(
    180deg,
    transparent            0%,
    transparent            20%,
    rgba(10, 10, 10, 0.6)  55%,
    rgba(10, 10, 10, 0.97) 100%
  );
}

.featured-overlay .overlay-content {
  width: 100%;
}

/* ── GAME TAG ───────────────────────────────────────────────── */
.game-tag {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--color-gold);
  color: var(--color-bg-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── FEATURED TITLE ─────────────────────────────────────────── */
.featured-overlay h3 {
  font-size: clamp(1.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  word-break: break-word;
  line-height: 1.2;
}

/* ── FEATURED DESCRIPTION ───────────────────────────────────── */
.featured-overlay p {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── GAME FEATURES ──────────────────────────────────────────── */
.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  flex-shrink: 0;
  white-space: nowrap;
}

.feature-tag svg {
  width: 6px;
  height: 6px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ── FEATURED ACTIONS ───────────────────────────────────────── */
.featured-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* ============================================================
   COMING SOON SECTION
   ============================================================ */

.coming-soon-section {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding: 0 var(--spacing-md);
  box-sizing: border-box;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  width: 100%;
  box-sizing: border-box;
}

/* ── COMING SOON CARD ───────────────────────────────────────── */
.coming-soon-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.6;
  box-sizing: border-box;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ── PLACEHOLDER IMAGE ──────────────────────────────────────── */
.placeholder-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.01) 10px,
      rgba(255, 255, 255, 0.01) 20px
    );
  pointer-events: none;
}

.placeholder-icon {
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.3s ease;
}

.placeholder-icon svg {
  width: 48px;
  height: 48px;
}

.coming-soon-card:hover .placeholder-icon {
  color: rgba(212, 175, 55, 0.3);
}

/* ── PLACEHOLDER BADGE ──────────────────────────────────────── */
.placeholder-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coming-soon-card:hover .placeholder-badge {
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--color-gold);
}

/* ── PLACEHOLDER INFO ───────────────────────────────────────── */
.placeholder-info {
  padding: var(--spacing-md);
}

.placeholder-title {
  height: 16px;
  width: 70%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}

.placeholder-text {
  height: 10px;
  width: 90%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

/* ── SHIMMER ANIMATION ──────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.placeholder-title,
.placeholder-text {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03)  0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* ============================================================
   CINEMATIC BACKGROUND
   ============================================================ */

.games-cinematic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.section-games .section-content {
  position: relative;
  z-index: 3;
}

.games-cinematic-bg .spotlight-container {
  position: absolute;
  inset: 0;
}

.games-cinematic-bg .light {
  position: absolute;
  top: -20%;
  width: 120px;
  height: 160vh;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 80%
  );
  filter: blur(30px);
  transform-origin: top center;
}

.games-cinematic-bg .light-1 {
  left: 15%;
  transform: rotate(18deg);
  animation: sweep1 10s ease-in-out infinite alternate;
}

.games-cinematic-bg .light-2 {
  right: 15%;
  transform: rotate(-18deg);
  animation: sweep2 12s ease-in-out infinite alternate;
}

.games-cinematic-bg .dust-container {
  position: absolute;
  inset: 0;
}

.games-cinematic-bg .speck {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-gold);
  opacity: 0.5;
  border-radius: 50%;
  box-shadow:
    0 0 6px  var(--glow-gold),
    0 0 12px rgba(212, 175, 55, 0.15);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── ≤ 1200px ───────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .coming-soon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

/* ── ≤ 992px ────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .featured-overlay {
    padding: 18% var(--spacing-xl) var(--spacing-xl);
  }

  .featured-overlay p {
    font-size: 1rem;
    -webkit-line-clamp: 2;
  }

  .game-features {
    gap: var(--spacing-xs);
  }

  .feature-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/* ── ≤ 768px ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .games-content {
    padding: var(--spacing-xl) 0;
  }

  .games-subtitle {
    margin-bottom: var(--spacing-xl);
  }

  .featured-game-showcase {
    margin-bottom: var(--spacing-2xl);
    padding: 0 var(--spacing-sm);
  }

  .featured-game-card {
    border-radius: var(--radius-lg);
    perspective: none;
  }

  .featured-overlay {
    padding: 25% var(--spacing-md) var(--spacing-lg);
  }

  .featured-badge {
    top:       var(--spacing-sm);
    left:      var(--spacing-sm);
    padding:   var(--spacing-xs) var(--spacing-sm);
    font-size: 0.7rem;
    gap:       4px;
  }

  .featured-overlay h3 {
    font-size: clamp(1.1rem, 5vw, 1.8rem);
    margin-bottom: var(--spacing-sm);
  }

  .featured-overlay p {
    font-size:          0.9rem;
    margin-bottom:      var(--spacing-sm);
    -webkit-line-clamp: 2;
  }

  .game-features {
    margin-bottom: var(--spacing-md);
    gap:           6px;
  }

  .feature-tag {
    font-size: 0.7rem;
    padding:   5px 10px;
  }

  .featured-game-actions {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .featured-game-actions .btn {
    width:           100%;
    justify-content: center;
    min-height:      44px;
  }

  .coming-soon-section {
    margin-bottom: var(--spacing-xl);
    padding:       0 var(--spacing-sm);
  }

  .coming-soon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .coming-soon-card {
    min-height: 150px;
  }
}

/* ── ≤ 480px ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .games-content {
    padding: var(--spacing-lg) 0;
  }

  .games-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
    padding:   0 var(--spacing-sm);
  }

  .games-subtitle {
    font-size:     0.85rem;
    padding:       0 var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }

  .featured-game-showcase {
    padding:       0;
    margin-bottom: var(--spacing-xl);
    width:         100%;
  }

  .featured-game-card {
    width:         100%;
    max-width:     100%;
    margin:        0;
    border-radius: var(--radius-md);
    border-left:   none;
    border-right:  none;
  }

  .featured-overlay {
    padding: 40% var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(
      180deg,
      transparent            0%,
      transparent            5%,
      rgba(10, 10, 10, 0.4) 35%,
      rgba(10, 10, 10, 0.97) 100%
    );
  }

  .featured-badge {
    top:       var(--spacing-xs);
    left:      var(--spacing-xs);
    font-size: 0.65rem;
    padding:   3px 8px;
  }

  .game-tag {
    font-size:      0.6rem;
    padding:        3px 8px;
    margin-bottom:  6px;
    letter-spacing: 1px;
  }

  .featured-overlay h3 {
    font-size:          clamp(1rem, 6vw, 1.4rem);
    margin-bottom:      6px;
    display:            -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:           hidden;
  }

  .featured-overlay p {
    font-size:          0.8rem;
    line-height:        1.5;
    margin-bottom:      var(--spacing-sm);
    -webkit-line-clamp: 1;
    color:              rgba(255, 255, 255, 0.75);
  }

  .game-features {
    margin-bottom: var(--spacing-sm);
    gap:           4px;
    max-height:    32px;
    overflow:      hidden;
  }

  .feature-tag {
    font-size: 0.65rem;
    padding:   4px 8px;
    gap:       4px;
  }

  .featured-game-actions {
    gap: var(--spacing-xs);
  }

  .featured-game-actions .btn {
    min-height: 44px;
    font-size:  0.85rem;
    padding:    10px 16px;
  }

  .coming-soon-section {
    margin-bottom: var(--spacing-lg);
    padding:       0 var(--spacing-sm);
  }

  .coming-soon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap:                   var(--spacing-sm);
  }

  .coming-soon-card {
    min-height:    110px;
    border-radius: var(--radius-md);
  }

  .placeholder-icon svg {
    width:  32px;
    height: 32px;
  }

  .placeholder-badge {
    font-size:      0.55rem;
    padding:        3px 6px;
    letter-spacing: 0.5px;
  }

  .placeholder-info {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .placeholder-title {
    height:        12px;
    margin-bottom: 6px;
  }

  .placeholder-text {
    height: 8px;
  }

  .section-games {
    padding-bottom: var(--spacing-xl);
  }
}

/* ── ≤ 360px — very small phones ───────────────────────────── */
@media (max-width: 360px) {
  .featured-overlay {
    padding-top: 30%;
  }

  .featured-overlay h3 {
    font-size: 1rem;
  }

  .featured-overlay p {
    display: none;
  }

  .game-features {
    display: none;
  }

  .featured-game-actions .btn {
    font-size: 0.8rem;
    padding:   9px 12px;
  }

  .coming-soon-grid {
    gap: 8px;
  }

  .coming-soon-card {
    min-height: 90px;
  }

  .placeholder-badge {
    font-size: 0.5rem;
    padding:   2px 5px;
  }
}

/* ── Landscape phone ────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .featured-overlay {
    padding: 10% var(--spacing-md) var(--spacing-md);
  }

  .featured-overlay h3 {
    font-size:          1.1rem;
    -webkit-line-clamp: 1;
    margin-bottom:      4px;
  }

  .featured-overlay p,
  .game-features {
    display: none;
  }

  .featured-game-actions {
    flex-direction: row;
    gap:            var(--spacing-sm);
  }

  .featured-game-actions .btn {
    width:      auto;
    min-height: 38px;
    font-size:  0.8rem;
    padding:    8px 16px;
  }

  .coming-soon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

/* ── Section base ───────────────────────────────────────────── */
.section-games::before {
  opacity:    0;
  transition: opacity 1.4s ease 0.1s;
}

.section-games.is-visible::before {
  opacity: 1;
}

/* ── Header hidden base ─────────────────────────────────────── */
.games-title {
  opacity:   0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity   0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.games-subtitle {
  opacity:          0;
  transform:        translateY(25px);
  transition:
    opacity   0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.18s;
}

/* ── Header glow pulse ──────────────────────────────────────── */
.section-games.is-visible .games-title {
  animation:       gamesTitleGlow 3.5s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes gamesTitleGlow {
  0%, 100% {
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
  }
  50% {
    text-shadow:
      0 0  60px rgba(212, 175, 55, 0.8),
      0 0 120px rgba(212, 175, 55, 0.25),
      0 0 200px rgba(212, 175, 55, 0.1);
  }
}

/* ── Featured showcase hidden base ─────────────────────────── */
.featured-game-showcase {
  opacity:   0;
  transform: translateY(60px) scale(0.96);
  transition:
    opacity   0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Featured card entrance glow ───────────────────────────── */
@keyframes featuredCardEntrance {
  0%   {
    box-shadow:
      0 0   0px rgba(212, 175, 55, 0),
      0 30px 60px rgba(0, 0, 0, 0.4);
  }
  40%  {
    box-shadow:
      0 0  80px rgba(212, 175, 55, 0.6),
      0 0 160px rgba(212, 175, 55, 0.2),
      0 30px 60px rgba(0, 0, 0, 0.4);
  }
  100% {
    box-shadow:
      0 0  60px rgba(212, 175, 55, 0.3),
      0 30px 60px rgba(0, 0, 0, 0.4);
  }
}

.featured-game-card.card-entered {
  animation: featuredCardEntrance 1.4s ease forwards;
}

/* ── Featured inner elements — hidden base ──────────────────── */
.featured-badge {
  opacity:   0;
  transform: translateX(-20px);
  transition:
    opacity   0.5s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-tag {
  opacity:   0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.featured-overlay h3 {
  opacity:   0;
  transform: translateY(20px);
  transition:
    opacity   0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-overlay p {
  opacity:   0;
  transform: translateY(15px);
  transition:
    opacity   0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-tag {
  opacity:   0;
  transform: translateY(10px) scale(0.9);
  transition:
    opacity   0.4s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.featured-game-actions .btn {
  opacity:   0;
  transform: translateY(12px);
  transition:
    opacity   0.45s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Coming soon section header ─────────────────────────────── */
.coming-soon-section > h3,
.coming-soon-section > p,
.coming-soon-section > .section-header {
  opacity:   0;
  transform: translateY(25px);
  transition:
    opacity   0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Coming soon cards — hidden base ───────────────────────── */
.coming-soon-card {
  opacity:   0;
  transform: translateY(50px) scale(0.92);
  transition:
    opacity   0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.coming-soon-card.card-entered {
  opacity:   0.6;
  transform: translateY(0) scale(1);
}

/* ── Coming soon card flash animations ─────────────────────── */
@keyframes comingSoonFlashGold {
  0%   {
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow:   0 0 20px rgba(212, 175, 55, 0.4);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:   none;
  }
}

@keyframes comingSoonFlashTeal {
  0%   {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow:   0 0 20px rgba(0, 217, 255, 0.3);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:   none;
  }
}

.coming-soon-card.flash-gold {
  animation: comingSoonFlashGold 1s ease forwards;
}

.coming-soon-card.flash-teal {
  animation: comingSoonFlashTeal 1s ease forwards;
}

/* ── Featured card shimmer ──────────────────────────────────── */
.featured-game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent              20%,
    rgba(212, 175, 55, 0.12) 50%,
    transparent              80%
  );
  transform:      translateX(-120%);
  pointer-events: none;
  z-index:        10;
  border-radius:  inherit;
  transition:     transform 0s;
}

.featured-game-card.shimmer-active::after {
  transition: transform 1s ease;
  transform:  translateX(120%);
}

/* ── Cinematic bg fade in ───────────────────────────────────── */
.games-cinematic-bg {
  opacity:    0;
  transition: opacity 1.6s ease 0.3s;
}

.section-games.is-visible .games-cinematic-bg {
  opacity: 1;
}

/* ── Section exit dims ──────────────────────────────────────── */
.section-games.section-exit .games-title,
.section-games.section-exit .games-subtitle {
  opacity:    0.3;
  transition: opacity 0.5s ease;
}

.section-games.section-exit .featured-game-showcase {
  opacity:    0.4;
  transition: opacity 0.5s ease;
}

.section-games.section-exit .coming-soon-card.card-entered {
  opacity:    0.2;
  transition: opacity 0.5s ease;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .section-games::before,
  .games-title,
  .games-subtitle,
  .featured-game-showcase,
  .featured-badge,
  .game-tag,
  .featured-overlay h3,
  .featured-overlay p,
  .feature-tag,
  .featured-game-actions .btn,
  .coming-soon-card,
  .coming-soon-section > h3,
  .coming-soon-section > p,
  .games-cinematic-bg {
    transition: none      !important;
    animation:  none      !important;
    opacity:    1         !important;
    transform:  none      !important;
  }

  .coming-soon-card.card-entered {
    opacity: 0.6 !important;
  }

  .badge-dot,
  .placeholder-title,
  .placeholder-text {
    animation: none;
  }

  .featured-game-card:hover,
  .featured-game-card:hover .featured-game-image img {
    transform: none;
  }
}