/* ==========================================================================
   Nextspin Game Landing Pages - Premium Design System (game-page.css)
   Complements style.css with High-End Game Presentation & Conversion Features
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.breadcrumb-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.breadcrumb-nav a:hover {
  color: var(--aqua);
}
.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}
.breadcrumb-current {
  color: var(--fg);
  font-weight: 600;
}

/* Game Hero Banner */
.game-hero {
  position: relative;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(14, 36, 49, 0.95), rgba(10, 26, 36, 0.9));
  border: 1px solid var(--border);
  padding: 2.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.game-hero-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: center;
}
.game-poster-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 2px solid rgba(244, 185, 66, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  aspect-ratio: 3 / 4;
}
.game-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game-poster-wrap:hover img {
  transform: scale(1.04);
}
.game-badge-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.badge-hot {
  background: linear-gradient(100deg, #ff4e50, #f9d423);
  color: #1a0800;
}
.badge-new {
  background: linear-gradient(100deg, #00c6ff, #0072ff);
  color: #fff;
}
.badge-category {
  background: rgba(53, 212, 208, 0.15);
  border: 1px solid var(--aqua);
  color: var(--aqua);
}

/* Big Headline */
.game-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  font-weight: 800;
}
.game-tagline {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Quick Specs Ribbon */
.quick-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.quick-spec-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  text-align: center;
}
.quick-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aqua);
  display: block;
  margin-bottom: 0.35rem;
}
.quick-spec-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.quick-spec-val.highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Call-to-Action Buttons */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}
.btn-cta-play {
  background: var(--gradient-gold);
  color: var(--gold-fg);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 35px -8px rgba(244, 185, 66, 0.8), 0 0 20px rgba(244, 185, 66, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-cta-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px -8px rgba(244, 185, 66, 0.9), 0 0 30px rgba(244, 185, 66, 0.6);
}
.btn-cta-demo {
  background: transparent;
  border: 2px solid var(--aqua);
  color: var(--aqua);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.btn-cta-demo:hover {
  background: rgba(53, 212, 208, 0.15);
  color: #fff;
  border-color: #fff;
}

/* Trust Badges Ribbon */
.trust-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-item svg, .trust-item span.icon {
  color: var(--gold);
}

/* Content Layout */
.game-content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  margin-top: 3.5rem;
}
.game-main-article {
  min-width: 0;
}
.game-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: start;
}

/* Rich Prose */
.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #d1e2ec;
}
.prose h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
}
.prose h3 {
  font-size: 1.3rem;
  color: var(--aqua);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose p {
  margin-bottom: 1.4rem;
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.prose li {
  margin-bottom: 0.5rem;
}

/* Mid Article Conversion Box */
.mid-cta-box {
  background: linear-gradient(135deg, rgba(244, 185, 66, 0.1), rgba(14, 36, 49, 0.8));
  border: 1px solid rgba(244, 185, 66, 0.3);
  border-radius: 1.25rem;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.mid-cta-box h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.mid-cta-box p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* Feature Grid Cards */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--aqua);
}
.feature-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(53, 212, 208, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--aqua);
}
.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #fff;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Spec Comparison Table */
.spec-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--panel);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.spec-table th, .spec-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.spec-table th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spec-table tr:last-child td {
  border-bottom: none;
}
.spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* FAQ Accordion */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
}
.sidebar-widget h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-promo-card {
  background: linear-gradient(135deg, rgba(244, 185, 66, 0.15), rgba(14, 36, 49, 0.9));
  border: 1px solid rgba(244, 185, 66, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.sidebar-promo-card .stat {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Related Games Grid */
.related-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Mobile Sticky Bottom CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 26, 36, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}
.mobile-sticky-inner {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-sticky-inner a {
  flex: 1;
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .game-content-layout {
    grid-template-columns: 1fr;
  }
  .game-sidebar {
    position: static;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .game-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .game-poster-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
  .quick-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-cta-play, .btn-cta-demo {
    justify-content: center;
    width: 100%;
  }
  .mobile-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 4.5rem; /* space for sticky cta */
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
