/* CosmicGamesHub — Premium Dark Gaming Design System v2 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

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

:root {
  --bg-void:    #06060a;
  --bg-base:    #09090f;
  --bg-surface: #0f0f18;
  --bg-card:    rgba(255,255,255,0.03);
  --bg-raised:  #1a1a28;
  --border:     rgba(255,255,255,0.06);
  --border-mid: rgba(0,212,255,0.3);
  --accent:     #00d4ff;
  --accent-dim: rgba(0,212,255,0.12);
  --accent-glow:rgba(0,212,255,0.4);
  --text-hi:    #eeeeff;
  --text-mid:   #a8a8c0;
  --text-lo:    #585870;
  --green:      #00e676;
  --amber:      #ffb300;
  --red:        #ff4757;
  --radius-sm:  6px;
  --radius:     14px;
  --radius-lg:  20px;
  --shadow:     0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg:  0 16px 60px rgba(0,0,0,0.8);
  --glow:       0 0 24px rgba(0,212,255,0.2);
}

/* Ambient depth orbs — fixed so they stay as you scroll */
html {
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse 65% 50% at 12% 18%, rgba(0,160,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 88% 82%, rgba(100,0,220,0.055) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(0,180,200,0.03) 0%, transparent 70%),
    #09090f;
  background-attachment: fixed;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: transparent;
  color: var(--text-mid);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture — the single biggest "premium" tell */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text-hi);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }
strong { color: var(--text-hi); font-weight: 600; }

/* ─── Layout ──────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Navigation ──────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Homepage transparent-nav modifier */
.nav--hero {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}
.nav--hero.nav--scrolled {
  background: rgba(9,9,15,0.9) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom-color: var(--border) !important;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-hi);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__logo:hover { text-decoration: none; }

.nav__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #00d4ff 0%, #0055ff 100%);
  border-radius: 9px;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 0 18px rgba(0,212,255,0.35);
}
.nav__logo-text span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  padding: 0; margin: 0;
}
.nav__links a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover {
  color: var(--text-hi);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}
.nav__links a.active { color: var(--accent); }

.nav__cta {
  background: var(--accent) !important;
  color: #06060a !important;
  font-weight: 700 !important;
  padding: 0.45rem 1.1rem !important;
  box-shadow: 0 0 14px rgba(0,212,255,0.25);
}
.nav__cta:hover {
  background: #33dbff !important;
  box-shadow: 0 0 22px rgba(0,212,255,0.5) !important;
  text-decoration: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ─── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Full-bleed background image + gradient overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9,9,15,0.62) 0%,
    rgba(9,9,15,0.18) 38%,
    rgba(9,9,15,0.35) 72%,
    rgba(9,9,15,0.94) 100%
  );
}

/* Fallback for pages with no hero image */
.hero__bg--fallback {
  background: radial-gradient(ellipse 100% 70% at 50% -10%, rgba(0,180,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 70% 60% at 90% 110%, rgba(80,0,200,0.06) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin: 0 auto 1.5rem;
  max-width: 960px;
  color: var(--text-hi);
}

.hero__title .highlight,
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 45%, #7733ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: rgba(200,200,220,0.85);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint mouse */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.7;
}
.hero__scroll-dot {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; transform: translateY(0); }
  75%  { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  line-height: 1;
  font-family: inherit;
}
.btn--primary {
  background: var(--accent);
  color: #06060a;
  box-shadow: 0 0 18px rgba(0,212,255,0.25);
}
.btn--primary:hover {
  background: #33dbff;
  box-shadow: 0 0 28px rgba(0,212,255,0.55);
  transform: translateY(-2px);
  text-decoration: none;
  color: #06060a;
}
.btn--outline {
  background: transparent;
  color: var(--text-hi);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,212,255,0.06);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn--amazon {
  background: #ff9900;
  color: #111;
  font-weight: 700;
  width: 100%;
  justify-content: center;
}
.btn--amazon:hover {
  background: #ffad33;
  box-shadow: 0 0 16px rgba(255,153,0,0.35);
  transform: translateY(-1px);
  text-decoration: none;
  color: #111;
}
.btn--amazon-sm {
  background: #ff9900;
  color: #111;
  font-weight: 700;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn--amazon-sm:hover {
  background: #ffad33;
  text-decoration: none;
  color: #111;
}

/* ─── Cards ───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s ease, box-shadow 0.3s, background 0.3s;
}
.card:hover {
  border-color: rgba(0,212,255,0.28);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,212,255,0.08);
  background: rgba(0,212,255,0.025);
}

/* ─── Flashlight card hover (JS sets --cx/--cy on each card) ── */
.glow-grid .card {
  --cx: -200px;
  --cy: -200px;
}
.glow-grid .card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--cx) var(--cy),
    rgba(0,212,255,0.09) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 0;
}
.glow-grid:hover .card::before { opacity: 1; }
.glow-grid .card > * { position: relative; z-index: 1; }

/* ─── Sections ────────────────────────────────────── */
.section { padding: 80px 0; }

.section--alt {
  position: relative;
}
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0,212,255,0.018) 35%,
    rgba(0,212,255,0.022) 65%,
    transparent 100%
  );
  pointer-events: none;
}
.section--alt > .container { position: relative; z-index: 1; }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.section__title  { margin-bottom: 0.75rem; }
.section__sub    { color: var(--text-mid); max-width: 540px; margin: 0 auto; font-size: 1rem; }

.grid            { display: grid; gap: 1.25rem; }
.grid--2         { grid-template-columns: repeat(2,1fr); }
.grid--3         { grid-template-columns: repeat(3,1fr); }
.grid--4         { grid-template-columns: repeat(4,1fr); }
.grid--5         { grid-template-columns: repeat(5,1fr); }

/* ─── Category Card ───────────────────────────────── */
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,212,255,0.09) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.cat-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.55), 0 0 22px rgba(0,212,255,0.1);
  text-decoration: none;
}
.cat-card:hover::before { opacity: 1; }
.cat-card__icon  { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.cat-card__name  { font-size: 0.9rem; font-weight: 700; color: var(--text-hi); margin-bottom: 0.25rem; font-family:'Outfit',sans-serif; }
.cat-card__meta  { font-size: 0.75rem; color: var(--text-lo); }

/* ─── Product Card ────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent);
  width: fit-content;
  margin-bottom: 0.75rem;
}
.product-card__badge--best   { background:rgba(0,230,118,0.08);border-color:rgba(0,230,118,0.25);color:var(--green); }
.product-card__badge--budget { background:rgba(255,179,0,0.08);border-color:rgba(255,179,0,0.25);color:var(--amber); }
.product-card__badge--premium{ background:rgba(0,212,255,0.08);border-color:rgba(0,212,255,0.25);color:var(--accent);}

.product-card__body  { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card__title { font-size: 1.05rem; font-weight: 700; color: var(--text-hi); margin-bottom: 0.5rem; font-family:'Outfit',sans-serif; }
.product-card__price { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin-bottom: 0.75rem; line-height: 1; }
.product-card__price span { font-size: 0.85rem; font-weight: 400; color: var(--text-lo); }
.product-card__desc  { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 1rem; flex: 1; }

.pros-cons           { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.25rem; font-size: 0.82rem; }
.pros-cons__col h4   { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
.pros-cons__col--pros h4 { color: var(--green); }
.pros-cons__col--cons h4 { color: var(--red); }
.pros-cons__col ul   { list-style: none; padding: 0; margin: 0; }
.pros-cons__col ul li{ display: flex; align-items: flex-start; gap: 0.35rem; margin-bottom: 0.3rem; color: var(--text-mid); }
.pros-cons__col--pros li::before { content:'✓'; color:var(--green); flex-shrink:0; }
.pros-cons__col--cons li::before { content:'✗'; color:var(--red);   flex-shrink:0; }

/* ─── Tags ────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.tag  { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: var(--text-mid); font-size: 0.75rem; font-weight: 500; padding: 0.2rem 0.6rem; border-radius: 999px; }

/* ─── Table ───────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead th { background: rgba(255,255,255,0.03); color: var(--text-hi); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.02); }
tbody td { padding: 0.85rem 1rem; color: var(--text-mid); vertical-align: middle; }
tbody td:first-child { color: var(--text-hi); font-weight: 600; }
.td-link a { font-size: 0.8rem; font-weight: 600; color: #ff9900; }
.td-link a:hover { color: #ffad33; }
.badge-best    { color: var(--green); font-weight: 700; }
.badge-value   { color: var(--amber); font-weight: 700; }
.badge-premium { color: var(--accent); font-weight: 700; }

/* ─── FAQ ─────────────────────────────────────────── */
.faq { margin: 2.5rem 0; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.75rem; overflow: hidden; }
.faq__question { width: 100%; background: var(--bg-card); border: none; padding: 1rem 1.25rem; text-align: left; color: var(--text-hi); font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background 0.15s; font-family: inherit; }
.faq__question:hover { background: rgba(255,255,255,0.04); }
.faq__question::after { content: '+'; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; line-height: 1; }
.faq__item.open .faq__question::after { transform: rotate(45deg); }
.faq__answer { display: none; padding: 1rem 1.25rem; color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); }
.faq__item.open .faq__answer { display: block; }

/* ─── Disclosure ──────────────────────────────────── */
.disclosure { background: rgba(255,153,0,0.05); border: 1px solid rgba(255,153,0,0.18); border-radius: var(--radius-sm); padding: 0.75rem 1.1rem; font-size: 0.82rem; color: #c8a060; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.6rem; }
.disclosure::before { content: '⚠'; font-size: 0.9rem; flex-shrink: 0; }

/* ─── Breadcrumbs ─────────────────────────────────── */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-lo); padding: 1rem 0; }
.breadcrumbs a { color: var(--text-lo); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .current { color: var(--text-mid); }

/* ─── Article ─────────────────────────────────────── */
.article { padding: 2.5rem 0 5rem; }
.article__intro { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 2.5rem; line-height: 1.75; max-width: 780px; }

/* ─── Tools ───────────────────────────────────────── */
.tool-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; margin: 2.5rem 0; }
.tool-form { display: grid; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-hi); letter-spacing: 0.02em; }
.form-group select,
.form-group input  { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-hi); font-family: inherit; font-size: 0.95rem; padding: 0.65rem 0.9rem; width: 100%; transition: border-color 0.2s; -webkit-appearance: none; appearance: none; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300d4ff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.5rem; }
.form-group select:focus,
.form-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.form-group select option { background: #0f0f18; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.tool-result { background: rgba(0,0,0,0.35); border: 1px solid rgba(0,212,255,0.2); border-radius: var(--radius); padding: 2rem; text-align: center; margin-top: 1.5rem; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
.tool-result__fps { font-size: 3.5rem; font-weight: 800; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; font-family: 'Outfit', sans-serif; }
.tool-result__range { font-size: 1rem; color: var(--text-mid); }
.tool-result__tier { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.9rem; border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.result--ultra  { border-color: rgba(0,230,118,0.4); }
.result--high   { border-color: rgba(0,212,255,0.4); }
.result--medium { border-color: rgba(255,179,0,0.4); }
.result--low    { border-color: rgba(255,71,87,0.4); }

/* ─── Footer ──────────────────────────────────────── */
.footer { background: rgba(0,0,0,0.45); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; font-size: 0.85rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer__brand p { color: var(--text-lo); margin-top: 0.75rem; font-size: 0.82rem; max-width: 280px; }
.footer__col h4  { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-hi); margin-bottom: 0.85rem; font-family:'Outfit',sans-serif; }
.footer__col ul  { list-style: none; padding: 0; margin: 0; }
.footer__col ul li { margin-bottom: 0.45rem; }
.footer__col ul a { color: var(--text-lo); font-size: 0.84rem; transition: color 0.15s; }
.footer__col ul a:hover { color: var(--accent); text-decoration: none; }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__disclosure { font-size: 0.8rem; color: var(--text-lo); line-height: 1.6; }
.footer__disclosure strong { color: var(--text-mid); }
.footer__legal { font-size: 0.78rem; color: var(--text-lo); }

/* ─── Hero Stats Bar ─────────────────────────────── */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 2rem;
}
.hero__stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-hi);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-lo);
}
.hero__stat-sep {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ─── Games Banner ────────────────────────────────── */
.games-banner {
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  height: 380px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}
.games-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--bg-base) 0%, transparent 100%);
  z-index: 1;
}
.games-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--bg-base) 0%, transparent 100%);
  z-index: 1;
}
.games-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,9,15,0.38);
  display: flex;
  align-items: center;
  z-index: 2;
}
.games-banner__overlay .container { text-align: center; }
.games-banner__overlay .section__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.games-banner__overlay .section__sub {
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}

/* ─── Image Cards (for RIFT, etc.) ───────────────── */
.img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.img-card:hover {
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 0 30px rgba(168,85,247,0.12);
  text-decoration: none;
}
.img-card__hero {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.img-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  background: rgba(9,9,15,0.9);
}
.img-card__tag  { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a855f7; margin-bottom: 0.4rem; }
.img-card__name { font-size: 1.1rem; font-weight: 700; color: var(--text-hi); margin-bottom: 0.4rem; font-family: 'Outfit', sans-serif; }
.img-card__desc { font-size: 0.84rem; color: var(--text-mid); line-height: 1.5; margin: 0 0 1rem; }
.img-card__play {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 600;
  color: #a855f7;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 7px;
  background: rgba(168,85,247,0.06);
  transition: background 0.15s, border-color 0.15s;
}
.img-card:hover .img-card__play {
  background: rgba(168,85,247,0.14);
  border-color: rgba(168,85,247,0.5);
}

/* ─── Scroll Reveal ───────────────────────────────── */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

/* ─── Utilities ───────────────────────────────────── */
.text-center     { text-align: center; }
.text-accent     { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }  .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pros-cons    { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(9,9,15,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
    z-index: 200;
  }
  .nav__hamburger { display: flex; }
  .grid--3, .grid--4, .grid--5, .grid--2 { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero       { padding: 100px 0 70px; min-height: 90svh; min-height: 90vh; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero__actions { flex-direction: column; align-items: center; }
  .tool-card  { padding: 1.5rem; }
  .table-wrap { font-size: 0.8rem; }
  .section    { padding: 60px 0; }
}

/* ─── Category Card — Image Variant ──────────────── */
.cat-card--img {
  padding: 0;
  aspect-ratio: 4 / 3;
}
.cat-card--img .cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.cat-card--img:hover .cat-card__img { transform: scale(1.08); }
.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,10,0.96) 0%, rgba(6,6,10,0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem 1rem;
  z-index: 2;
}
.cat-card--img .cat-card__name { font-size: 0.88rem; }
.cat-card--img .cat-card__meta { font-size: 0.7rem; }

/* ─── Guide Card ──────────────────────────────────── */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s ease, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  --cx: -200px; --cy: -200px;
}
.guide-card:hover {
  border-color: rgba(0,212,255,0.28);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,212,255,0.08);
}
.guide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(480px circle at var(--cx) var(--cy), rgba(0,212,255,0.09) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 0;
}
.glow-grid:hover .guide-card::before { opacity: 1; }
.guide-card__img-wrap { overflow: hidden; line-height: 0; }
.guide-card__img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.guide-card:hover .guide-card__img { transform: scale(1.05); }
.guide-card__body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.guide-card__body h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.guide-card__body p  { font-size: 0.87rem; color: var(--text-mid); margin-bottom: 0.85rem; flex: 1; }

/* ─── img-card accent color variants ─────────────── */
.img-card__tag--cyan  { color: var(--accent); }
.img-card__tag--amber { color: var(--amber); }
.img-card__play--cyan {
  color: var(--accent);
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.06);
}
.img-card__play--amber {
  color: var(--amber);
  border-color: rgba(255,179,0,0.3);
  background: rgba(255,179,0,0.06);
}
.img-card:hover .img-card__play--cyan  { background: rgba(0,212,255,0.14); border-color: rgba(0,212,255,0.5); }
.img-card:hover .img-card__play--amber { background: rgba(255,179,0,0.14);  border-color: rgba(255,179,0,0.5); }

/* ─── Curtain wipe reveal ─────────────────────────── */
.js-reveal-wipe {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
}
.js-reveal-wipe.revealed {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* ─── Ticker Bar ──────────────────────────────────── */
.ticker-bar {
  background: rgba(0,212,255,0.055);
  border-bottom: 1px solid rgba(0,212,255,0.1);
  overflow: hidden;
}
.ticker-bar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 36px;
}
.ticker-bar__live {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #06060a;
  background: var(--accent);
  border-radius: 3px;
  padding: 0.18rem 0.5rem;
  flex-shrink: 0;
  animation: livePulse 2.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}
.ticker-bar__track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.76rem;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.ticker-sep { color: var(--text-lo); opacity: 0.45; flex-shrink: 0; }
.ticker-bar__cta {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.76rem;
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.ticker-bar__cta:hover { opacity: 0.7; text-decoration: none; }

/* ─── Category Sub-Nav ────────────────────────────── */
.cat-subnav {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(9,9,15,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.cat-subnav__list {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 38px;
  gap: 0;
}
.cat-subnav__list::-webkit-scrollbar { display: none; }
.cat-subnav__link {
  display: flex;
  align-items: center;
  padding: 0 0.82rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-lo);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.cat-subnav__link:hover { color: var(--text-hi); border-bottom-color: rgba(255,255,255,0.18); text-decoration: none; }
.cat-subnav__link--active { color: var(--accent); border-bottom-color: var(--accent); }
.cat-subnav__divider { width: 1px; background: var(--border); margin: 8px 0.6rem; flex-shrink: 0; }

/* ─── Games Editorial Feature Layout ─────────────── */
.games-feature {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: stretch;
}
.games-feature__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.games-feature__main:hover {
  border-color: rgba(168,85,247,0.4);
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 40px rgba(168,85,247,0.12);
  text-decoration: none;
}
.games-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.games-feature__main:hover .games-feature__img { transform: scale(1.04); }
.games-feature__body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: linear-gradient(to top, rgba(9,9,15,0.99) 0%, rgba(9,9,15,0.72) 42%, rgba(9,9,15,0.12) 72%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
}
.games-feature__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-hi);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.55rem;
}
.games-feature__desc {
  font-size: 0.9rem;
  color: rgba(200,200,220,0.82);
  line-height: 1.55;
  margin-bottom: 0.9rem;
  max-width: 440px;
}
.games-feature__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.73rem;
  color: var(--text-lo);
}
.games-feature__badge {
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  color: #a855f7;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.games-feature__sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.games-feature__side-card {
  flex: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.25s ease, box-shadow 0.3s;
}
.games-feature__side-card:hover { transform: translateY(-3px); text-decoration: none; }
.games-feature__side-img { width: 100%; height: 145px; object-fit: cover; display: block; transition: transform 0.45s ease; }
.games-feature__side-card:hover .games-feature__side-img { transform: scale(1.07); }
.games-feature__side-body {
  padding: 0.9rem 1rem 1.1rem;
  background: rgba(9,9,15,0.92);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
}
.games-feature__side-title { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text-hi); letter-spacing: -0.02em; }
.games-feature__side-desc { font-size: 0.78rem; color: var(--text-mid); line-height: 1.4; margin-bottom: 0.25rem; }
.games-feature__side-body .img-card__play { margin-top: auto; }

/* ─── Arcade Strip ────────────────────────────────── */
.arcade-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.arcade-strip__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lo);
  white-space: nowrap;
  flex-shrink: 0;
}
.arcade-strip__items {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.arcade-strip__items::-webkit-scrollbar { display: none; }
.arcade-strip__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.arcade-strip__item:hover { border-color: var(--accent); color: var(--text-hi); background: rgba(0,212,255,0.06); text-decoration: none; }
.arcade-strip__icon { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.65; }
.arcade-strip__badge {
  font-size: 0.61rem;
  font-weight: 700;
  padding: 0.08rem 0.38rem;
  border-radius: 3px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.18);
  color: var(--accent);
}

/* ─── Guide Card Metadata ─────────────────────────── */
.guide-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.guide-stars { color: #f59e0b; font-size: 0.7rem; letter-spacing: 1.5px; line-height: 1; }
.guide-meta__sep { color: var(--text-lo); font-size: 0.7rem; }
.guide-meta__item { font-size: 0.7rem; color: var(--text-lo); }

/* ─── Trust / Tool Icon Block ─────────────────────── */
.trust-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 14px;
  margin: 0 auto 1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.trust-icon { width: 26px; height: 26px; }

/* ─── Responsive additions ────────────────────────── */
@media (max-width: 900px) {
  .games-feature { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .games-feature { grid-template-columns: 1fr; }
  .games-feature__sidebar { flex-direction: row; }
  .games-feature__side-card { flex: 1; }
  .arcade-strip { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cat-subnav { display: none; }
  .ticker-bar__track span:nth-child(n+5) { display: none; }
}

/* ─── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
