* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-background, var(--tfd-bg-dark, #090d16));
  color: var(--color-text, var(--tfd-text-main, #f8fafc));
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Background Atmosphere (GPU-friendly pure radial gradients) */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.8;
  background: 
    radial-gradient(circle at 15% 10%, var(--color-primary-soft, rgba(6, 182, 212, 0.2)) 0%, transparent 50%),
    radial-gradient(circle at 85% 90%, var(--color-accent-soft, rgba(244, 63, 94, 0.15)) 0%, transparent 50%);
  transition: opacity 0.3s ease;
}

.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(var(--tfd-border-gold, rgba(212, 175, 55, 0.12)) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

/* Main Layout Container */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem 1rem;
}

/* Hero Section */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(1.65rem, 5.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem 0;
  color: var(--color-heading, #ffffff);
  background: var(--tfd-gold-gradient, linear-gradient(135deg, #ffffff 0%, #f7df8b 50%, #d4af37 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-tagline {
  color: var(--color-text-muted, var(--tfd-text-secondary, #cbd5e1));
  font-size: clamp(0.88rem, 2.8vw, 1.05rem);
  font-weight: 500;
  margin: 0 0 1.25rem 0;
  max-width: 480px;
  line-height: 1.45;
}

/* Framed Hero Artwork */
.hero-artwork-frame {
  position: relative;
  display: inline-block;
  max-width: 480px;
  width: 100%;
  border-radius: 14px;
  padding: 4px;
  background: linear-gradient(135deg, var(--tfd-border-gold-bright, rgba(212, 175, 55, 0.35)) 0%, var(--color-primary-soft, rgba(6, 182, 212, 0.3)) 50%, var(--tfd-border-gold, rgba(212, 175, 55, 0.2)) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-primary-soft, rgba(6, 182, 212, 0.15));
  transition: transform 0.3s ease;
}

.hero-artwork-inner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-surface, #000);
}

.hero-artwork-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Subtle Quote Rotator Component */
.quote-container {
  width: 100%;
  max-width: 600px;
  margin: 1.75rem auto 0 auto;
  padding: 0 0.75rem;
}

.quote-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  background: transparent;
  color: var(--color-text-muted, #94a3b8);
  font-size: 0.78rem;
  line-height: 1.35;
  transition: opacity 0.2s ease;
}

.quote-icon {
  color: var(--color-text-muted, #64748b);
  font-size: 0.82rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.quote-text {
  font-style: italic;
  color: var(--color-text-muted, #94a3b8);
  font-size: 0.78rem;
  margin: 0;
  display: inline;
}

.quote-refresh-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted, #64748b);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  padding: 0;
}

.quote-refresh-btn:hover,
.quote-refresh-btn:active {
  opacity: 1;
  color: var(--color-primary, #06b6d4);
  background: var(--color-primary-soft, rgba(6, 182, 212, 0.12));
}

.quote-refresh-btn .spin {
  transform: rotate(360deg);
}

/* Quick Hub List / Cards - Mobile First */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hub-card {
  background: var(--color-surface, var(--tfd-bg-surface, rgba(19, 27, 46, 0.88)));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border, var(--tfd-border-gold, rgba(6, 182, 212, 0.28)));
  border-radius: 12px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--color-text, var(--tfd-text-main));
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

.hub-card:hover,
.hub-card:active {
  border-color: var(--tfd-border-gold-bright, var(--color-primary));
  background: var(--color-surface-muted, var(--tfd-bg-surface-elevated));
  transform: translateY(-2px);
  color: var(--color-text, var(--tfd-text-main));
}

.hub-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-primary-soft, rgba(6, 182, 212, 0.12));
  border: 1px solid var(--color-border, var(--tfd-border-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #06b6d4);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hub-card-content {
  flex: 1;
  min-width: 0;
}

.hub-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.2rem 0;
  color: var(--color-heading, #ffffff);
}

.hub-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted, var(--tfd-text-muted));
  margin: 0;
  line-height: 1.35;
}

.hub-card-arrow {
  color: var(--color-text-muted, var(--tfd-text-muted));
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hub-card:hover .hub-card-arrow {
  color: var(--color-primary, #06b6d4);
  transform: translateX(2px);
}

/* Footer */
.tfd-footer {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--color-text-muted, var(--tfd-text-muted));
  font-size: 0.78rem;
  border-top: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
  padding-top: 1.25rem;
}

/* Desktop Expansion (min-width: 768px) */
@media (min-width: 768px) {
  .main-wrapper {
    padding: 2.25rem 1.5rem 3.5rem 1.5rem;
  }

  .hero-artwork-frame {
    max-width: 540px;
    padding: 5px;
    border-radius: 16px;
  }

  .hero-artwork-inner {
    border-radius: 11px;
  }

  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 860px;
  }

  .hub-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem 1rem;
    justify-content: space-between;
  }

  .hub-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.75rem;
  }
}

/* ==========================================================================
   Featured Game Showcase Component
   ========================================================================== */

.game-showcase {
  margin: 1.25rem 0 2.25rem 0;
  background: var(--color-surface, var(--tfd-bg-surface, rgba(19, 27, 46, 0.75)));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border, var(--tfd-border-gold, rgba(212, 175, 55, 0.3)));
  border-radius: 16px;
  padding: 1.15rem 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 25px var(--color-primary-soft, rgba(6, 182, 212, 0.1));
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .game-showcase {
    margin: 2rem 0 3rem 0;
    padding: 2rem 1.75rem;
    border-radius: 20px;
  }
}

.game-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tfd-gold-gradient, linear-gradient(90deg, #d4af37, #f7df8b, #06b6d4, #d4af37));
}

/* Game CTA Action Buttons */
.game-cta-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .game-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }
}

.btn-tfd-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--tfd-gold-gradient, linear-gradient(135deg, #0891b2 0%, #06b6d4 100%));
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 14px var(--color-primary-soft, rgba(6, 182, 212, 0.35));
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-tfd-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px var(--color-primary-soft, rgba(6, 182, 212, 0.5));
}

.btn-tfd-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--color-surface-muted, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--color-border, var(--tfd-border-gold, rgba(212, 175, 55, 0.3)));
  color: var(--color-text, #f8fafc) !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-tfd-secondary:hover {
  background: var(--color-primary-soft, rgba(6, 182, 212, 0.15));
  border-color: var(--color-primary, #06b6d4);
  color: var(--color-heading, #ffffff) !important;
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .btn-tfd-primary,
  .btn-tfd-secondary {
    font-size: 0.9rem;
    padding: 0.65rem 1.15rem;
  }
}

/* Game Cover Artwork */
.game-cover-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0 1.5rem 0;
}

.game-cover-img {
  width: 100%;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--color-border, var(--tfd-border-gold, rgba(212, 175, 55, 0.35)));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .game-cover-wrapper {
    margin: 1rem 0 2rem 0;
  }
  .game-cover-img {
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
  .game-cover-img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.25);
  }
}

/* Development Stage Pipeline Stepper */
.stage-pipeline {
  margin: 1rem 0 0.5rem 0;
  padding: 0.85rem 1.25rem 0.85rem 0.75rem;
  background: var(--color-surface-muted, rgba(0, 0, 0, 0.28));
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stage-pipeline {
    margin: 1.5rem 0 1rem 0;
    padding: 1rem 1.75rem 1rem 1.25rem;
    border-radius: 14px;
  }
}

.stage-pipeline-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.stage-pipeline-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted, #94a3b8);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stage-pipeline-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tfd-gold-light, var(--color-primary, #f7df8b));
  background: var(--color-primary-soft, rgba(212, 175, 55, 0.15));
  border: 1px solid var(--tfd-border-gold, rgba(212, 175, 55, 0.35));
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.stage-steps-container {
  position: relative;
  width: 100%;
  padding: 0.2rem 0 3.85rem 0;
}

@media (min-width: 768px) {
  .stage-steps-container {
    padding: 0.25rem 0 4.25rem 0;
  }
}

.stage-steps-track {
  position: absolute;
  top: 9px;
  left: calc(100% / 14);
  right: calc(100% / 14);
  height: 2px;
  background: var(--color-border, rgba(255, 255, 255, 0.12));
  z-index: 0;
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.25s ease;
}

@media (min-width: 768px) {
  .stage-steps-track {
    top: 11px;
  }
}

.stage-steps-progress {
  height: 100%;
  background: var(--tfd-gold-gradient, linear-gradient(90deg, var(--color-primary, #06b6d4) 0%, var(--tfd-gold-light, #f7df8b) 100%));
  border-radius: 2px;
  transition: width 0.4s ease, background 0.25s ease;
  box-shadow: 0 0 6px var(--color-primary-soft, rgba(6, 182, 212, 0.6));
}

.stage-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.stage-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.stage-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-surface, #0f172a);
  border: 2px solid var(--color-border-strong, var(--color-border, #64748b));
  margin-bottom: 0;
  z-index: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .stage-step-dot {
    width: 14px;
    height: 14px;
  }
}

.stage-step-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: rotate(55deg);
  transform-origin: 0 50%;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-muted, #94a3b8);
  line-height: 1;
  letter-spacing: -0.01em;
  pointer-events: none;
  transition: color 0.25s ease;
}

@media (min-width: 768px) {
  .stage-step-label {
    top: 22px;
    font-size: 0.74rem;
    letter-spacing: 0;
  }
}

.stage-step.completed .stage-step-dot {
  background: var(--color-primary, #06b6d4);
  border-color: var(--color-primary, #06b6d4);
  box-shadow: 0 0 6px var(--color-primary-soft, rgba(6, 182, 212, 0.35));
}

.stage-step.completed .stage-step-label {
  color: var(--color-text, #cbd5e1);
}

.stage-step.active .stage-step-dot {
  background: var(--tfd-gold-light, var(--color-primary, #f7df8b));
  border-color: var(--tfd-gold-primary, var(--color-primary-strong, #d4af37));
  box-shadow: 0 0 12px var(--color-primary-soft, rgba(247, 223, 139, 0.85));
  transform: scale(1.25);
}

.stage-step.active .stage-step-label {
  color: var(--tfd-gold-light, var(--color-primary, #f7df8b));
  font-weight: 800;
}

/* ==========================================================================
   Theme-Specific Overrides for Stage Pipeline & Showcase
   ========================================================================== */

html[data-theme="light"] .stage-pipeline,
body[data-theme="light"] .stage-pipeline {
  background: var(--color-surface-muted, #f1f5f9);
  border-color: var(--color-border, #e2e8f0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .stage-pipeline-title,
body[data-theme="light"] .stage-pipeline-title {
  color: var(--color-text-muted, #475569);
}

html[data-theme="light"] .stage-pipeline-badge,
body[data-theme="light"] .stage-pipeline-badge {
  color: var(--color-primary-strong, #4338ca);
  background: var(--color-primary-soft, #e0e7ff);
  border-color: var(--color-primary-muted, #c7d2fe);
}

html[data-theme="light"] .stage-steps-track,
body[data-theme="light"] .stage-steps-track {
  background: #cbd5e1;
}

html[data-theme="light"] .stage-steps-progress,
body[data-theme="light"] .stage-steps-progress {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  box-shadow: 0 0 6px rgba(79, 70, 229, 0.35);
}

html[data-theme="light"] .stage-step-dot,
body[data-theme="light"] .stage-step-dot {
  background: #ffffff;
  border-color: #94a3b8;
}

html[data-theme="light"] .stage-step-label,
body[data-theme="light"] .stage-step-label {
  color: var(--color-text-muted, #64748b);
}

html[data-theme="light"] .stage-step.completed .stage-step-dot,
body[data-theme="light"] .stage-step.completed .stage-step-dot {
  background: var(--color-primary, #4f46e5);
  border-color: var(--color-primary, #4f46e5);
  box-shadow: 0 0 6px rgba(79, 70, 229, 0.3);
}

html[data-theme="light"] .stage-step.completed .stage-step-label,
body[data-theme="light"] .stage-step.completed .stage-step-label {
  color: var(--color-text, #0f172a);
  font-weight: 600;
}

html[data-theme="light"] .stage-step.active .stage-step-dot,
body[data-theme="light"] .stage-step.active .stage-step-dot {
  background: var(--color-primary, #4f46e5);
  border-color: var(--color-primary-strong, #3730a3);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

html[data-theme="light"] .stage-step.active .stage-step-label,
body[data-theme="light"] .stage-step.active .stage-step-label {
  color: var(--color-primary-strong, #3730a3);
  font-weight: 800;
}

/* ==========================================================================
   Reusable Standalone Game Pages & Sell Sheet
   ========================================================================== */

.game-page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 3.5rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.game-page-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.game-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--color-surface, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  color: var(--color-text, #cbd5e1);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.game-btn-back:hover {
  background: var(--color-primary-soft, rgba(6, 182, 212, 0.15));
  border-color: var(--color-primary, #06b6d4);
  color: var(--color-primary-contrast, #ffffff);
}

.game-toolbar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted, #94a3b8);
}

.game-hero-card {
  width: 100%;
  background: var(--color-surface, var(--tfd-bg-surface, rgba(19, 27, 46, 0.85)));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border, rgba(212, 175, 55, 0.25));
  border-radius: 16px;
  padding: 1.25rem 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .game-hero-card {
    padding: 2rem 2.25rem;
  }
}

.game-title-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border, rgba(255, 255, 255, 0.1));
}

.game-title {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--color-heading, #ffffff);
  margin: 0;
  letter-spacing: -0.02em;
}

.game-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted, #94a3b8);
  margin-top: 0.25rem;
}

/* 4-Item Game Actions Bar */
.game-actions-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .game-actions-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}

.game-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.game-action-btn-primary {
  background: var(--tfd-gold-gradient, linear-gradient(135deg, #d4af37 0%, #aa820a 100%));
  color: #0b1120;
  border-color: var(--tfd-gold-light, #f7df8b);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.game-action-btn-primary:hover {
  background: linear-gradient(135deg, #f7df8b 0%, #d4af37 100%);
  color: #000000;
  transform: translateY(-1px);
}

.game-action-btn-secondary {
  background: var(--color-surface-muted, rgba(255, 255, 255, 0.06));
  color: var(--color-text, #cbd5e1);
  border-color: var(--color-border, rgba(255, 255, 255, 0.15));
}

.game-action-btn-secondary:hover {
  background: var(--color-surface-alt, rgba(255, 255, 255, 0.12));
  color: var(--color-heading, #ffffff);
  border-color: var(--color-primary, rgba(6, 182, 212, 0.6));
}

.game-action-btn-disabled,
.game-action-btn.disabled {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--color-text-muted, #64748b) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

/* Sell-Sheet Section */
.game-sell-sheet-section {
  border-top: 1px solid var(--color-border, rgba(255, 255, 255, 0.1));
}

.game-cover-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.game-cover-art {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  border: 2px solid var(--color-border, rgba(255, 255, 255, 0.12));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Game Stats Grid */
.game-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem;
  background: var(--color-surface-muted, rgba(0, 0, 0, 0.25));
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
}

@media (min-width: 600px) {
  .game-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.game-stat-icon {
  font-size: 1.15rem;
  color: var(--color-primary, #06b6d4);
  margin-bottom: 0.2rem;
}

.game-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted, #94a3b8);
}

.game-stat-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-heading, #ffffff);
}

/* Light Theme Overrides for Game Pages */
html[data-theme="light"] .game-hero-card,
body[data-theme="light"] .game-hero-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .game-title,
body[data-theme="light"] .game-title {
  color: #0f172a;
}

html[data-theme="light"] .game-action-btn-primary,
body[data-theme="light"] .game-action-btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

html[data-theme="light"] .game-action-btn-secondary,
body[data-theme="light"] .game-action-btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

html[data-theme="light"] .game-action-btn-secondary:hover,
body[data-theme="light"] .game-action-btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #4f46e5;
}

html[data-theme="light"] .game-action-btn-disabled,
body[data-theme="light"] .game-action-btn-disabled {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: #e2e8f0 !important;
}

html[data-theme="light"] .game-stats-grid,
body[data-theme="light"] .game-stats-grid {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html[data-theme="light"] .game-stat-value,
body[data-theme="light"] .game-stat-value {
  color: #0f172a;
}




