/* PlayReq - NVIDIA Precision Industrial Design System - Featuring: - - Dynamic Hero Background Slideshow with Glassmorphism - - Secret 5-Click Admin Command Center - - Official NVIDIA.com Aesthetic: Deep Obsidian Blacks, GeForce Green (#76b900) */

:root {
  /* NVIDIA Brand Color Palette */
  --nv-green: #76b900;
  --nv-green-hover: #8ae000;
  --nv-green-glow: rgba(118, 185, 0, 0.35);
  --nv-green-subtle: rgba(118, 185, 0, 0.12);

  /* NVIDIA Industrial Blacks & Carbons */
  --nv-black: #050505;
  --nv-panel: #0d0d0d;
  --nv-card: #141414;
  --nv-card-hover: #1c1c1c;
  --nv-input: #080808;
  --nv-border: #262626;
  --nv-border-light: #333333;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #9e9e9e;
  --text-muted: #666666;
  --text-dim: #444444;

  /* Status Colors */
  --nv-pass: #76b900;
  --nv-pass-bg: rgba(118, 185, 0, 0.15);
  --nv-warn: #ffb800;
  --nv-warn-bg: rgba(255, 184, 0, 0.15);
  --nv-fail: #ff3344;
  --nv-fail-bg: rgba(255, 51, 68, 0.15);

  /* Geometry & Precision */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.18s cubic-bezier(0, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--nv-green);
  color: #000000;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: 0 4px 14px rgba(118, 185, 0, 0.4);
}

.skip-link:focus {
  top: 1rem;
}

/* Accessibility: Hide element visually while keeping it available to screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  font-family: var(--font-stack);
  background-color: var(--nv-black);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--nv-black);
}
::-webkit-scrollbar-thumb {
  background: #2b2b2b;
  border-radius: var(--radius-xs);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--nv-green);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* SVG Vector Icon System */
.svg-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-lg {
  width: 20px;
  height: 20px;
}

/* Top Announcement Banner */
.top-announcement-bar {
  background: #111111;
  border-bottom: 1px solid var(--nv-border);
  padding: 8px 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.top-announcement-bar strong {
  color: var(--nv-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nv-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Interactive Brand Logo Wrapper (5 Clicks Triggers Secret Admin) */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform var(--transition);
}

.brand-wrapper:active {
  transform: scale(0.97);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Header Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-link-btn:hover {
  color: #ffffff;
  background: #1a1a1a;
}

.nav-link-btn.active {
  color: var(--nv-green);
  background: rgba(118, 185, 0, 0.08);
  border-bottom: 2px solid var(--nv-green);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--nv-border);
  color: #fff;
  padding: 7px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Hero Section with Dynamic Background Slideshow */
.hero-stage-wrapper {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--nv-border);
  margin-bottom: 2.5rem;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slideshow Background Layers */
.hero-slideshow-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out, transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62) contrast(1.15);
}

/* Subtle Vignette & Depth Gradient Overlay */
.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(circle at 50% 45%, rgba(5, 5, 5, 0.25) 0%, rgba(5, 5, 5, 0.85) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.35) 50%, #050505 100%);
  pointer-events: none;
}

/* Open Floating Hero Content (No enclosing box) */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 4.5rem 1rem 3.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(8, 8, 8, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(118, 185, 0, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--nv-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-heading {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-heading-highlight {
  color: var(--nv-green);
  text-shadow: 0 0 35px rgba(118, 185, 0, 0.45), 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: #f0f0f0;
  max-width: 820px;
  margin: 0 auto 2rem;
  line-height: 1.65;
  font-weight: 450;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Slideshow Controls / Indicator Dots */
.hero-slide-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.slide-dot.active {
  background: var(--nv-green);
  width: 24px;
  box-shadow: 0 0 8px var(--nv-green-glow);
}

/* Form Card & Rig Presets */
.preset-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--nv-border);
}

.preset-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.preset-btn {
  background: var(--nv-panel);
  border: 1px solid var(--nv-border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.preset-btn:hover {
  border-color: var(--nv-green);
  color: #fff;
  background: #1a1a1a;
}

.checker-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.checker-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nv-green) 0%, transparent 80%);
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-label-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
}

.field-select, .field-input {
  background: var(--nv-input);
  border: 1px solid var(--nv-border);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}

.field-select:focus, .field-input:focus {
  border-color: var(--nv-green);
  box-shadow: 0 0 0 1px var(--nv-green);
}

.field-select option {
  background: #111111;
  color: #fff;
  padding: 8px;
}

.btn-nvidia-action {
  width: 100%;
  background: var(--nv-green);
  border: none;
  color: #000000;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-nvidia-action:hover {
  background: var(--nv-green-hover);
  box-shadow: 0 0 16px var(--nv-green-glow);
}

/* Results View & Benchmarks */
.results-container {
  display: none;
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.results-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--nv-border);
  margin-bottom: 1.5rem;
}

.verdict-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.verdict-icon-frame {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.frame-pass {
  background: var(--nv-pass-bg);
  border: 1px solid var(--nv-pass);
  color: var(--nv-pass);
}

.frame-warn {
  background: var(--nv-warn-bg);
  border: 1px solid var(--nv-warn);
  color: var(--nv-warn);
}

.frame-fail {
  background: var(--nv-fail-bg);
  border: 1px solid var(--nv-fail);
  color: var(--nv-fail);
}

.verdict-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.verdict-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Framerate Matrix Strip */
.fps-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.fps-metric-box {
  background: var(--nv-panel);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
  transition: border-color var(--transition);
}

.fps-metric-box:hover {
  border-color: var(--nv-green);
}

.fps-profile-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.fps-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
}

.fps-fps-tag {
  font-size: 0.7rem;
  color: var(--nv-green);
  font-weight: 700;
}

/* Component Specification Match */
.component-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.comp-card {
  background: var(--nv-panel);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comp-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.comp-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-green {
  background: var(--nv-pass-bg);
  color: var(--nv-pass);
  border: 1px solid rgba(118, 185, 0, 0.4);
}

.badge-red {
  background: var(--nv-fail-bg);
  color: var(--nv-fail);
  border: 1px solid rgba(255, 51, 68, 0.4);
}

.comp-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.comp-target {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Advisor Cards */
.advisor-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.advisor-card {
  background: var(--nv-panel);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.advisor-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.advisor-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Search Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-box-wrap .svg-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background: var(--nv-input);
  border: 1px solid var(--nv-border);
  color: #fff;
  padding: 9px 12px 9px 36px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.search-input:focus {
  border-color: var(--nv-green);
}

.filter-pills-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--nv-panel);
  border: 1px solid var(--nv-border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--nv-green);
  border-color: var(--nv-green);
  color: #000;
}

/* Games Layout Grid */
.games-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.game-tile {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition);
}

.game-tile:hover {
  transform: translateY(-2px);
  border-color: var(--nv-green);
}

.game-cover-area {
  position: relative;
  height: 150px;
  background: #0a0a0a;
  overflow: hidden;
}

.game-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.game-tile:hover .game-cover-img {
  transform: scale(1.04);
}

.game-score-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid var(--nv-border);
  color: var(--nv-green);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.game-tile-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.genre-tags-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.genre-tag-item {
  font-size: 0.68rem;
  color: var(--nv-green);
  background: var(--nv-green-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.game-tile-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.3;
}

.game-tile-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--nv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.view-reqs-cta {
  color: var(--nv-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Guides Grid */
.guides-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.guide-box {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.guide-box:hover {
  border-color: var(--nv-green);
}

.guide-category-badge {
  font-size: 0.7rem;
  color: var(--nv-green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.guide-box-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
}

.guide-box-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.guide-open-action {
  background: transparent;
  border: none;
  color: var(--nv-green);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  font-family: inherit;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 860px;
  margin: 2rem auto 3rem;
}

.faq-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 1.1rem 1.35rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}

.faq-trigger:hover {
  color: var(--nv-green);
}

.faq-body {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
}

/* Modal System */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-dialog {
  background: #111111;
  border: 1px solid var(--nv-border-light);
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.modal-dismiss-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #1f1f1f;
  border: 1px solid var(--nv-border);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-dismiss-btn:hover {
  background: var(--nv-fail);
  color: #fff;
}

/* Super Admin Command Center UI Tabs & Panels */
.admin-tab-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--nv-border);
  padding-bottom: 8px;
  overflow-x: auto;
}

.admin-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: inherit;
  transition: all var(--transition);
}

.admin-tab-btn.active {
  background: var(--nv-green);
  color: #000;
}

.admin-panel-section {
  display: none;
}
.admin-panel-section.active {
  display: block;
}

/* Footer */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--nv-border);
  padding: 3.5rem 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-nav-list button, .footer-nav-list a {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  transition: color var(--transition);
  text-decoration: none;
  padding: 0;
}

.footer-nav-list button:hover, .footer-nav-list a:hover {
  color: var(--nv-green);
}

.footer-bottom-bar {
  padding-top: 1.5rem;
  border-top: 1px solid var(--nv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-powered {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.footer-sponsor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a3a3a3;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.footer-sponsor-link:hover {
  color: #ffffff;
  border-color: var(--nv-green);
  background: rgba(118, 185, 0, 0.08);
  box-shadow: 0 0 12px rgba(118, 185, 0, 0.2);
}

.footer-sponsor-link img {
  height: 18px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 2px;
}

/* Cookie Notice */
.cookie-floating-panel {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  max-width: 500px;
  margin: 0 auto;
  background: #111111;
  border: 1px solid var(--nv-border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.btn-cookie-dismiss {
  background: var(--nv-green);
  color: #000;
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
}

/* Mobile & Fluid Screen Adjustments */
@media (max-width: 900px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--nv-border);
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link-btn {
    width: 100%;
    padding: 10px 12px;
    justify-content: flex-start;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-glass-card {
    padding: 1.75rem 1.25rem;
  }

  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .fps-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .fps-number {
    font-size: 1.8rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .fps-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .fps-metric-box {
    padding: 0.75rem 0.5rem;
  }
}

/* Custom NVIDIA Toast Notification Message Box */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--nv-border-light);
  border-left: 4px solid var(--nv-green);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(118, 185, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.toast-message.toast-visible {
  transform: translateX(0);
  opacity: 1;
}

.toast-message.toast-error {
  border-left-color: var(--nv-fail);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 51, 68, 0.15);
}

.toast-message.toast-warn {
  border-left-color: var(--nv-warn);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 184, 0, 0.15);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.toast-body {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.toast-close-btn:hover {
  color: #fff;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--nv-green);
  width: 100%;
  animation: toastProgress 3.5s linear forwards;
}

.toast-error .toast-progress {
  background: var(--nv-fail);
}

.toast-warn .toast-progress {
  background: var(--nv-warn);
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

/* Cookie Consent Banner (GDPR & Canopy Compliant) */
.cookie-floating-panel {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 820px;
  background: rgba(14, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(118, 185, 0, 0.4);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 99999;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 20px rgba(118, 185, 0, 0.15);
  animation: slideUpConsent 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpConsent {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-content {
  flex: 1;
}

.cookie-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.cookie-text a, .cookie-text button {
  color: var(--nv-green);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--nv-green);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: var(--nv-green-bright);
  box-shadow: 0 0 12px rgba(118, 185, 0, 0.5);
}

.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (max-width: 680px) {
  .cookie-floating-panel {
    flex-direction: column;
    align-items: flex-start;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 1rem;
    gap: 1rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}


