/* ==========================================================================
   GameZoneHQ Main Theme Stylesheet
   Design: Cyber Dark Modern Gaming Portal
   ========================================================================== */

/* --- ROOT VARIABLES --- */
:root {
  --gz-bg-base: #07090e;
  --gz-bg-surface: #0e131d;
  --gz-bg-card: #141b27;
  --gz-bg-card-hover: #1b2434;
  --gz-border: #232d3f;
  --gz-border-light: #334155;
  --gz-primary: #6366f1;
  --gz-primary-hover: #4f46e5;
  --gz-cyan: #00f0ff;
  --gz-emerald: #10b981;
  --gz-amber: #f59e0b;
  --gz-rose: #f43f5e;
  --gz-purple: #8b5cf6;
  --gz-text: #f8fafc;
  --gz-text-muted: #94a3b8;
  --gz-text-dim: #64748b;
  --gz-glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
  --gz-glow-primary: 0 0 20px rgba(99, 102, 241, 0.4);
  --gz-radius: 12px;
}

body {
  background-color: var(--gz-bg-base);
  color: var(--gz-text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main#main-content {
  flex: 1 0 auto;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6, .font-heading, .nav-link, .gz-badge {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.text-cyan { color: var(--gz-cyan) !important; }
.text-emerald { color: var(--gz-emerald) !important; }
.text-amber { color: var(--gz-amber) !important; }
.bg-cyan { background-color: var(--gz-cyan) !important; }
.bg-emerald { background-color: var(--gz-emerald) !important; }

/* --- TOP ANNOUNCEMENT BAR --- */
.gz-top-bar {
  background: linear-gradient(90deg, #090d14 0%, #151a28 50%, #090d14 100%);
  border-bottom: 1px solid var(--gz-border);
  font-size: 0.85rem;
}
.gz-ticker-pill {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.gz-social-link {
  color: var(--gz-text-muted);
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.gz-social-link:hover {
  color: var(--gz-cyan);
  transform: translateY(-2px);
}

/* --- MAIN NAVBAR --- */
.gz-navbar {
  background: rgba(14, 19, 29, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gz-border);
  transition: all 0.3s ease;
  z-index: 1030;
}
.gz-navbar.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: rgba(10, 14, 22, 0.98);
}
.gz-logo-img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}
.gz-brand-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.gz-brand-text span {
  color: var(--gz-cyan);
}
.gz-navbar .nav-link {
  color: var(--gz-text);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.6rem 1rem !important;
  position: relative;
  transition: color 0.25s ease;
}
.gz-navbar .nav-link:hover,
.gz-navbar .nav-link.active {
  color: var(--gz-cyan);
}
.gz-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gz-cyan);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.gz-navbar .nav-link:hover::after,
.gz-navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown Menus */
.gz-dropdown-menu {
  background-color: var(--gz-bg-card);
  border: 1px solid var(--gz-border);
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  padding: 8px;
}
.gz-dropdown-menu .dropdown-item {
  color: var(--gz-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.gz-dropdown-menu .dropdown-item:hover {
  background-color: var(--gz-bg-card-hover);
  color: var(--gz-cyan);
  transform: translateX(4px);
}

/* --- BUTTONS --- */
.btn-gz-primary {
  background: linear-gradient(135deg, var(--gz-primary) 0%, var(--gz-purple) 100%);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
  transition: all 0.25s ease;
}
.btn-gz-primary:hover {
  background: linear-gradient(135deg, var(--gz-purple) 0%, var(--gz-primary) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
}
.btn-gz-cyan {
  background: linear-gradient(135deg, var(--gz-cyan) 0%, #00b4d8 100%);
  color: #07090e;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
  transition: all 0.25s ease;
}
.btn-gz-cyan:hover {
  background: linear-gradient(135deg, #38bdf8 0%, var(--gz-cyan) 100%);
  color: #07090e;
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}
.btn-gz-outline {
  background: transparent;
  color: var(--gz-text);
  border: 1px solid var(--gz-border-light);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-gz-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--gz-cyan);
  color: var(--gz-cyan);
  transform: translateY(-2px);
}

/* --- GAMING CARDS --- */
.gz-card {
  background: var(--gz-bg-card);
  border: 1px solid var(--gz-border);
  border-radius: var(--gz-radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.gz-card:hover {
  background: var(--gz-bg-card-hover);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(99, 102, 241, 0.15);
}
.gz-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #0b0f16;
}
.gz-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gz-card:hover .gz-card-media img {
  transform: scale(1.06);
}
.gz-card-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.gz-card-overlay-platform {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
}
.gz-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gz-card-meta {
  font-size: 0.82rem;
  color: var(--gz-text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}
.gz-card-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: #fff;
  transition: color 0.2s;
}
.gz-card-title a {
  color: inherit;
}
.gz-card-title a:hover {
  color: var(--gz-cyan);
}
.gz-card-excerpt {
  color: var(--gz-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* --- RATING BADGES --- */
.gz-rating-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid;
  line-height: 1;
}
.gz-rating-badge.gz-badge-sm {
  padding: 4px 8px;
  font-size: 0.85rem;
}
.gz-rating-badge.gz-badge-md {
  padding: 6px 12px;
  font-size: 1.05rem;
}
.gz-rating-badge.gz-badge-lg {
  padding: 10px 18px;
  font-size: 1.5rem;
}

/* --- PLATFORM PILLS --- */
.gz-platform-pill {
  background: rgba(14, 21, 33, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gz-border);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* --- HERO SHOWCASE --- */
.gz-hero-showcase {
  position: relative;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--gz-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.gz-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.1) 0%, rgba(7, 9, 14, 0.85) 60%, rgba(7, 9, 14, 0.98) 100%);
}
.gz-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  max-width: 820px;
}
.gz-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.7);
}

/* --- SECTION HEADERS --- */
.gz-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--gz-border);
  padding-bottom: 0.75rem;
}
.gz-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gz-section-title i {
  color: var(--gz-cyan);
}
.gz-section-title span {
  color: var(--gz-cyan);
}

/* --- REVIEW SCORE CIRCLE & VERDICT BOX --- */
.gz-verdict-card {
  background: linear-gradient(145deg, #131926 0%, #0c1119 100%);
  border: 1px solid var(--gz-border-light);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.gz-score-giant {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--gz-emerald);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
}
.gz-score-giant .score-num {
  font-size: 2.6rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  line-height: 1;
  color: var(--gz-emerald);
}
.gz-score-giant .score-out-of {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gz-text-muted);
}
.gz-pros-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
}
.gz-cons-box {
  background: rgba(244, 63, 94, 0.05);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
}
.gz-pro-item, .gz-con-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Breakdown Progress Bars */
.gz-breakdown-bar {
  background-color: var(--gz-border);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.gz-breakdown-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gz-primary), var(--gz-cyan));
}

/* --- WALKTHROUGH TOC & STEPS --- */
.gz-toc-card {
  background: var(--gz-bg-card);
  border: 1px solid var(--gz-border);
  border-radius: 12px;
  padding: 1.5rem;
}
.gz-step-box {
  background: var(--gz-bg-surface);
  border-left: 4px solid var(--gz-cyan);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.gz-spoiler-banner {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  border-radius: 8px;
  padding: 1rem;
}

/* --- NEWSLETTER / SUBSCRIBER CARD --- */
.gz-newsletter-card {
  background: linear-gradient(135deg, #101624 0%, #171d2f 50%, #0d121c 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.15);
}
.gz-badge-glow {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
}

/* --- BREADCRUMBS --- */
.gz-breadcrumbs-nav .breadcrumb {
  background: var(--gz-bg-surface);
  border: 1px solid var(--gz-border);
  font-size: 0.85rem;
}
.gz-breadcrumbs-nav .breadcrumb-item a {
  color: var(--gz-text-muted);
}
.gz-breadcrumbs-nav .breadcrumb-item a:hover {
  color: var(--gz-cyan);
}
.gz-breadcrumbs-nav .breadcrumb-item.active {
  color: #fff;
  font-weight: 600;
}

/* --- FOOTER --- */
.gz-footer {
  background-color: #05070a;
  border-top: 1px solid var(--gz-border);
  color: var(--gz-text-muted);
  font-size: 0.95rem;
}
.gz-footer h5, .gz-footer-widget-title {
  color: #fff;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.gz-footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--gz-cyan);
}
.gz-footer a {
  color: var(--gz-text-muted);
  transition: all 0.2s;
}
.gz-footer a:hover {
  color: var(--gz-cyan);
  padding-left: 4px;
}
.gz-footer-bottom {
  background-color: #030407;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* --- SEARCH MODAL --- */
.gz-search-modal .modal-content {
  background: rgba(14, 19, 29, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gz-border-light);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}
.gz-search-modal .form-control {
  background: #090d15;
  border: 1px solid var(--gz-border-light);
  color: #fff;
  font-size: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
}
.gz-search-modal .form-control:focus {
  border-color: var(--gz-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 991.98px) {
  .gz-hero-showcase {
    min-height: 400px;
  }
  .gz-hero-content {
    padding: 1.5rem;
  }
}
