/* ==========================================================================
   GTA CHEAT SHEET CANONICAL DESIGN SYSTEM (v3.2)
   High-Authority Gaming UI / Apple-Clean HUD Standard
   Color Palette: Deep Titanium, Vice City Pink (#ff2e88), Vice Cyan (#2ee6e6)
   ========================================================================== */

:root {
  --bg: #090511;
  --bg2: #100820;
  --panel: #160e2a;
  --panel2: #1e1438;
  --panel-glass: rgba(22, 14, 42, 0.78);
  --line: #2b1d4c;
  --line-bright: #443075;
  --ink: #f7f4ff;
  --muted: #b8acdb;
  --faint: #8a7cae;
  --pink: #ff2e88;
  --pink-glow: rgba(255, 46, 136, 0.35);
  --pink-soft: #ff5ea3;
  --cyan: #2ee6e6;
  --cyan-dim: #16b3b3;
  --cyan-glow: rgba(46, 230, 230, 0.35);
  --sun: #ffb33a;
  --green: #3ddc84;
  --green-glow: rgba(61, 220, 132, 0.3);
  --red: #ff5470;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --navh: 64px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-neon: 0 0 20px var(--pink-glow);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-display: "Bebas Neue", "Impact", -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 46, 136, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(46, 230, 230, 0.08), transparent);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--pink-soft);
}

img, svg {
  vertical-align: middle;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP NAVIGATION & GAMING HUD HEADER
   ========================================================================== */

.hud-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 5, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hud-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navh);
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-badge {
  background: linear-gradient(135deg, var(--pink), #b01458);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 12px var(--pink-glow);
}

.brand-title .vi {
  color: var(--pink);
  text-shadow: 0 0 10px var(--pink-glow);
}

.brand-title .sheet {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.nav-item:hover, .nav-item.active {
  color: var(--ink);
  background: var(--panel2);
  border-color: var(--line-bright);
}

.nav-item.highlight {
  color: var(--pink-soft);
  background: rgba(255, 46, 136, 0.12);
  border-color: rgba(255, 46, 136, 0.35);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: var(--panel);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  padding: 12px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  gap: 4px;
  z-index: 110;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  padding: 6px 10px 2px;
  font-weight: 700;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.dropdown-link:hover {
  color: #fff;
  background: var(--panel2);
  transform: translateX(3px);
}

.dropdown-link .chip {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

/* Header Utilities */
.hud-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher Styling */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 10, 36, 0.85);
  border: 1px solid var(--line-bright);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(46, 230, 230, 0.3);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 170px;
  padding: 8px;
  background: #120b24;
  border: 1px solid rgba(255, 46, 136, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  gap: 3px;
  z-index: 120;
}

.lang-selector.open .lang-dropdown-menu,
.lang-selector:hover .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #c0b4db;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-opt:hover {
  background: var(--panel2);
  color: #fff;
  transform: translateX(2px);
}

.lang-opt.active {
  color: var(--cyan);
  background: rgba(46, 230, 230, 0.12);
  font-weight: 800;
}

.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0px !important;
}

.verified-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.35);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.verified-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.mobile-toggle {
  display: none;
  background: var(--panel2);
  border: 1px solid var(--line-bright);
  color: var(--ink);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 105;
}

.mobile-toggle:hover {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 0 12px var(--pink-glow);
}

.mobile-toggle .bar {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--pink);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--pink);
}

/* Enhanced Mobile Drawer */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 6, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--pink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}

.mobile-drawer.open {
  max-height: 84vh;
  opacity: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px 36px;
}

.mobile-drawer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.mobile-nav-group {
  background: rgba(26, 15, 46, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.mobile-nav-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-heading .badge-count {
  font-size: 0.65rem;
  background: rgba(46, 230, 230, 0.15);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
}

.mobile-nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.mobile-nav-item {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
  text-decoration: none;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  color: #fff;
  background: rgba(255, 46, 136, 0.15);
  border-color: var(--pink);
  transform: translateX(3px);
}

.mobile-nav-item .arrow {
  color: var(--faint);
  font-size: 0.8rem;
}

/* ==========================================================================
   BREADCRUMBS & FRANCHISE QUICK TABS
   ========================================================================== */

.hud-subbar {
  background: rgba(16, 8, 32, 0.65);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 0.82rem;
}

.subbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

.breadcrumbs .sep {
  color: var(--line-bright);
}

.franchise-ribbon {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.franchise-ribbon::-webkit-scrollbar {
  display: none;
}

.ribbon-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 14px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ribbon-btn:hover {
  color: var(--ink);
  border-color: var(--pink);
  background: var(--panel2);
}

.ribbon-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #8f0d46);
  border-color: var(--pink);
  box-shadow: 0 0 8px var(--pink-glow);
}

/* ==========================================================================
   HERO BANNER & GAME SPECIFIC JUMBOTRON
   ========================================================================== */

.hero-section {
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 46, 136, 0.12);
  border: 1px solid rgba(255, 46, 136, 0.35);
  color: var(--pink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}

.hero-title .glow-pink {
  color: var(--pink);
  text-shadow: 0 0 25px var(--pink-glow);
}

.hero-title .glow-cyan {
  color: var(--cyan);
  text-shadow: 0 0 25px var(--cyan-glow);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero-quickstats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--panel-glass);
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: var(--radius);
  min-width: 130px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero HUD Card */
.hero-hud-card {
  background: linear-gradient(145deg, var(--panel), var(--panel2));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md), 0 0 30px rgba(46, 230, 230, 0.08);
  position: relative;
}

.hud-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.hud-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.hud-card-badge {
  font-size: 0.75rem;
  background: rgba(46, 230, 230, 0.15);
  color: var(--cyan);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Platform Selectors */
.platform-selector {
  display: flex;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--radius-sm);
  gap: 4px;
  margin-bottom: 16px;
}

.plat-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.plat-btn:hover {
  color: #fff;
}

.plat-btn.active {
  background: var(--panel2);
  color: #fff;
  border: 1px solid var(--line-bright);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   DIRECT ANSWER / AEO QUICK TAKEAWAYS (SOP PHASE 6)
   ========================================================================== */

.takeaway-card {
  background: linear-gradient(135deg, rgba(22, 14, 42, 0.9), rgba(30, 20, 56, 0.9));
  border: 1px solid var(--line-bright);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.takeaway-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.takeaway-icon {
  color: var(--pink);
  font-size: 1.2rem;
}

.takeaway-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.takeaway-body {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.takeaway-body strong {
  color: #fff;
}

/* ==========================================================================
   INTERACTIVE CHEAT SEARCH, FILTER & TABLE
   ========================================================================== */

.filter-toolbar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  font-size: 1rem;
}

.search-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  color: #fff;
  border-color: var(--line-bright);
}

.chip-btn.active {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  font-weight: 800;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Cheat Code Table */
.cheat-table-container {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.cheat-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.cheat-table th {
  background: var(--panel2);
  color: var(--faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  padding: 14px 18px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.cheat-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.cheat-table tr:hover td {
  background: rgba(30, 20, 56, 0.4);
}

.cheat-name {
  font-weight: 700;
  color: #fff;
  display: block;
}

.cheat-meta {
  font-size: 0.78rem;
  color: var(--faint);
  margin-top: 3px;
}

.cheat-badge-verified {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(61, 220, 132, 0.15);
  color: var(--green);
  border: 1px solid rgba(61, 220, 132, 0.3);
}

.cheat-badge-contested {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 179, 58, 0.15);
  color: var(--sun);
  border: 1px solid rgba(255, 179, 58, 0.3);
}

.cheat-badge-locked {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 84, 112, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 84, 112, 0.3);
}

/* Controller Button Glyphs */
kbd.btn-ps, kbd.btn-xb, kbd.btn-pc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  margin: 2px;
  white-space: nowrap;
}

kbd.btn-ps {
  background: #181c30;
  border: 1px solid #3c446c;
  color: #a7b7ff;
}

kbd.btn-xb {
  background: #11281a;
  border: 1px solid #285437;
  color: #72f099;
}

kbd.btn-pc {
  background: #231633;
  border: 1px solid #573380;
  color: #ff9ee2;
  letter-spacing: 0.05em;
}

.dpad-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 2px;
  background: rgba(46, 230, 230, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(46, 230, 230, 0.3);
}

.copy-btn {
  background: var(--panel2);
  border: 1px solid var(--line-bright);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 10px var(--pink-glow);
}

.copy-btn.copied {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

/* ==========================================================================
   CHILD PAGES / SUB-PAGE CLUSTERS & CARDS
   ========================================================================== */

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.subpage-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.subpage-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm), 0 0 20px var(--pink-glow);
}

.subpage-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: #fff;
}

.subpage-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.subpage-card-link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subpage-card:hover .subpage-card-link {
  color: var(--pink-soft);
}

/* ==========================================================================
   E-E-A-T AUTHOR & EDITORIAL POLICY CALLOUT
   ========================================================================== */

.eeat-card {
  background: linear-gradient(145deg, var(--panel), var(--panel2));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  padding: 24px;
  margin: 36px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 700px) {
  .eeat-card {
    flex-direction: column;
    text-align: center;
  }
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  box-shadow: 0 0 15px var(--pink-glow);
  flex-shrink: 0;
  background: #251740;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
}

.author-details h4 {
  font-size: 1.1rem;
  margin: 0 0 4px;
  color: #fff;
}

.author-role {
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.author-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FAQ ACCORDION & QUESTIONS
   ========================================================================== */

.faq-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 40px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--line-bright);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--pink);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   HIGH-AUTHORITY PRECISION GAMING FOOTER
   ========================================================================== */

.hud-footer {
  background: #06030b;
  border-top: 1px solid var(--line);
  padding: 60px 0 24px;
  margin-top: 80px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 1100px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--pink);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links li a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: all 0.15s ease;
  display: block;
}

.footer-links li a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-brand-bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 16px;
}

.footer-audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 230, 230, 0.08);
  border: 1px solid rgba(46, 230, 230, 0.25);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(43, 29, 76, 0.6);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--faint);
}

.footer-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}

/* ==========================================================================
   TOAST NOTIFICATION ENGINE
   ========================================================================== */

#toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--panel2);
  border: 1px solid var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px var(--green-glow);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   COMPETITOR-BEATER HUD ENHANCEMENTS: COUNTDOWN, GLANCE MATRIX & WIDGETS
   ========================================================================== */

.hud-countdown {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.cd-box {
  background: var(--bg);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-width: 72px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.cd-digit {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 10px var(--cyan-glow);
}

.cd-unit {
  font-size: 0.7rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* GTA 6 At a Glance Specs Grid */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.glance-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glance-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.glance-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  text-align: right;
}

.st-confirmed {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(61, 220, 132, 0.15);
  color: var(--green);
  border: 1px solid rgba(61, 220, 132, 0.3);
  margin-left: 6px;
}

.st-unannounced {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 179, 58, 0.15);
  color: var(--sun);
  border: 1px solid rgba(255, 179, 58, 0.3);
  margin-left: 6px;
}

/* Interactive Dwell-Time Widgets */
.interactive-widget-box {
  background: linear-gradient(145deg, var(--panel), var(--panel2));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 36px 0;
  box-shadow: var(--shadow-md);
}

.pulse-anim {
  animation: textFlash 0.5s ease-in-out;
}

@keyframes textFlash {
  0% { transform: scale(0.98); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   ADVANCED RESPONSIVE DESIGN (TABLET, MOBILE & DESKTOP)
   ========================================================================== */

/* Tablet & Medium Screens Breakpoint (1100px and below) */
@media (max-width: 1100px) {
  .hud-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .footer-top-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 32px !important;
  }
}

/* Mobile Screens Breakpoint (768px and below) */
@media (max-width: 768px) {
  :root {
    --navh: 62px;
  }
  .wrap {
    padding: 0 16px;
  }
  .hud-inner {
    gap: 8px;
  }
  .brand-logo {
    gap: 6px;
  }
  .brand-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
  }
  .verified-pill {
    padding: 4px 8px;
    font-size: 0.72rem;
  }
  
  /* Subbar & Breadcrumbs & Ribbon */
  .subbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .breadcrumbs {
    font-size: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }
  .franchise-ribbon {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .franchise-ribbon::-webkit-scrollbar {
    display: none;
  }
  
  /* Mobile Drawer Links */
  .mobile-nav-links {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  
  /* Footer Responsiveness */
  .hud-footer {
    padding: 40px 0 24px;
    margin-top: 50px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .footer-status-pill {
    justify-content: center;
  }
}

/* Small Smartphone Screens (<420px) */
@media (max-width: 420px) {
  .brand-title {
    font-size: 0.95rem;
  }
  .verified-pill span:not(.verified-dot) {
    display: none;
  }
  .verified-pill {
    padding: 7px;
    border-radius: 50%;
  }
}

/* Floating Back to Top Button */
#backToTopBtn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 8, 28, 0.92);
  border: 1px solid var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 46, 136, 0.35);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTopBtn:hover {
  background: var(--pink);
  box-shadow: 0 0 20px var(--pink-glow);
  transform: translateY(-3px);
}

/* Additional Multi-Language Responsive Styles */
.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}
@media (max-width: 480px) {
  .mobile-lang-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.lang-opt-btn {
  text-align: center;
  font-size: 0.78rem;
  padding: 6px 4px;
}
.lang-opt-btn.active {
  background: var(--cyan);
  color: #0b0717;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(46, 230, 230, 0.4);
}

/* Ultra-Readable Logo Responsive Sizing */
.brand-logo img {
  height: 38px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand-logo:hover img {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .brand-logo img {
    height: 36px;
  }
}
@media (max-width: 480px) {
  .brand-logo img {
    height: 32px;
  }
}
