@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --midnight: #07101d;
  --midnight-2: #0d1928;
  --panel: rgba(13, 24, 38, 0.78);
  --panel-deep: rgba(5, 12, 22, 0.9);
  --glass: rgba(224, 235, 231, 0.075);
  --copper: #d69754;
  --copper-2: #a96f3e;
  --mint: #8cefd6;
  --mint-soft: rgba(140, 239, 214, 0.2);
  --titanium: #d9ded7;
  --muted: #98a7a6;
  --line: rgba(217, 222, 215, 0.2);
  --line-bright: rgba(140, 239, 214, 0.42);
  --danger: #ff8f7b;
  --success: #8cefd6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-copper: 0 18px 60px rgba(214, 151, 84, 0.18);
  --max: 1180px;
  --nav-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--titanium);
  background:
    linear-gradient(112deg, rgba(214, 151, 84, 0.07), transparent 28%),
    linear-gradient(76deg, transparent 0%, rgba(140, 239, 214, 0.055) 52%, transparent 76%),
    linear-gradient(180deg, #07101d 0%, #091525 45%, #050b14 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: skewY(-8deg) scale(1.18);
}

body::after {
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(8) infinite;
}

@keyframes grainShift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-2%, 1%, 0); }
  50% { transform: translate3d(1%, -2%, 0); }
  75% { transform: translate3d(2%, 2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

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

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

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

::selection {
  color: #06111d;
  background: var(--mint);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 0.7rem 1rem;
  color: var(--midnight);
  background: var(--mint);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 12, 22, 0.48), rgba(5, 12, 22, 0.08));
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.nav-scrolled {
  border-color: rgba(217, 222, 215, 0.16);
  background: rgba(5, 12, 22, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 222, 215, 0.28);
  background:
    linear-gradient(135deg, rgba(214, 151, 84, 0.28), rgba(140, 239, 214, 0.18)),
    url("../img/ico.png") center / 82% no-repeat;
  box-shadow: inset 0 0 18px rgba(140, 239, 214, 0.16), 0 0 24px rgba(214, 151, 84, 0.13);
}

.brand-domain {
  display: block;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.4rem 0.85rem;
  color: rgba(217, 222, 215, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), var(--mint), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: #fff9ed;
  background: rgba(255, 255, 255, 0.045);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--titanium);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.section {
  position: relative;
  padding: 7rem 0;
}

.section.compact {
  padding: 4.5rem 0;
}

.diagonal {
  clip-path: polygon(0 3rem, 100% 0, 100% calc(100% - 3rem), 0 100%);
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.section-panel {
  background:
    linear-gradient(100deg, rgba(217, 222, 215, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(10, 21, 34, 0.78), rgba(5, 12, 22, 0.9));
  border-top: 1px solid rgba(217, 222, 215, 0.11);
  border-bottom: 1px solid rgba(217, 222, 215, 0.11);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), var(--mint));
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 950px;
  font-size: 5rem;
}

h2 {
  font-size: 3.25rem;
}

h3 {
  font-size: 1.55rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 690px;
  color: rgba(217, 222, 215, 0.76);
  font-size: 1.08rem;
}

.footer-blurb {
  margin-top: 1rem;
}

.form-heading {
  display: block;
  margin-bottom: 1.5rem;
}

.micro {
  color: var(--muted);
  font-size: 0.86rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-lux,
.btn-ghost,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-lux {
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  color: #09111d;
  background: linear-gradient(135deg, var(--copper), #efd0a8 48%, var(--mint));
  box-shadow: 0 16px 36px rgba(214, 151, 84, 0.24);
}

.btn-ghost {
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  color: var(--titanium);
  border-color: rgba(217, 222, 215, 0.23);
  background: rgba(217, 222, 215, 0.055);
}

.icon-btn {
  width: 42px;
  height: 42px;
  color: var(--titanium);
  border-color: rgba(217, 222, 215, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

.btn-lux:hover,
.btn-ghost:hover,
.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 239, 214, 0.5);
  box-shadow: var(--shadow-copper);
}

.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.96) 0%, rgba(5, 12, 22, 0.72) 42%, rgba(5, 12, 22, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 12, 22, 0.1), rgba(5, 12, 22, 0.88)),
    url("../img/hero.jpg") center / cover no-repeat;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(140, 239, 214, 0.08) 89px, transparent 91px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(217, 222, 215, 0.045) 45px, transparent 47px);
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: panelDrift 16s linear infinite;
}

.home-hero::after {
  background: linear-gradient(112deg, transparent 0 36%, rgba(214, 151, 84, 0.16) 36% 37%, transparent 37% 100%);
  animation: scanPass 7s ease-in-out infinite;
}

@keyframes panelDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-92px, 47px, 0); }
}

@keyframes scanPass {
  0%, 100% { opacity: 0.08; transform: translateX(-4%); }
  50% { opacity: 0.42; transform: translateX(6%); }
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 900px;
}

.hero-copy h1 {
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero-copy .lead {
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 650px;
  margin-top: 2rem;
}

.metric-tile {
  padding: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background: rgba(217, 222, 215, 0.055);
  backdrop-filter: blur(14px);
}

.metric-tile strong {
  display: block;
  color: var(--titanium);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.metric-tile span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.hud-cluster {
  position: relative;
  min-height: 520px;
}

.hud-widget {
  position: absolute;
  width: 250px;
  padding: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.2);
  background: rgba(5, 12, 22, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: floatPanel 6s ease-in-out infinite;
}

.hud-widget:nth-child(1) {
  top: 0;
  right: 40px;
}

.hud-widget:nth-child(2) {
  top: 160px;
  left: 0;
  animation-delay: -1.8s;
}

.hud-widget:nth-child(3) {
  right: 0;
  bottom: 32px;
  animation-delay: -3.2s;
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hud-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mint);
}

.signal::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

.hud-value {
  color: var(--titanium);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.hud-bars {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hud-bars span {
  display: block;
  height: 6px;
  border: 1px solid rgba(217, 222, 215, 0.12);
  background: linear-gradient(90deg, var(--copper), var(--mint));
  transform-origin: left;
}

.hud-bars span:nth-child(2) {
  width: 78%;
}

.hud-bars span:nth-child(3) {
  width: 54%;
}

.scroll-cue {
  position: absolute;
  right: 3rem;
  bottom: 2rem;
  z-index: 3;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  writing-mode: vertical-rl;
}

.feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.story-card,
.article-card,
.guide-card,
.review-card,
.legal-card,
.info-panel,
.map-panel,
.contact-form,
.voice-card,
.tournament-card,
.rank-card,
.lab-card {
  border: 1px solid rgba(217, 222, 215, 0.16);
  background: linear-gradient(145deg, rgba(217, 222, 215, 0.08), rgba(217, 222, 215, 0.035));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.story-card,
.article-card,
.guide-card,
.review-card,
.lab-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.story-card::before,
.article-card::before,
.guide-card::before,
.review-card::before,
.lab-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(214, 151, 84, 0.52), rgba(140, 239, 214, 0.36), transparent 55%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.story-card:hover,
.article-card:hover,
.guide-card:hover,
.review-card:hover,
.lab-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140, 239, 214, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(140, 239, 214, 0.08);
}

.story-card:hover::before,
.article-card:hover::before,
.guide-card:hover::before,
.review-card:hover::before,
.lab-card:hover::before {
  opacity: 1;
}

.story-large {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  min-height: 500px;
}

.story-large .story-media {
  min-height: 100%;
}

.story-media,
.article-media,
.guide-media,
.review-media,
.page-banner-media {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.story-media img,
.article-media img,
.guide-media img,
.review-media img,
.page-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.story-card:hover img,
.article-card:hover img,
.guide-card:hover img,
.review-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.1) contrast(1.14);
}

.story-media::after,
.article-media::after,
.guide-media::after,
.review-media::after,
.page-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(5, 12, 22, 0.12), rgba(5, 12, 22, 0.66)),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(255, 255, 255, 0.045) 9px);
}

.story-body,
.article-body,
.guide-body,
.review-body {
  position: relative;
  z-index: 1;
  padding: 1.3rem;
}

.story-large .story-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.story-large h3 {
  margin-bottom: 1rem;
  font-size: 2.35rem;
}

.side-stack {
  display: grid;
  gap: 1rem;
}

.side-story {
  display: grid;
  grid-template-columns: 138px 1fr;
  min-height: 154px;
}

.side-story .story-media {
  min-height: 154px;
}

.tag-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.tag,
.meta,
.difficulty,
.genre,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  color: var(--muted);
  background: rgba(5, 12, 22, 0.42);
  font-size: 0.74rem;
  font-weight: 800;
}

.tag {
  color: #fff3df;
  border-color: rgba(214, 151, 84, 0.45);
  background: rgba(214, 151, 84, 0.14);
}

.difficulty.elite {
  color: var(--mint);
  border-color: rgba(140, 239, 214, 0.46);
}

.difficulty.advanced {
  color: #f2c08a;
  border-color: rgba(214, 151, 84, 0.42);
}

.difficulty.entry {
  color: var(--titanium);
}

.arena-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background:
    linear-gradient(128deg, rgba(140, 239, 214, 0.08), transparent 30%),
    linear-gradient(300deg, rgba(214, 151, 84, 0.12), transparent 35%),
    rgba(5, 12, 22, 0.72);
  box-shadow: var(--shadow);
}

.arena-column {
  display: grid;
  gap: 1rem;
}

.tournament-card {
  padding: 1rem;
}

.tournament-head,
.rank-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.countdown-time {
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.status-pill.live {
  color: var(--mint);
  border-color: rgba(140, 239, 214, 0.44);
  background: rgba(140, 239, 214, 0.1);
}

.status-pill.queue {
  color: #ffd9ad;
  border-color: rgba(214, 151, 84, 0.46);
}

.rank-list {
  display: grid;
  gap: 0.75rem;
}

.rank-card {
  padding: 0.9rem;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--midnight);
  background: linear-gradient(135deg, var(--copper), var(--mint));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.rank-name {
  flex: 1;
}

.rank-name strong {
  display: block;
  color: var(--titanium);
}

.rank-score {
  color: var(--mint);
  font-weight: 800;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lab-card {
  min-height: 260px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lab-index {
  color: var(--copper);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.lab-card p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.lab-card:hover p,
.lab-card:focus-within p {
  max-height: 120px;
  opacity: 1;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.number-tile {
  min-height: 190px;
  padding: 1.25rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background:
    linear-gradient(145deg, rgba(214, 151, 84, 0.1), transparent 42%),
    rgba(217, 222, 215, 0.055);
}

.number-tile strong {
  display: block;
  color: var(--titanium);
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.number-tile span {
  color: var(--muted);
  font-weight: 800;
}

.voice-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background:
    linear-gradient(120deg, rgba(217, 222, 215, 0.075), transparent),
    rgba(5, 12, 22, 0.72);
  box-shadow: var(--shadow);
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.voice-card {
  flex: 0 0 100%;
  min-height: 260px;
  padding: 2rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.voice-rating {
  color: var(--copper);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.voice-card blockquote {
  margin: 1rem 0;
  color: rgba(255, 249, 237, 0.9);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.voice-meta strong {
  display: block;
  color: var(--titanium);
}

.slider-controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.94), rgba(5, 12, 22, 0.5)),
    url("../img/gaming-zone.jpg") center / cover no-repeat;
}

.page-hero.news {
  background-image:
    linear-gradient(90deg, rgba(5, 12, 22, 0.94), rgba(5, 12, 22, 0.48)),
    url("../img/control-room.jpg");
}

.page-hero.guides {
  background-image:
    linear-gradient(90deg, rgba(5, 12, 22, 0.94), rgba(5, 12, 22, 0.5)),
    url("../img/guide-1.jpg");
}

.page-hero.reviews {
  background-image:
    linear-gradient(90deg, rgba(5, 12, 22, 0.94), rgba(5, 12, 22, 0.5)),
    url("../img/review-1.jpg");
}

.page-hero.contact {
  background-image:
    linear-gradient(90deg, rgba(5, 12, 22, 0.94), rgba(5, 12, 22, 0.5)),
    url("../img/gaming-zone.jpg");
}

.page-hero.legal {
  min-height: 46vh;
  background-image:
    linear-gradient(90deg, rgba(5, 12, 22, 0.95), rgba(5, 12, 22, 0.62)),
    url("../img/control-room.jpg");
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, var(--midnight));
  pointer-events: none;
}

.page-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.page-copy h1 {
  margin-bottom: 1rem;
  font-size: 4.1rem;
}

.banner-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.banner-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-banner-media {
  min-height: 390px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  min-height: 100%;
}

.article-media {
  aspect-ratio: 16 / 10;
}

.article-card h3,
.guide-card h3,
.review-card h3 {
  margin-bottom: 0.8rem;
}

.article-footer,
.guide-footer,
.review-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 222, 215, 0.12);
}

.guides-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background: rgba(5, 12, 22, 0.72);
  box-shadow: var(--shadow);
}

.guide-sidebar h2 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.filter-btn {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  color: var(--titanium);
  background: rgba(217, 222, 215, 0.04);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--mint);
  border-color: rgba(140, 239, 214, 0.42);
  background: rgba(140, 239, 214, 0.08);
}

.featured-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background: rgba(5, 12, 22, 0.72);
  box-shadow: var(--shadow);
}

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

.guide-card.is-hidden {
  display: none;
}

.guide-media {
  aspect-ratio: 16 / 9;
}

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

.review-card {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.review-media {
  min-height: 100%;
}

.rating-ring {
  --rating: 80%;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  color: var(--titanium);
  background: conic-gradient(var(--mint) var(--rating), rgba(217, 222, 215, 0.12) 0);
  border: 1px solid rgba(217, 222, 215, 0.16);
  border-radius: 50%;
}

.rating-ring span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--midnight-2);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

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

.pros-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pros-cons li {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.pros-cons strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--titanium);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 1rem;
  align-items: stretch;
}

.contact-form,
.info-panel,
.map-panel {
  padding: 1.25rem;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--titanium);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(217, 222, 215, 0.16);
  color: var(--titanium);
  background: rgba(5, 12, 22, 0.68);
  padding: 0.8rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(140, 239, 214, 0.62);
  background: rgba(5, 12, 22, 0.9);
  box-shadow: 0 0 0 4px rgba(140, 239, 214, 0.08);
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: rgba(255, 143, 123, 0.72);
}

.field-error {
  min-height: 1.2rem;
  color: var(--danger);
  font-size: 0.78rem;
}

.consent-line {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--mint);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  color: var(--mint);
  border: 1px solid rgba(140, 239, 214, 0.38);
  background: rgba(140, 239, 214, 0.08);
}

.form-success.is-visible {
  display: block;
}

.info-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.info-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  align-items: center;
}

.info-icon,
.legal-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--midnight);
  background: linear-gradient(135deg, var(--copper), var(--mint));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.map-panel {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(140, 239, 214, 0.08), transparent 32%),
    linear-gradient(300deg, rgba(214, 151, 84, 0.12), transparent 40%),
    rgba(5, 12, 22, 0.72);
}

.map-grid {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background:
    linear-gradient(90deg, rgba(217, 222, 215, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(217, 222, 215, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.map-pin {
  position: absolute;
  left: 52%;
  top: 48%;
  width: 18px;
  height: 18px;
  background: var(--copper);
  box-shadow: 0 0 0 10px rgba(214, 151, 84, 0.12), 0 0 36px rgba(214, 151, 84, 0.55);
  transform: rotate(45deg);
}

.map-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background: rgba(5, 12, 22, 0.72);
  backdrop-filter: blur(14px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  padding: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.16);
  background: rgba(5, 12, 22, 0.72);
}

.legal-aside ul,
.legal-card ul {
  margin: 0;
  padding-left: 1rem;
}

.legal-aside li,
.legal-card li {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.legal-stack {
  display: grid;
  gap: 1rem;
}

.legal-card {
  padding: 1.35rem;
}

.legal-card h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1.65rem;
}

.highlight-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(214, 151, 84, 0.36);
  background: rgba(214, 151, 84, 0.09);
  color: rgba(255, 249, 237, 0.84);
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(217, 222, 215, 0.12);
  background: rgba(5, 12, 22, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 2rem;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links h3 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(217, 222, 215, 0.1);
  color: var(--muted);
  font-size: 0.86rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 70;
  width: min(100% - 32px, 760px);
  padding: 1rem;
  border: 1px solid rgba(217, 222, 215, 0.18);
  background: rgba(5, 12, 22, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translate(-50%, 130%);
  transition: transform 0.32s ease;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.text-link {
  color: var(--mint);
  font-weight: 800;
}

.text-link:hover {
  color: #fff9ed;
}

@media (max-width: 1050px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-layout,
  .arena-dashboard,
  .contact-shell,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hud-cluster {
    display: none;
  }

  .feed-grid,
  .banner-card,
  .featured-guide,
  .story-large {
    grid-template-columns: 1fr;
  }

  .story-large .story-media,
  .page-banner-media {
    min-height: 320px;
  }

  .guides-shell {
    grid-template-columns: 1fr;
  }

  .guide-sidebar,
  .legal-aside {
    position: static;
  }

  .review-card {
    grid-template-columns: 1fr;
  }

  .review-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 70px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 0.65rem;
    border: 1px solid rgba(217, 222, 215, 0.16);
    background: rgba(5, 12, 22, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    min-height: 48px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .diagonal {
    clip-path: none;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .section-intro,
  .article-grid,
  .guide-grid,
  .review-grid,
  .lab-grid,
  .numbers-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 100svh;
    padding-top: 7rem;
  }

  h1,
  .page-copy h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .side-story {
    grid-template-columns: 1fr;
  }

  .side-story .story-media {
    min-height: 220px;
  }

  .page-hero {
    min-height: 52vh;
  }

  .cookie-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-domain {
    display: none;
  }

  h1,
  .page-copy h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .story-large h3 {
    font-size: 1.8rem;
  }

  .story-body,
  .article-body,
  .guide-body,
  .review-body,
  .banner-copy,
  .voice-card {
    padding: 1rem;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .tournament-head,
  .rank-card,
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn-lux,
  .cookie-actions .btn-ghost {
    width: 100%;
  }
}
