/*
Theme Name: Gaming Madness
Theme URI: https://ne3as.de
Author: Gaming Madness
Version: 2.0
*/

:root {
  --bg: #04040f;
  --bg2: #080818;
  --bg3: #0d0d24;
  --accent: #6c63ff;
  --accent2: #00d4ff;
  --accent3: #ff4655;
  --gold: #ffd700;
  --text: #e8e8f0;
  --text-dim: #6a6a8a;
  --white-08: rgba(255, 255, 255, 0.08);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-18: rgba(255, 255, 255, 0.18);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --radius-sm: 14px;
  --container: min(1200px, calc(100% - 2rem));
  --nav-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(108, 99, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(0, 212, 255, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

::selection {
  background: rgba(108, 99, 255, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 999px;
  border: 2px solid var(--bg2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent2), var(--accent3));
}

main {
  position: relative;
  z-index: 2;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(108, 99, 255, 0.36);
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.12);
  color: var(--accent2);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 1rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 0.95;
}

.section-copy {
  margin-top: 1rem;
  max-width: 720px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 4, 15, 0.72);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.site-brand__title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-brand__badge {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 70, 85, 0.14);
  border: 1px solid rgba(255, 70, 85, 0.32);
  color: #ffd3d7;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  content: "";
}

.nav-toggle-label span::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.nav-toggle-label span::after {
  position: absolute;
  top: 7px;
  left: 0;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: rgba(232, 232, 240, 0.82);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 8rem 0 4rem;
}

.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(4, 4, 15, 0.6);
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero__title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 58%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 36px rgba(108, 99, 255, 0.28);
}

.hero__subtitle {
  margin-top: 1rem;
  color: var(--accent2);
  font-family: "Share Tech Mono", monospace;
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero__subtitle::after {
  content: "";
  display: inline-block;
  width: 0.7ch;
  height: 1.1em;
  margin-left: 0.25rem;
  vertical-align: text-bottom;
  background: currentColor;
  animation: blink 1s steps(1) infinite;
}

.hero__tagline {
  margin: 1.5rem auto 0;
  max-width: 720px;
  color: rgba(232, 232, 240, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero-stats,
.stats-bar {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  margin-top: 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(8, 8, 24, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.stat-value {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold);
}

.stat-label {
  margin-top: 0.4rem;
  color: var(--text-dim);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-arrow {
  margin: 3rem auto 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: var(--accent2);
  animation: bounce 1.8s infinite;
}

.scroll-arrow::before {
  content: "\2193";
  font-size: 1.45rem;
}

.featured-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.game-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 13, 36, 0.9), rgba(8, 8, 24, 0.95));
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease, scale 0.35s ease;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(4, 4, 15, 0.86) 100%),
    linear-gradient(120deg, rgba(108, 99, 255, 0.15), transparent 35%, rgba(0, 212, 255, 0.12));
  z-index: 1;
}

.game-card:hover,
.game-card:focus-within {
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.32), 0 24px 64px rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.28);
}

.game-card__image-wrap {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 37%, rgba(255, 255, 255, 0.05) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.8s infinite linear;
}

.game-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.2rem;
}

.game-card__tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.2);
  color: #ddd9ff;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card__title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.game-card__genre {
  margin-top: 0.25rem;
  color: rgba(232, 232, 240, 0.76);
  font-size: 0.95rem;
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(4, 4, 15, 0.1) 10%, rgba(4, 4, 15, 0.94) 90%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card__overlay,
.game-card:focus-within .game-card__overlay {
  opacity: 1;
}

.game-card__note {
  color: #fff;
  font-size: 0.95rem;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.genre-card {
  position: relative;
  min-height: 250px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.genre-card__bg,
.genre-card__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.genre-card__bg img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.genre-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 15, 0.2), rgba(4, 4, 15, 0.92));
}

.genre-card--gradient .genre-card__bg {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.8), rgba(255, 70, 85, 0.65), rgba(0, 212, 255, 0.6));
}

.genre-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.genre-card__count {
  color: var(--accent2);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.genre-card__title {
  margin-top: 0.45rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.genre-card:hover .genre-card__bg img,
.genre-card:focus-within .genre-card__bg img {
  transform: scale(1.08);
}

.quote-card {
  position: relative;
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(0, 212, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(108, 99, 255, 0.18), transparent 32%),
    rgba(8, 8, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.quote-icon {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(0, 212, 255, 0.28);
}

.quote-text {
  margin-top: 1rem;
  min-height: 84px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.quote-text.is-fading {
  opacity: 0;
  transform: translateY(12px);
}

.stats-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-bar .stat-card {
  text-align: center;
}

.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 3rem;
  overflow: hidden;
}

.page-hero--genre {
  min-height: 50vh;
}

.page-hero--anecdotes {
  min-height: 42vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 25%),
    linear-gradient(135deg, rgba(108, 99, 255, 0.92), rgba(13, 13, 36, 0.96) 52%, rgba(255, 70, 85, 0.7));
}

.page-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 15, 0.56);
  z-index: 1;
}

.page-hero--rpg .page-hero__overlay {
  background:
    radial-gradient(circle at top right, rgba(155, 89, 182, 0.42), transparent 32%),
    linear-gradient(180deg, rgba(10, 7, 20, 0.2), rgba(4, 4, 15, 0.72));
}

.page-hero--action .page-hero__overlay {
  background:
    radial-gradient(circle at top left, rgba(231, 76, 60, 0.44), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 107, 53, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(15, 5, 5, 0.24), rgba(4, 4, 15, 0.72));
}

.page-hero--fps .page-hero__overlay {
  background:
    radial-gradient(circle at top right, rgba(39, 174, 96, 0.38), transparent 30%),
    radial-gradient(circle at bottom left, rgba(0, 255, 136, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(4, 15, 9, 0.18), rgba(4, 4, 15, 0.72));
}

.page-hero--moba .page-hero__overlay {
  background:
    radial-gradient(circle at top center, rgba(243, 156, 18, 0.38), transparent 30%),
    linear-gradient(180deg, rgba(18, 12, 4, 0.18), rgba(4, 4, 15, 0.72));
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero__eyebrow {
  color: var(--accent2);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero__title {
  margin-top: 0.65rem;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.94;
}

.page-hero__meta {
  margin-top: 0.85rem;
  color: var(--gold);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero__copy {
  margin-top: 1rem;
  color: rgba(232, 232, 240, 0.82);
  font-size: 1.05rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.filter-pill {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  transform: translateY(-2px);
  background: rgba(108, 99, 255, 0.18);
  border-color: rgba(108, 99, 255, 0.42);
  color: #fff;
}

.search-wrap {
  margin-top: 1.25rem;
  position: relative;
}

.search-wrap input {
  width: 100%;
  padding: 1rem 1.15rem 1rem 3rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 24, 0.82);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-wrap input:focus {
  border-color: rgba(0, 212, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.08);
}

.search-wrap::before {
  content: "\1F50D";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.games-grid .game-card {
  height: 375px;
}

.game-card.is-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.highlight-box,
.spotlight-card,
.content-shell,
.achievement-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 24, 0.82);
  box-shadow: var(--shadow-md);
}

.highlight-box,
.content-shell {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 28px;
}

.highlight-box h2,
.spotlight-card h2,
.content-shell h1,
.content-shell h2,
.content-shell h3 {
  font-family: "Rajdhani", sans-serif;
  line-height: 1;
}

.highlight-box h2,
.spotlight-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.highlight-box p,
.spotlight-card p,
.content-shell p {
  margin-top: 1rem;
  color: rgba(232, 232, 240, 0.84);
}

.spotlight-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: 30px;
  overflow: hidden;
}

.spotlight-card__media {
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-card__meta {
  margin-top: 0.6rem;
  color: var(--accent2);
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.section--genre-feature {
  padding-bottom: 0;
}

.rpg-lore-box,
.action-meter,
.fps-terminal,
.rank-card,
.quote-day-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 24, 0.86);
  box-shadow: var(--shadow-md);
}

.rpg-lore-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(155, 89, 182, 0.2), transparent 30%),
    rgba(8, 8, 24, 0.92);
}

.rpg-lore-box__icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: rgba(155, 89, 182, 0.16);
  font-size: 2rem;
}

.rpg-lore-box__quote,
.spotlight-card__quote,
.action-meter__quote,
.rank-card__quote,
.quote-day-card__text {
  font-family: "Orbitron", sans-serif;
  font-style: italic;
  letter-spacing: 0.02em;
}

.rpg-lore-box__quote {
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  line-height: 1.5;
}

.spotlight-card--featured-pick {
  margin-top: 1.5rem;
  grid-template-columns: minmax(300px, 380px) 1fr;
}

.spotlight-card__quote {
  margin-top: 1rem;
  color: #f5e6ff;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.45;
}

.action-meter {
  padding: 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at center, rgba(231, 76, 60, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent 52%),
    rgba(8, 8, 24, 0.94);
}

.action-meter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.action-meter__label,
.fps-terminal__label,
.rank-card__label,
.quote-day-card__label {
  color: var(--accent2);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.action-meter__value {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #ffd2cb;
}

.action-meter__track {
  margin-top: 1.25rem;
  height: 20px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.action-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e74c3c, #ff6b35 52%, #ffd166 100%);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.7);
  transition: width 1.4s ease;
}

.action-meter.is-charged .action-meter__fill {
  width: 100%;
}

.action-meter__quote {
  margin-top: 1.25rem;
  color: #ffe5df;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
}

.fps-terminal {
  padding: 2rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 18, 11, 0.96), rgba(4, 12, 8, 0.98)),
    rgba(4, 4, 15, 0.96);
  border-color: rgba(0, 255, 136, 0.16);
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.12), 0 18px 44px rgba(0, 0, 0, 0.42);
}

.fps-terminal__label {
  color: #79ffbd;
}

.fps-terminal__screen {
  min-height: 172px;
  margin-top: 1rem;
  color: #8dffbf;
  font-family: "Share Tech Mono", monospace;
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-wrap;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

.rank-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(243, 156, 18, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(243, 156, 18, 0.08), transparent 52%),
    rgba(8, 8, 24, 0.92);
}

.rank-card__badge {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid rgba(243, 156, 18, 0.24);
  font-size: 3.4rem;
}

.rank-card h2 {
  margin-top: 0.7rem;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.rank-card__quote {
  margin-top: 1rem;
  color: #ffe7b0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.rank-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.rank-card__stat {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-card__stat span {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.rank-card__stat strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: #fff4d1;
}

.quote-day-card {
  margin-top: 1.5rem;
  max-width: 680px;
  padding: 1.5rem 1.7rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    rgba(8, 8, 24, 0.84);
}

.quote-day-card__text {
  margin-top: 0.85rem;
  color: #fff7d7;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  line-height: 1.6;
}

.page-content {
  padding: 4rem 0 6rem;
}

.content-shell {
  max-width: 820px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.achievement-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 26px;
  overflow: hidden;
}

.achievement-card:nth-child(even) {
  transform: translateY(1.2rem);
}

.achievement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: linear-gradient(140deg, currentColor, transparent 60%);
}

.achievement-card--gold {
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.32);
}

.achievement-card--silver {
  color: #c8d0e4;
  border-color: rgba(200, 208, 228, 0.28);
}

.achievement-card--bronze {
  color: #d98a57;
  border-color: rgba(217, 138, 87, 0.28);
}

.achievement-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.07);
  font-size: 2rem;
}

.achievement-tier {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.achievement-title {
  margin-top: 0.8rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text);
}

.achievement-copy {
  margin-top: 0.75rem;
  color: rgba(232, 232, 240, 0.82);
}

.page-anecdotes .achievement-grid {
  gap: 1.6rem;
}

.page-anecdotes .achievement-card {
  min-height: 240px;
  padding: 2rem;
}

.page-anecdotes .achievement-icon {
  width: 88px;
  height: 88px;
  font-size: 2.35rem;
}

.page-anecdotes .achievement-title {
  font-size: 2rem;
}

.page-anecdotes .achievement-copy {
  font-size: 1.02rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 4, 15, 0.98);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.site-footer__brand {
  max-width: 520px;
}

.site-footer__quote {
  margin-top: 1rem;
  color: rgba(232, 232, 240, 0.76);
  font-size: 1.05rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.site-footer__links a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #fff;
}

.site-footer__copy {
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.88rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 1024px) {
  .genre-grid,
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spotlight-card,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 74px;
  }

  .site-header__inner {
    gap: 1rem;
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 24, 0.96);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .site-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-toggle:checked ~ .site-nav,
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-canvas,
  .page-hero__canvas {
    opacity: 0.6;
    pointer-events: none;
  }

  .hero-stats,
  .genre-grid,
  .games-grid,
  .achievement-grid,
  .stats-bar,
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .featured-strip {
    grid-auto-columns: 78vw;
  }

  .achievement-card:nth-child(even) {
    transform: none;
  }

  .page-hero,
  .page-hero--genre {
    min-height: 36vh;
  }

  .rpg-lore-box,
  .rank-card {
    grid-template-columns: 1fr;
  }

  .rpg-lore-box__icon,
  .rank-card__badge {
    width: 88px;
    height: 88px;
  }

  .rank-card__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .featured-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: unset;
    gap: 12px;
    padding: 0 16px;
  }

  .featured-card,
  .featured-strip .game-card {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    flex-shrink: unset;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .genre-card {
    min-height: 120px;
  }

  .games-grid,
  #library-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .game-card {
    width: 100%;
  }

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

  .spotlight-card,
  .spotlight-card--featured-pick {
    grid-template-columns: 1fr;
  }

  .spotlight-card__media {
    min-height: 320px;
  }
}

.achievement-card--gold { border-color: #ffd700; box-shadow: 0 0 12px rgba(255,215,0,0.2); }
.achievement-card--silver { border-color: #c0c0c0; }
.achievement-card--bronze { border-color: #cd7f32; }

/* ── Joke Strip ── */
.joke-strip {
  padding: 60px 0;
  background: var(--bg2);
  border-top: 1px solid rgba(108,99,255,0.15);
  border-bottom: 1px solid rgba(108,99,255,0.15);
}
.joke-strip--bottom {
  background: var(--bg3);
}
.joke-strip__label {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.joke-strip__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.joke-strip--bottom .joke-strip__track {
  grid-template-columns: repeat(4, 1fr);
}
.joke-strip__card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.joke-strip__card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,99,255,0.4);
}
.joke-strip__icon {
  font-size: 2rem;
  line-height: 1;
}
.joke-strip__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.joke-strip__text {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
  flex: 1;
}
.joke-strip__link {
  font-size: 0.8rem;
  color: var(--accent2);
  text-decoration: none;
  margin-top: 4px;
}
.joke-strip__link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .joke-strip__track { grid-template-columns: repeat(2, 1fr); }
  .joke-strip--bottom .joke-strip__track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .joke-strip__track { grid-template-columns: 1fr; padding: 0 16px; }
  .joke-strip--bottom .joke-strip__track { grid-template-columns: 1fr; }
}
