/* CS2_NEXT — main visual system */
:root {
  --bg: #050208;
  --bg-soft: #0a0610;
  --panel: rgba(18, 10, 28, 0.74);
  --panel-solid: #100817;
  --panel-light: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(190, 100, 255, 0.28);
  --text: #f7f4fb;
  --muted: #aaa0b8;
  --purple: #9d12ff;
  --purple-bright: #c23dff;
  --purple-deep: #5a00d6;
  --pink: #ee4fff;
  --orange: #ff7b45;
  --green: #52efab;
  --shadow-purple: 0 20px 70px rgba(130, 0, 255, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 86px;
  --display: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 12%, rgba(119, 0, 255, 0.1), transparent 27rem),
    radial-gradient(circle at 12% 58%, rgba(87, 0, 255, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: rgba(157, 18, 255, 0.7);
}

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 118px 0;
}

.gradient-text {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    100deg,
    #ffffff 0%,
    #d892ff 12%,
    #9e10ff 31%,
    #f252ff 44%,
    #ffffff 50%,
    #d892ff 62%,
    #9e10ff 81%,
    #f252ff 94%,
    #ffffff 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  will-change: background-position;
  animation: gradient-shift 8s linear infinite;
}

.page-noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.particle-field {
  position: fixed;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.ambient {
  position: fixed;
  z-index: -3;
  width: 38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.12;
}

.ambient-one {
  top: -16rem;
  right: -10rem;
  background: #8f00ff;
}

.ambient-two {
  left: -19rem;
  bottom: -16rem;
  background: #5d00d2;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease, height 220ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-color: var(--line);
  background: rgba(5, 2, 8, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: max-content;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 14px rgba(157, 18, 255, 0.34));
}

.brand strong {
  color: var(--purple-bright);
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  color: #bfb7c8;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 0 12px rgba(194, 61, 255, 0.7);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  width: 22px;
}

.header-connect {
  justify-self: end;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.button-steam {
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f0f8;
  background: linear-gradient(135deg, rgba(32, 28, 40, 0.94), rgba(15, 12, 20, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button-steam:hover {
  border-color: rgba(190, 128, 255, 0.36);
  background: linear-gradient(135deg, rgba(53, 34, 71, 0.98), rgba(20, 14, 28, 0.98));
}

.button-steam svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.header-steam-auth {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: #fff;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.button-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #7500e8, #a20cff 54%, #d342ff);
  box-shadow: 0 14px 40px rgba(137, 0, 255, 0.33), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -100% -30%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.37) 50%, transparent 58%);
  transform: translateX(-70%);
  transition: transform 500ms ease;
}

.button-primary:hover::before {
  transform: translateX(70%);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(137, 0, 255, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button-primary:hover svg {
  transform: translateX(2px);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  border-color: rgba(194, 61, 255, 0.42);
  background: rgba(157, 18, 255, 0.08);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 0 19px;
  font-size: 12px;
}

.button-large {
  min-height: 57px;
  padding-inline: 28px;
  border-radius: 15px;
}

.button:focus-visible,
.nav-link:focus-visible,
.copy-button:focus-visible,
.text-button:focus-visible,
.to-top:focus-visible,
.scroll-cue:focus-visible,
.brand:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(194, 61, 255, 0.65);
  outline-offset: 4px;
}

/* Hero */
.hero {
  min-height: 920px;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 120px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -210px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  border: 1px solid rgba(157, 18, 255, 0.09);
  box-shadow:
    0 0 0 90px rgba(157, 18, 255, 0.022),
    0 0 0 180px rgba(157, 18, 255, 0.016),
    0 0 170px rgba(117, 0, 232, 0.16);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  right: -12%;
  bottom: 0;
  height: 220px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-top: 18px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d7c8e6;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(192, 90, 255, 0.2);
  border-radius: 999px;
  background: rgba(128, 0, 255, 0.07);
}

.status-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(82, 239, 171, 0.75);
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(82, 239, 171, 0.45);
  border-radius: inherit;
  animation: pulse-ring 1.8s ease-out infinite;
}

.hero h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  font-family: var(--display);
  font-size: clamp(62px, 6.1vw, 103px);
  font-weight: 1000;
  letter-spacing: -0.074em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #bdb4c8;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
}

.hero-lead strong {
  color: #fff;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.server-panel {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: min(100%, 595px);
  margin-top: 31px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.055), rgba(134, 0, 255, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
}

.server-address {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.server-label {
  color: #81778d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.server-address code {
  overflow: hidden;
  max-width: 100%;
  color: #fff;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 800;
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 49px;
  padding: 0 17px;
  border: 1px solid rgba(184, 92, 255, 0.25);
  border-radius: 12px;
  color: #e8dff1;
  background: rgba(148, 16, 255, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.copy-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-button:hover {
  border-color: rgba(184, 92, 255, 0.55);
  background: rgba(148, 16, 255, 0.22);
  transform: translateY(-1px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 19px 26px;
  margin-top: 32px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proof-item + .proof-item {
  position: relative;
}

.proof-item + .proof-item::before {
  content: "";
  position: absolute;
  left: -13px;
  width: 1px;
  height: 27px;
  background: var(--line);
}

.proof-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(177, 71, 255, 0.25);
  border-radius: 9px;
  color: #bf66ff;
  background: rgba(149, 0, 255, 0.07);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.proof-item > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.proof-item strong {
  color: #f8f4fb;
  font-size: 12px;
}

.proof-item small {
  margin-top: 3px;
  color: #756d7f;
  font-size: 10px;
}

.hero-visual {
  position: relative;
  min-height: 675px;
}

.logo-stage {
  position: absolute;
  top: -8px;
  right: -90px;
  width: min(710px, 58vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 0, 255, 0.24), transparent 66%);
  filter: blur(20px);
  animation: breathe 4.5s ease-in-out infinite;
}

.logo-stage::after {
  content: "";
  position: absolute;
  inset: 21%;
  border-radius: 50%;
  border: 1px solid rgba(200, 111, 255, 0.16);
  box-shadow: 0 0 80px rgba(118, 0, 255, 0.18);
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 83%;
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 25px 55px rgba(77, 0, 144, 0.44));
  transform: translateY(-4%);
  animation: logo-float 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(169, 70, 255, 0.16);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ba4cff;
  box-shadow: 0 0 18px rgba(186, 76, 255, 0.85);
}

.orbit-outer {
  inset: 6%;
  animation: spin 24s linear infinite;
}

.orbit-outer::before {
  top: 14%;
  right: 16%;
}

.orbit-outer::after {
  bottom: 9%;
  left: 22%;
  width: 4px;
  height: 4px;
}

.orbit-inner {
  inset: 16%;
  border-style: dashed;
  opacity: 0.54;
  animation: spin-reverse 18s linear infinite;
}

.orbit-inner::before {
  top: 4%;
  left: 41%;
  width: 5px;
  height: 5px;
}

.orbit-inner::after {
  right: 2%;
  bottom: 37%;
  width: 3px;
  height: 3px;
}

.crosshair {
  position: absolute;
  z-index: 0;
  width: 38px;
  height: 38px;
  opacity: 0.32;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: #a641ff;
}

.crosshair::before {
  left: 50%;
  width: 1px;
  height: 100%;
}

.crosshair::after {
  top: 50%;
  width: 100%;
  height: 1px;
}

.crosshair-one {
  top: 18%;
  left: 5%;
}

.crosshair-two {
  right: 2%;
  bottom: 23%;
  transform: scale(0.72);
}

.map-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 146px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 5, 16, 0.72);
  box-shadow: 0 13px 36px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(15px);
}

.map-chip > div {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.map-chip small {
  color: #81768c;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.map-chip strong {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--purple-bright);
  box-shadow: 0 0 15px rgba(194, 61, 255, 0.72);
  transform: rotate(45deg);
}

.chip-awp {
  top: 25%;
  left: 3%;
  animation: chip-float 5s ease-in-out infinite;
}

.chip-mirage {
  right: 3%;
  bottom: 27%;
  animation: chip-float 5s ease-in-out 1.1s infinite;
}

.live-card {
  position: absolute;
  z-index: 8;
  right: 26px;
  bottom: 1%;
  width: min(440px, 88%);
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(33, 13, 48, 0.92), rgba(10, 5, 16, 0.86)),
    var(--panel-solid);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), 0 0 45px rgba(134, 0, 255, 0.11);
  backdrop-filter: blur(20px);
}

.live-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.live-card-top > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.online-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7f4fb;
  font-size: 15px;
}

.online-label > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(82, 239, 171, 0.8);
}

.online-label.is-offline > span {
  background: #ff6576;
  box-shadow: 0 0 12px rgba(255, 101, 118, 0.75);
}

.demo-badge {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #7f748b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.live-metrics {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: 10px;
  margin-top: 18px;
}

.live-metrics > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
}

.live-metrics span {
  color: #7c7188;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.live-metrics strong {
  overflow: hidden;
  margin-top: 3px;
  color: #eee8f4;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capacity-track {
  height: 4px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.capacity-track span {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright), var(--pink));
  box-shadow: 0 0 16px rgba(194, 61, 255, 0.55);
  transition: width 600ms cubic-bezier(.22, .61, .36, 1);
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 31px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.scroll-cue span {
  color: #665d70;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -13px;
  width: 1px;
  height: 13px;
  background: var(--purple-bright);
  box-shadow: 0 0 8px rgba(194, 61, 255, 0.9);
  animation: scroll-line 1.8s ease-in-out infinite;
}

/* Ticker */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 160px;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  min-height: 72px;
  color: #8e8498;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  white-space: nowrap;
  animation: ticker-move 32s linear infinite;
}

.ticker-track span:nth-of-type(6n + 1),
.ticker-track span:nth-of-type(6n + 2) {
  color: #c77cff;
}

.ticker-track i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: #7e12c9;
  transform: rotate(45deg);
}

/* Shared section heading */
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 54px;
}

.section-kicker {
  color: #b777e8;
}

.section-heading h2,
.rules-intro h2,
.cta-copy h2 {
  margin: 13px 0 0;
  font-family: var(--display);
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 1000;
  letter-spacing: -0.067em;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-heading p,
.rules-intro > p,
.cta-copy p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Maps */
.maps-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(132, 0, 255, 0.09), transparent 29rem),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.009) 50%, transparent);
}

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

.map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012));
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.28);
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.map-card:hover {
  border-color: rgba(180, 76, 255, 0.31);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), 0 0 45px rgba(127, 0, 255, 0.09);
}

.map-art {
  position: relative;
  aspect-ratio: 1.62 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #15071f;
}

.map-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 3, 12, 0.72), transparent 42%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.09), transparent 24%);
  pointer-events: none;
}

.map-art::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  pointer-events: none;
}

.map-art svg {
  width: 100%;
  height: 100%;
  transition: transform 650ms cubic-bezier(.2, .75, .2, 1), filter 650ms ease;
}

.map-card:hover .map-art svg {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.03);
}

.map-number {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.map-number::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 9px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.34);
}

.map-content {
  padding: 29px 31px 32px;
}

.map-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #8e8099;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.map-meta span:first-child {
  color: #c17aff;
}

.map-content h3 {
  margin: 13px 0 8px;
  font-family: var(--display);
  font-size: clamp(36px, 3.8vw, 53px);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 1;
}

.map-content p {
  margin: 0;
  color: #aaa0b5;
  line-height: 1.7;
}

.map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.map-tags li {
  padding: 7px 10px;
  border: 1px solid rgba(190, 92, 255, 0.17);
  border-radius: 9px;
  color: #baaec5;
  background: rgba(157, 18, 255, 0.052);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-card-mirage .map-meta span:first-child,
.map-card-mirage .map-tags li {
  color: #ec9ab0;
}

.map-card-mirage .map-tags li {
  border-color: rgba(236, 106, 151, 0.19);
  background: rgba(220, 85, 140, 0.055);
}

/* Features */
.advantages-section {
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(90deg, transparent, rgba(151, 25, 255, 0.02), transparent),
    rgba(255, 255, 255, 0.008);
}

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

.feature-card {
  position: relative;
  min-height: 290px;
  padding: 28px 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--bg-soft);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -65px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(149, 15, 255, 0.12);
  filter: blur(40px);
  transition: transform 300ms ease, opacity 300ms ease;
}

.feature-card:hover {
  border-color: rgba(190, 99, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(157, 18, 255, 0.09), rgba(255, 255, 255, 0.015)),
    var(--bg-soft);
  transform: translateY(-6px);
}

.feature-card:hover::after {
  opacity: 1.7;
  transform: scale(1.2);
}

.feature-index {
  position: absolute;
  top: 21px;
  right: 22px;
  color: #5f5668;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  margin-bottom: 37px;
  border: 1px solid rgba(187, 91, 255, 0.24);
  border-radius: 15px;
  color: #c469ff;
  background: linear-gradient(145deg, rgba(172, 44, 255, 0.16), rgba(91, 0, 176, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: #988da3;
  font-size: 14px;
  line-height: 1.65;
}

.stats-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-top: 24px;
  padding: 29px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, rgba(157, 18, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-block strong {
  color: #f3eafa;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-block span {
  margin-top: 7px;
  color: #796f84;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-separator {
  width: 1px;
  height: 43px;
  background: var(--line);
}

/* Rules */
.rules-section {
  overflow: hidden;
}

.rules-section::before {
  content: "";
  position: absolute;
  top: 7%;
  left: -13%;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(157, 18, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(157, 18, 255, 0.015), 0 0 0 150px rgba(157, 18, 255, 0.01);
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: 80px;
  align-items: center;
}

.rules-intro {
  position: sticky;
  top: 130px;
}

.rules-intro > p {
  max-width: 470px;
  margin-top: 25px;
}

.rules-intro .button {
  margin-top: 29px;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  display: grid;
  grid-template-columns: 67px 1fr;
  align-items: start;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.rule-item:hover {
  border-color: rgba(185, 81, 255, 0.28);
  background: linear-gradient(120deg, rgba(139, 14, 238, 0.08), rgba(255, 255, 255, 0.012));
  transform: translateX(5px);
}

.rule-item > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(184, 83, 255, 0.22);
  border-radius: 15px;
  color: #bf6aff;
  background: rgba(156, 18, 255, 0.07);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
}

.rule-item h3 {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: 850;
}

.rule-item p {
  margin: 0;
  color: #998fa3;
  font-size: 14px;
  line-height: 1.68;
}

/* Final CTA */
.final-cta {
  padding-top: 70px;
  padding-bottom: 110px;
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  min-height: 330px;
  padding: 45px 50px;
  overflow: hidden;
  border: 1px solid rgba(190, 91, 255, 0.27);
  border-radius: 38px;
  background:
    radial-gradient(circle at 17% 50%, rgba(153, 18, 255, 0.18), transparent 17rem),
    linear-gradient(118deg, rgba(57, 16, 83, 0.75), rgba(13, 6, 20, 0.93) 65%);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 60%, rgba(185, 70, 255, 0.055)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, 0.018) 80px);
}

.cta-card > img {
  position: relative;
  z-index: 1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  filter: drop-shadow(0 0 34px rgba(147, 20, 255, 0.35));
  animation: logo-float 6s ease-in-out 0.7s infinite;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  font-size: clamp(40px, 4.6vw, 64px);
}

.cta-copy p {
  max-width: 580px;
  margin-top: 17px;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
  min-width: 210px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  color: #a99db3;
  background: transparent;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  cursor: pointer;
  transition: color 180ms ease;
}

.text-button:hover {
  color: #fff;
}

.text-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-glow {
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(137, 0, 255, 0.17);
  filter: blur(70px);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #040106;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 112px;
  gap: 30px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-inner p {
  margin: 0;
  color: #6d6475;
  font-size: 11px;
  text-align: center;
}

.to-top {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #a99eb3;
  background: rgba(255, 255, 255, 0.025);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.to-top:hover {
  color: #fff;
  border-color: rgba(190, 91, 255, 0.3);
  transform: translateY(-2px);
}

.to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Toast */
.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  max-width: calc(100% - 32px);
  padding: 13px 17px;
  border: 1px solid rgba(187, 89, 255, 0.33);
  border-radius: 14px;
  color: #eee8f4;
  background: rgba(18, 8, 27, 0.93);
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.45), 0 0 25px rgba(143, 0, 255, 0.15);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transform: translate(-50%, 20px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #07110c;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms cubic-bezier(.22, .61, .36, 1), transform 750ms cubic-bezier(.22, .61, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay,
.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 190ms;
}

.reveal-delay-3 {
  transition-delay: 280ms;
}

/* Keyframes */
@keyframes gradient-shift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.76; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(-4%); }
  50% { transform: translateY(calc(-4% - 10px)); }
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

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

@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes scroll-line {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(45px); opacity: 0; }
}

@keyframes ticker-move {
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 34px, 1050px);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 70px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(58px, 7.2vw, 82px);
  }

  .hero-visual {
    min-height: 620px;
  }

  .logo-stage {
    right: -118px;
    width: 680px;
  }

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

  .feature-card {
    min-height: 245px;
  }

  .feature-icon {
    margin-bottom: 28px;
  }

  .cta-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .cta-card > img {
    width: 150px;
    height: 150px;
  }

  .cta-actions {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    min-width: 0;
  }
}

@media (max-width: 930px) {
  :root {
    --header-height: 76px;
  }

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

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 17px;
    right: 17px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(10, 5, 16, 0.96);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(24px);
    transform: translateY(-14px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-link {
    padding: 15px 14px;
    border-radius: 11px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(157, 18, 255, 0.09);
  }

  .header-actions {
    display: none;
  }

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

  .hero-copy {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-lead,
  .server-panel {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 720px);
    min-height: 650px;
    margin: 0 auto;
  }

  .logo-stage {
    top: -18px;
    left: 50%;
    right: auto;
    width: min(720px, 96vw);
    transform: translateX(-50%);
  }

  .live-card {
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading p {
    max-width: 640px;
  }

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

  .map-card {
    max-width: 720px;
    margin-inline: auto;
  }

  .rules-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .rules-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 28px);
    --radius-xl: 25px;
    --radius-lg: 19px;
  }

  .section {
    padding: 82px 0;
  }

  .site-header.is-scrolled {
    height: 68px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 52px);
    padding-bottom: 80px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(48px, 15vw, 72px);
    letter-spacing: -0.068em;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .button-large {
    width: 100%;
  }

  .server-panel {
    width: min(100%, 480px);
  }

  .copy-button span {
    display: none;
  }

  .copy-button {
    width: 50px;
    padding: 0;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 7px;
  }

  .proof-item {
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px 5px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
  }

  .proof-item + .proof-item::before {
    display: none;
  }

  .proof-item small {
    display: none;
  }

  .hero-visual {
    min-height: 520px;
  }

  .logo-stage {
    top: -8px;
    width: min(590px, 116vw);
  }

  .map-chip {
    min-width: 122px;
    padding: 9px 10px;
  }

  .chip-awp {
    top: 22%;
    left: 5%;
  }

  .chip-mirage {
    right: 4%;
    bottom: 26%;
  }

  .live-card {
    width: calc(100% - 16px);
    padding: 16px;
  }

  .live-metrics {
    grid-template-columns: 0.8fr 1.35fr 0.8fr;
    gap: 6px;
  }

  .live-metrics > div {
    padding: 9px;
  }

  .demo-badge {
    display: none;
  }

  .ticker-track {
    min-height: 61px;
  }

  .section-heading h2,
  .rules-intro h2,
  .cta-copy h2 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .map-content {
    padding: 24px 22px 26px;
  }

  .map-meta {
    font-size: 8px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .stats-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 12px;
    padding: 27px 18px;
  }

  .stat-separator {
    display: none;
  }

  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rule-item {
    grid-template-columns: 52px 1fr;
    gap: 13px;
    padding: 22px 18px;
  }

  .rule-item > span {
    width: 46px;
    height: 46px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 35px 24px;
    text-align: center;
  }

  .cta-card > img {
    width: 124px;
    height: 124px;
    margin: 0 auto;
  }

  .cta-actions {
    grid-column: auto;
    flex-direction: column;
    width: min(100%, 350px);
    margin: 3px auto 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    padding: 24px 0;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .to-top {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 470px) {
  .hero h1 {
    font-size: clamp(44px, 14.5vw, 59px);
  }

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

  .proof-item:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
  }

  .hero-visual {
    min-height: 470px;
  }

  .map-chip {
    display: none;
  }

  .live-card {
    bottom: -3px;
  }

  .live-metrics strong {
    font-size: 10px;
  }

  .map-content h3 {
    font-size: 36px;
  }

  .map-meta span:last-child {
    display: none;
  }

  .section-heading h2,
  .rules-intro h2,
  .cta-copy h2 {
    font-size: clamp(37px, 11.7vw, 50px);
  }

  .rule-item {
    grid-template-columns: 1fr;
  }

  .rule-item > span {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   CS2_NEXT LIVE STATUS + RANKS
   ========================================================= */
[hidden] {
  display: none !important;
}

.main-nav {
  gap: 24px;
}

.live-badge,
.panel-status,
.compact-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(82, 239, 171, 0.26);
  border-radius: 999px;
  color: #85f5c4;
  background: rgba(82, 239, 171, 0.075);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.live-badge {
  min-height: 27px;
  padding: 0 10px;
}

.live-badge::before,
.panel-status i,
.compact-status i {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(82, 239, 171, 0.82);
  animation: live-pulse 1.8s ease-in-out infinite;
}

.live-badge.is-offline,
.panel-status.is-offline,
.compact-status.is-offline {
  border-color: rgba(255, 101, 118, 0.24);
  color: #ff8896;
  background: rgba(255, 101, 118, 0.07);
}

.live-badge.is-offline::before,
.panel-status.is-offline i,
.compact-status.is-offline i {
  background: #ff6576;
  box-shadow: 0 0 12px rgba(255, 101, 118, 0.7);
  animation: none;
}

.live-badge.is-warning {
  border-color: rgba(255, 191, 75, 0.28);
  color: #ffd27d;
  background: rgba(255, 191, 75, 0.08);
}

.live-badge.is-warning::before {
  background: #ffbf4b;
  box-shadow: 0 0 12px rgba(255, 191, 75, 0.7);
}

.online-label.is-loading > span {
  background: #ffbf4b;
  box-shadow: 0 0 12px rgba(255, 191, 75, 0.72);
}

.live-card {
  transition: border-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.live-card.is-offline {
  border-color: rgba(255, 101, 118, 0.18);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), 0 0 45px rgba(255, 101, 118, 0.06);
}

.live-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #73687f;
  font-size: 9px;
  font-weight: 650;
}

.live-updated > span:first-child {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(82, 239, 171, 0.65);
}

.live-updated > span:first-child.is-offline {
  background: #ff6576;
  box-shadow: 0 0 9px rgba(255, 101, 118, 0.55);
}

.announcement-bar {
  position: relative;
  z-index: 5;
  border-block: 1px solid rgba(194, 61, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(81, 0, 156, 0.1), rgba(194, 61, 255, 0.11), rgba(81, 0, 156, 0.1)),
    rgba(8, 3, 13, 0.92);
  overflow: hidden;
}

.announcement-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.035) 50%, transparent 68%);
  transform: translateX(-60%);
  animation: announcement-scan 8s ease-in-out infinite;
}

.announcement-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}

.announcement-label {
  padding: 6px 9px;
  border: 1px solid rgba(194, 61, 255, 0.3);
  border-radius: 7px;
  color: #d795ff;
  background: rgba(157, 18, 255, 0.09);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.announcement-inner p {
  margin: 0;
  color: #c8bfce;
  font-size: 13px;
  font-weight: 650;
}

.announcement-inner button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: #8f8499;
  background: rgba(255, 255, 255, 0.025);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.announcement-inner button:hover {
  color: #fff;
  border-color: rgba(194, 61, 255, 0.35);
  background: rgba(157, 18, 255, 0.09);
}

.live-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 35%, rgba(91, 0, 190, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 75%, rgba(194, 61, 255, 0.08), transparent 26rem),
    #07030b;
}

.live-section::before,
.ranks-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.live-dashboard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  gap: 22px;
  margin-top: 52px;
}

.online-players-card,
.server-overview-card,
.leaderboard-card,
.rank-ladder-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 38%),
    rgba(14, 7, 21, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.online-players-card,
.leaderboard-card {
  min-height: 490px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.panel-heading > div {
  min-width: 0;
}

.panel-kicker {
  display: block;
  margin-bottom: 4px;
  color: #876f9b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-heading h3 {
  margin: 0;
  color: #f5f1f8;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.panel-heading h3 b {
  color: var(--purple-bright);
}

.panel-status,
.compact-status {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 0 11px;
}

.online-player-list {
  display: flex;
  flex-direction: column;
  min-height: 405px;
  padding: 10px 16px 16px;
}

.online-player-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 70px 110px;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 160ms ease, transform 160ms ease;
}

.online-player-row:hover {
  background: rgba(157, 18, 255, 0.055);
  transform: translateX(2px);
}

.online-player-index {
  color: #554b5e;
  font-family: var(--display);
  font-size: 12px;
  text-align: center;
}

.online-player-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.online-player-identity > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(194, 61, 255, 0.22);
  border-radius: 12px;
  color: #dba1ff;
  background: linear-gradient(135deg, rgba(157, 18, 255, 0.2), rgba(157, 18, 255, 0.045));
  font-size: 13px;
  font-weight: 900;
}

.online-player-identity strong {
  overflow: hidden;
  color: #ece6f1;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-player-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.online-player-score small,
.leaderboard-stats small {
  color: #63596c;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.online-player-score b {
  color: #a998b4;
  font-size: 12px;
}

.online-player-time {
  color: #756a7f;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.data-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 35px 20px;
  color: #746a7d;
  text-align: center;
}

.data-empty strong {
  margin-top: 20px;
  color: #c9c0cf;
  font-size: 14px;
}

.data-empty small {
  margin-top: 5px;
  color: #665d6e;
  font-size: 10px;
}

.empty-radar {
  position: relative;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(194, 61, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(194, 61, 255, 0.16) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(194, 61, 255, 0.16) 50%, transparent 51%);
  box-shadow: inset 0 0 30px rgba(157, 18, 255, 0.07), 0 0 35px rgba(157, 18, 255, 0.08);
}

.empty-radar::before,
.empty-radar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.empty-radar::before {
  inset: 13px;
  border: 1px solid rgba(194, 61, 255, 0.15);
}

.empty-radar::after {
  top: 50%;
  left: 50%;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(194, 61, 255, 0.75), transparent);
  transform-origin: left center;
  animation: radar-sweep 2.8s linear infinite;
}

.server-overview-card {
  display: flex;
  flex-direction: column;
  min-height: 490px;
  padding: 28px;
  isolation: isolate;
}

.server-overview-glow {
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(157, 18, 255, 0.19);
  filter: blur(70px);
}

.server-overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.server-overview-card > h3 {
  margin: 54px 0 8px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.server-map-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 28px;
  color: #776c81;
  font-size: 11px;
}

.server-map-line strong {
  overflow: hidden;
  color: #c99be7;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-overview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.server-overview-metrics > div {
  display: flex;
  flex-direction: column;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.server-overview-metrics span,
.overview-address > span {
  color: #6e6477;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-overview-metrics strong {
  margin-top: 3px;
  color: #eee9f2;
  font-size: 14px;
}

.overview-address {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 22px;
  padding: 15px 16px;
  border: 1px solid rgba(194, 61, 255, 0.16);
  border-radius: 13px;
  background: rgba(157, 18, 255, 0.055);
}

.overview-address code {
  overflow: hidden;
  color: #e2d6e9;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.overview-actions .button {
  min-width: 0;
  padding-inline: 12px;
  font-size: 10px;
}

.overview-update {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  color: #685e71;
  font-size: 9px;
  text-align: center;
}

.ranks-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(157, 18, 255, 0.13), transparent 30rem),
    #050208;
}

.ranks-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 22px;
  margin-top: 52px;
}

.leaderboard-season,
.rank-count {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(194, 61, 255, 0.18);
  border-radius: 7px;
  color: #9b85aa;
  background: rgba(157, 18, 255, 0.045);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.leaderboard {
  padding: 8px 16px 16px;
}

.leaderboard-row {
  --player-rank-color: #9d12ff;
  display: grid;
  grid-template-columns: 42px minmax(170px, 1fr) minmax(155px, 0.85fr) 126px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 160ms ease, transform 160ms ease;
}

.leaderboard-row:hover {
  background: color-mix(in srgb, var(--player-rank-color) 6%, transparent);
  transform: translateX(2px);
}

.leaderboard-row.is-top {
  margin: 6px 0;
  border: 1px solid color-mix(in srgb, var(--player-rank-color) 20%, transparent);
  border-radius: 15px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--player-rank-color) 9%, transparent), transparent 64%);
}

.leaderboard-position {
  color: #574c60;
  font-family: var(--display);
  font-size: 13px;
  text-align: center;
}

.leaderboard-row.is-top .leaderboard-position {
  color: var(--player-rank-color);
  text-shadow: 0 0 16px color-mix(in srgb, var(--player-rank-color) 55%, transparent);
}

.leaderboard-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.leaderboard-identity > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--player-rank-color) 34%, transparent);
  border-radius: 13px;
  color: var(--player-rank-color);
  background: color-mix(in srgb, var(--player-rank-color) 11%, rgba(10, 5, 16, 0.85));
  font-size: 14px;
  font-weight: 900;
}

.leaderboard-identity > div {
  min-width: 0;
}

.leaderboard-identity strong,
.leaderboard-identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-identity strong {
  color: #eee8f2;
  font-size: 13px;
}

.leaderboard-identity small {
  margin-top: 2px;
  color: var(--player-rank-color);
  font-size: 9px;
  font-weight: 800;
}

.leaderboard-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.leaderboard-progress strong {
  color: #cfc4d5;
  font-size: 10px;
}

.leaderboard-progress small {
  color: #655b6d;
  font-size: 8px;
}

.leaderboard-progress > span {
  display: block;
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
}

.leaderboard-progress > span i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--player-rank-color) 60%, #7a00d8), var(--player-rank-color));
  box-shadow: 0 0 10px color-mix(in srgb, var(--player-rank-color) 45%, transparent);
}

.leaderboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.leaderboard-stats > span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.leaderboard-stats b {
  color: #aaa0b2;
  font-size: 11px;
}

.empty-trophy {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(194, 61, 255, 0.2);
  border-radius: 24px;
  color: #9e65c3;
  background: rgba(157, 18, 255, 0.055);
  box-shadow: 0 0 38px rgba(157, 18, 255, 0.08);
  font-size: 36px;
}

.rank-ladder-card {
  min-height: 490px;
}

.rank-ladder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.rank-ladder-row {
  --rank-color: #9d12ff;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 13px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--rank-color) 7%, transparent), rgba(255, 255, 255, 0.012));
}

.rank-ladder-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--rank-color) 36%, transparent);
  border-radius: 12px;
  color: var(--rank-color);
  background: color-mix(in srgb, var(--rank-color) 9%, transparent);
  font-family: var(--display);
  font-size: 10px;
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--rank-color) 9%, transparent);
}

.rank-ladder-row strong,
.rank-ladder-row small {
  display: block;
}

.rank-ladder-row strong {
  color: #ddd5e2;
  font-size: 12px;
}

.rank-ladder-row small {
  color: #6e6377;
  font-size: 8px;
}

.rank-ladder-count {
  color: #675d70;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.rank-skeleton {
  height: 58px;
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  background-size: 220% 100%;
  animation: skeleton-shift 1.8s linear infinite;
}

.footer-inner {
  grid-template-columns: 1fr auto auto auto;
  gap: 22px;
}

.footer-admin-link {
  padding: 8px 10px;
  border: 1px solid rgba(194, 61, 255, 0.15);
  border-radius: 9px;
  color: #8b7d94;
  background: rgba(157, 18, 255, 0.035);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-admin-link:hover {
  color: #e2d4eb;
  border-color: rgba(194, 61, 255, 0.34);
  background: rgba(157, 18, 255, 0.09);
}

.toast.is-error {
  border-color: rgba(255, 101, 118, 0.32);
}

.toast.is-error .toast-icon {
  color: #fff;
  background: #ff6576;
}

.footer-admin-link:focus-visible,
.announcement-inner button:focus-visible {
  outline: 3px solid rgba(194, 61, 255, 0.65);
  outline-offset: 4px;
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.7; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes radar-sweep {
  to { transform: rotate(360deg); }
}

@keyframes skeleton-shift {
  to { background-position: -220% 0; }
}

@keyframes announcement-scan {
  0%, 35% { transform: translateX(-65%); }
  65%, 100% { transform: translateX(65%); }
}

@media (max-width: 1120px) {
  .live-dashboard,
  .ranks-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  }

  .leaderboard-row {
    grid-template-columns: 36px minmax(150px, 1fr) minmax(130px, 0.75fr) 112px;
    gap: 10px;
  }
}

@media (max-width: 930px) {
  .live-dashboard,
  .ranks-layout {
    grid-template-columns: 1fr;
  }

  .server-overview-card,
  .rank-ladder-card {
    min-height: 0;
  }

  .server-overview-card > h3 {
    margin-top: 38px;
  }

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

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

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 720px) {
  .live-badge {
    display: inline-flex;
  }

  .announcement-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    min-height: 70px;
  }

  .announcement-inner p {
    font-size: 11px;
    line-height: 1.45;
  }

  .announcement-label {
    display: none;
  }

  .live-dashboard,
  .ranks-layout {
    margin-top: 34px;
  }

  .panel-heading {
    padding: 20px;
  }

  .panel-heading h3 {
    font-size: 19px;
  }

  .online-player-list {
    min-height: 340px;
    padding-inline: 10px;
  }

  .online-player-row {
    grid-template-columns: 30px minmax(0, 1fr) 56px;
    gap: 8px;
  }

  .online-player-time {
    display: none;
  }

  .server-overview-card {
    padding: 22px;
  }

  .server-overview-card > h3 {
    font-size: 40px;
  }

  .overview-actions {
    grid-template-columns: 1fr;
  }

  .leaderboard {
    padding-inline: 9px;
  }

  .leaderboard-row {
    grid-template-columns: 30px minmax(0, 1fr) 94px;
    gap: 8px;
    min-height: 72px;
    padding-inline: 7px;
  }

  .leaderboard-progress {
    display: none;
  }

  .leaderboard-stats {
    gap: 5px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .footer-admin-link {
    grid-column: 2;
    grid-row: 1;
  }

  .to-top {
    grid-column: 3;
    grid-row: 1;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 470px) {
  .live-updated {
    max-width: 100%;
  }

  .live-updated span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .panel-heading {
    align-items: flex-start;
  }

  .panel-status,
  .compact-status {
    padding-inline: 8px;
    font-size: 7px;
  }

  .online-player-index {
    font-size: 9px;
  }

  .online-player-identity > span {
    width: 34px;
    height: 34px;
  }

  .online-player-identity strong {
    font-size: 11px;
  }

  .server-overview-top {
    align-items: flex-start;
  }

  .server-overview-metrics > div {
    padding: 10px 8px;
  }

  .server-overview-card > h3 {
    font-size: 34px;
  }

  .leaderboard-heading {
    align-items: center;
  }

  .leaderboard-season {
    display: none;
  }

  .leaderboard-row {
    grid-template-columns: 27px minmax(0, 1fr) 52px;
  }

  .leaderboard-identity {
    gap: 8px;
  }

  .leaderboard-identity > span {
    width: 36px;
    height: 36px;
  }

  .leaderboard-stats {
    grid-template-columns: 1fr;
  }

  .leaderboard-stats > span:first-child {
    display: none;
  }

  .rank-ladder-count {
    display: none;
  }

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

  .footer-admin-link {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .to-top {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* Active maps: both AWP LEGO and Mirage are available. */
.map-state-badge {
  position: absolute;
  z-index: 6;
  left: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(174, 107, 255, 0.28);
  border-radius: 999px;
  color: #e9d7f7;
  background: rgba(16, 7, 24, 0.78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.map-state-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #75f7b2;
  box-shadow: 0 0 12px rgba(117, 247, 178, 0.75);
}

.map-card.is-current {
  border-color: rgba(191, 104, 255, 0.56);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 55px rgba(149, 38, 255, 0.16);
}

.map-card.is-current .map-state-badge {
  border-color: rgba(117, 247, 178, 0.28);
  color: #dffff0;
  background: rgba(9, 31, 23, 0.82);
}

.map-card.is-current .map-state-badge::before {
  animation: map-live-pulse 1.45s ease-in-out infinite;
}

.map-connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid rgba(191, 104, 255, 0.22);
  border-radius: 12px;
  color: #f1e9f7;
  background: linear-gradient(135deg, rgba(157, 18, 255, 0.16), rgba(255, 255, 255, 0.035));
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.map-connect-button:hover {
  transform: translateY(-2px);
  border-color: rgba(191, 104, 255, 0.48);
  background: linear-gradient(135deg, rgba(157, 18, 255, 0.26), rgba(255, 255, 255, 0.055));
}

.map-connect-button span {
  font-size: 15px;
  line-height: 1;
}

@keyframes map-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .62; transform: scale(.82); }
}

@media (max-width: 720px) {
  .map-state-badge {
    top: 14px;
    left: 14px;
    min-height: 25px;
    padding-inline: 9px;
    font-size: 7px;
  }

  .map-number {
    top: 16px;
    right: 16px;
  }

  .map-connect-button {
    width: 100%;
  }
}

/* Hero collision fix v2.1.1: cards no longer cover the logo. */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 0;
  padding: 2px 0 8px;
}

.logo-stage {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: min(610px, 100%);
  margin: 0 auto;
  transform: none;
}

.hero-mode-row {
  position: relative;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(440px, 100%);
  margin: 2px auto 0;
}

.hero-mode-row .map-chip {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  min-width: 0;
  justify-content: center;
  animation: none;
  transform: none;
}

.hero-mode-row .map-chip > div {
  min-width: 0;
}

.live-card {
  position: relative;
  z-index: 8;
  right: auto;
  bottom: auto;
  left: auto;
  width: min(440px, 100%);
  margin: 0 auto;
  transform: none;
}

@media (max-width: 1120px) {
  .hero-grid {
    gap: 28px;
  }

  .hero-visual {
    min-height: 0;
  }

  .logo-stage {
    width: min(560px, 100%);
  }
}

@media (max-width: 930px) {
  .hero-visual {
    width: min(100%, 720px);
    min-height: 0;
    margin: 24px auto 0;
  }

  .logo-stage {
    width: min(600px, 94vw);
    transform: none;
  }

  .hero-mode-row {
    width: min(460px, 92%);
    margin-top: 0;
  }

  .live-card {
    width: min(460px, 92%);
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero-visual {
    min-height: 0;
    gap: 12px;
    margin-top: 18px;
  }

  .logo-stage {
    width: min(520px, 100%);
  }

  .hero-mode-row {
    width: min(460px, 100%);
    margin-top: 0;
  }

  .hero-mode-row .map-chip {
    padding: 10px 11px;
  }

  .live-card {
    width: min(480px, 100%);
  }
}

@media (max-width: 470px) {
  .hero-mode-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 0;
  }

  .hero-mode-row .map-chip {
    display: flex;
    min-width: 0;
    padding: 9px 8px;
    border-radius: 12px;
  }

  .hero-mode-row .map-chip small {
    font-size: 7px;
  }

  .hero-mode-row .map-chip strong {
    font-size: 9px;
  }

  .live-card {
    bottom: auto;
  }
}


/* Ranking experience v2.2.0 */
body.profile-open {
  overflow: hidden;
}

.rank-overview {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 1.15fr minmax(260px, 1.35fr);
  gap: 10px;
  margin-top: 38px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(157, 18, 255, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26);
}

.rank-overview-metric {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
}

.rank-overview-metric span,
.player-search small {
  display: block;
  color: #756b7d;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rank-overview-metric strong {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: #f1eaf5;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-overview-leader strong {
  color: #d58bff;
}

.player-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid rgba(194, 61, 255, 0.15);
  border-radius: 14px;
  background: rgba(8, 4, 12, 0.58);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.player-search:focus-within {
  border-color: rgba(194, 61, 255, 0.46);
  background: rgba(15, 7, 22, 0.82);
  box-shadow: 0 0 0 3px rgba(157, 18, 255, 0.08), 0 15px 34px rgba(0, 0, 0, 0.2);
}

.player-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #836c91;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.player-search input {
  width: 100%;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  outline: 0;
  color: #f5eef9;
  background: transparent;
  font: inherit;
  font-size: 12px;
}

.player-search input::placeholder {
  color: #655a6c;
}

.top-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}

.top-podium[hidden] {
  display: none;
}

.podium-player {
  --player-rank-color: #9d12ff;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 86px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--player-rank-color) 22%, rgba(255, 255, 255, 0.06));
  border-radius: 18px;
  color: inherit;
  background:
    radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--player-rank-color) 15%, transparent), transparent 45%),
    rgba(13, 7, 19, 0.72);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.podium-player::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--player-rank-color);
  filter: blur(55px);
  opacity: 0.08;
  pointer-events: none;
}

.podium-player:hover,
.podium-player:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--player-rank-color) 48%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 48px color-mix(in srgb, var(--player-rank-color) 10%, rgba(0, 0, 0, 0.34));
  outline: none;
}

.podium-place-1 {
  min-height: 102px;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--player-rank-color) 23%, transparent), transparent 48%),
    rgba(16, 8, 23, 0.88);
}

.podium-place {
  position: absolute;
  top: 8px;
  right: 11px;
  color: var(--player-rank-color);
  font-family: var(--display);
  font-size: 9px;
  opacity: 0.8;
}

.podium-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--player-rank-color) 38%, transparent);
  border-radius: 15px;
  color: var(--player-rank-color);
  background: color-mix(in srgb, var(--player-rank-color) 10%, rgba(7, 3, 11, 0.9));
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--player-rank-color) 8%, transparent);
  font-weight: 950;
}

.podium-copy {
  min-width: 0;
}

.podium-copy strong,
.podium-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-copy strong {
  color: #f0e8f4;
  font-size: 12px;
}

.podium-copy small {
  margin-top: 2px;
  color: var(--player-rank-color);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.podium-player > b {
  align-self: end;
  color: #8f8497;
  font-size: 9px;
  white-space: nowrap;
}

.ranks-layout {
  margin-top: 18px;
}

.leaderboard-row {
  grid-template-columns: 42px minmax(170px, 1fr) minmax(155px, 0.85fr) 126px 20px;
  cursor: pointer;
}

.leaderboard-row:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--player-rank-color) 70%, #fff);
  outline-offset: -2px;
}

.leaderboard-open {
  color: #55485d;
  font-size: 22px;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease;
}

.leaderboard-row:hover .leaderboard-open,
.leaderboard-row:focus-visible .leaderboard-open {
  color: var(--player-rank-color);
  transform: translateX(2px);
}

.player-profile-modal {
  --profile-rank-color: #9d12ff;
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.player-profile-modal[hidden] {
  display: none;
}

.player-profile-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.player-profile-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 1, 5, 0.78);
  backdrop-filter: blur(15px);
  cursor: default;
}

.player-profile-card {
  position: relative;
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  padding: 28px;
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--profile-rank-color) 28%, rgba(255, 255, 255, 0.08));
  border-radius: 25px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--profile-rank-color) 7%, rgba(19, 10, 27, 0.98)), rgba(7, 3, 11, 0.99));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62), 0 0 70px color-mix(in srgb, var(--profile-rank-color) 10%, transparent);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.player-profile-modal.is-open .player-profile-card {
  transform: translateY(0) scale(1);
}

.player-profile-glow {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 300px;
  height: 180px;
  border-radius: 50%;
  background: var(--profile-rank-color);
  filter: blur(80px);
  opacity: 0.12;
  transform: translateX(-50%);
  pointer-events: none;
}

.player-profile-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  color: #cbbfd1;
  background: rgba(255, 255, 255, 0.035);
  font-size: 21px;
  cursor: pointer;
}

.player-profile-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 42px;
}

.player-profile-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid color-mix(in srgb, var(--profile-rank-color) 42%, transparent);
  border-radius: 22px;
  color: var(--profile-rank-color);
  background: color-mix(in srgb, var(--profile-rank-color) 12%, rgba(8, 4, 12, 0.86));
  box-shadow: inset 0 0 30px color-mix(in srgb, var(--profile-rank-color) 10%, transparent), 0 12px 38px rgba(0, 0, 0, 0.28);
  font-family: var(--display);
  font-size: 24px;
}

.player-profile-identity {
  min-width: 0;
}

.player-profile-place {
  color: #766a7f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.player-profile-identity h3 {
  margin: 3px 0 1px;
  overflow: hidden;
  color: #f6effa;
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-profile-rank {
  color: var(--profile-rank-color);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 26px;
}

.player-profile-stats > div {
  padding: 15px 12px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.player-profile-stats span,
.player-profile-progress span,
.player-profile-progress small {
  color: #716677;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.player-profile-stats strong {
  display: block;
  margin-top: 3px;
  color: #e5dce9;
  font-family: var(--display);
  font-size: 17px;
}

.player-profile-progress {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--profile-rank-color) 17%, rgba(255, 255, 255, 0.055));
  border-radius: 17px;
  background: color-mix(in srgb, var(--profile-rank-color) 4%, rgba(255, 255, 255, 0.016));
}

.player-profile-progress-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.player-profile-progress-top strong {
  display: block;
  margin-top: 2px;
  color: var(--profile-rank-color);
  font-size: 13px;
}

.player-profile-progress-top > small {
  max-width: 55%;
  text-align: right;
}

.player-profile-track {
  height: 7px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
}

.player-profile-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--profile-rank-color) 60%, #7100d4), var(--profile-rank-color));
  box-shadow: 0 0 16px color-mix(in srgb, var(--profile-rank-color) 45%, transparent);
  transition: width 350ms ease;
}

.player-profile-xp-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.player-profile-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 9px;
  margin-top: 20px;
}

@media (max-width: 1120px) {
  .rank-overview {
    grid-template-columns: repeat(3, 1fr);
  }

  .player-search {
    grid-column: 1 / -1;
    min-height: 50px;
  }

  .leaderboard-row {
    grid-template-columns: 36px minmax(150px, 1fr) minmax(130px, 0.75fr) 112px 18px;
  }
}

@media (max-width: 800px) {
  .top-podium {
    grid-template-columns: 1fr;
  }

  .podium-player,
  .podium-place-1 {
    min-height: 82px;
  }
}

@media (max-width: 720px) {
  .rank-overview {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 8px;
  }

  .rank-overview-metric {
    padding: 11px 12px;
  }

  .rank-overview-leader {
    grid-column: 1 / -1;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .player-search {
    grid-column: 1 / -1;
  }

  .leaderboard-row {
    grid-template-columns: 30px minmax(0, 1fr) 94px 16px;
  }

  .leaderboard-progress {
    display: none;
  }

  .player-profile-modal {
    padding: 14px;
  }

  .player-profile-card {
    padding: 22px;
    border-radius: 21px;
  }
}

@media (max-width: 470px) {
  .rank-overview {
    margin-top: 28px;
  }

  .rank-overview-metric strong {
    font-size: 14px;
  }

  .player-search small {
    display: none;
  }

  .player-search {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .podium-player {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .podium-player > b {
    display: none;
  }

  .leaderboard-row {
    grid-template-columns: 27px minmax(0, 1fr) 52px 14px;
  }

  .player-profile-head {
    gap: 12px;
  }

  .player-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 20px;
  }

  .player-profile-stats {
    gap: 6px;
  }

  .player-profile-stats > div {
    padding: 12px 8px;
  }

  .player-profile-progress-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-profile-progress-top > small {
    max-width: 100%;
    text-align: left;
  }

  .player-profile-actions {
    grid-template-columns: 1fr;
  }
}

/* === CS2_NEXT 2.3.0: Steam account === */
.account-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #07040c;
}

.account-site-header .header-inner { justify-content: space-between; }
.account-header-actions { display: flex; align-items: center; gap: 9px; }
.account-main { position: relative; z-index: 2; padding: 132px 0 80px; }
.account-shell { width: min(1120px, calc(100% - 36px)); }
.account-title-block { max-width: 720px; margin-bottom: 34px; }
.account-title-block h1 { margin: 7px 0 10px; font-family: var(--display); font-size: clamp(42px, 7vw, 78px); line-height: .96; }
.account-title-block p { max-width: 660px; margin: 0; color: #8d8295; line-height: 1.75; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .72fr); gap: 18px; align-items: start; }
.account-panel, .account-mini-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.075); background: linear-gradient(145deg, rgba(22,12,30,.94), rgba(8,4,12,.97)); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.account-panel { min-height: 500px; padding: clamp(26px, 5vw, 48px); border-radius: 28px; }
.account-panel-glow { position: absolute; width: 420px; height: 280px; top: -170px; right: -100px; border-radius: 50%; background: #9d12ff; filter: blur(100px); opacity: .17; pointer-events: none; }
.account-login-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.steam-mark { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; border: 1px solid rgba(170,92,255,.28); border-radius: 22px; background: rgba(157,18,255,.08); box-shadow: inset 0 0 38px rgba(157,18,255,.07); }
.steam-mark svg { width: 37px; height: 37px; fill: #fff; }
.account-status-label, .account-mini-kicker { color: #9d82ad; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.account-login-panel h2 { margin: 7px 0 10px; font-family: var(--display); font-size: clamp(30px, 5vw, 44px); }
.account-login-panel > p { max-width: 590px; margin: 0 0 24px; color: #8e8295; line-height: 1.7; }
.steam-login-button { gap: 10px; }
.steam-login-button svg { width: 22px; height: 22px; fill: currentColor; }
.account-security-note { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: #675d6d; font-size: 10px; }
.account-security-note i, .account-mini-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #45d9a5; box-shadow: 0 0 14px rgba(69,217,165,.5); }
.account-side { display: grid; gap: 18px; }
.account-mini-card { padding: 24px; border-radius: 22px; }
.account-mini-card > strong { display: block; margin: 8px 0 19px; font-family: var(--display); font-size: 21px; }
.account-mini-kicker { display: flex; align-items: center; gap: 7px; }
.account-mini-kicker i.is-offline { background: #ff5f79; box-shadow: 0 0 14px rgba(255,95,121,.45); }
.account-server-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.055); color: #746a7a; font-size: 11px; }
.account-server-row b { color: #dcd2e2; }
.account-mini-card .button { width: 100%; margin-top: 12px; }
.account-roadmap-card { min-height: 190px; }
.account-roadmap-card p { margin: 8px 0 0; color: #7c7283; font-size: 12px; line-height: 1.65; }
.account-profile-panel { --profile-rank-color: #9d12ff; }
.account-profile-top { display: flex; align-items: center; gap: 18px; }
.account-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 82px; height: 82px; border: 1px solid color-mix(in srgb, var(--profile-rank-color) 45%, transparent); border-radius: 24px; color: var(--profile-rank-color); background: color-mix(in srgb, var(--profile-rank-color) 10%, rgba(7,3,11,.8)); font-family: var(--display); font-size: 27px; box-shadow: inset 0 0 32px color-mix(in srgb, var(--profile-rank-color) 10%, transparent); }
.account-identity { min-width: 0; }
.account-identity > span { color: #766b7d; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.account-identity h2 { margin: 4px 0 3px; overflow: hidden; font-family: var(--display); font-size: clamp(28px, 5vw, 42px); line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.account-rank-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.account-rank-line strong { color: var(--profile-rank-color); font-size: 11px; text-transform: uppercase; }
.account-rank-line small { color: #605767; font-size: 9px; }
.account-link-warning { margin-top: 24px; padding: 16px 18px; border: 1px solid rgba(255,191,75,.2); border-radius: 16px; background: rgba(255,191,75,.045); }
.account-link-warning strong { color: #ffcf79; font-size: 12px; }
.account-link-warning p { margin: 5px 0 0; color: #8e7f72; font-size: 11px; line-height: 1.6; }
.account-steamid-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; background: rgba(255,255,255,.02); }
.account-steamid-row > div { min-width: 0; }
.account-steamid-row span { display: block; color: #655b6c; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.account-steamid-row code { display: block; margin-top: 3px; overflow: hidden; color: #d7cedd; font-size: 13px; text-overflow: ellipsis; }
.account-steamid-row .copy-button { position: static; flex: 0 0 auto; min-width: auto; }
.account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.account-stats > div { padding: 16px 13px; border: 1px solid rgba(255,255,255,.055); border-radius: 15px; background: rgba(255,255,255,.018); }
.account-stats span { color: #655c6b; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.account-stats strong { display: block; margin-top: 4px; color: #e3dae8; font-family: var(--display); font-size: 18px; }
.account-rank-progress { margin-top: 18px; padding: 18px; border: 1px solid color-mix(in srgb, var(--profile-rank-color) 18%, rgba(255,255,255,.05)); border-radius: 17px; background: color-mix(in srgb, var(--profile-rank-color) 4%, rgba(255,255,255,.012)); }
.account-progress-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.account-progress-head span, .account-progress-head small { color: #6c6272; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.account-progress-head strong { display: block; margin-top: 3px; color: var(--profile-rank-color); font-size: 13px; }
.account-profile-actions { display: grid; grid-template-columns: 1.3fr .7fr; gap: 9px; margin-top: 20px; }

@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .account-main { padding-top: 112px; }
  .account-shell { width: min(100% - 24px, 1120px); }
  .account-header-actions .button-ghost { display: none; }
  .account-panel { min-height: 0; padding: 24px; border-radius: 22px; }
  .account-side { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: 1fr 1fr; }
  .account-progress-head { align-items: flex-start; flex-direction: column; }
  .account-profile-actions { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .account-title-block h1 { font-size: 39px; }
  .account-profile-top { gap: 12px; }
  .account-avatar { width: 62px; height: 62px; border-radius: 18px; font-size: 21px; }
  .account-steamid-row { align-items: stretch; flex-direction: column; }
  .account-steamid-row .copy-button { width: 100%; }
}


/* CS2_NEXT 2.3.1: visible Steam login */
@media (min-width: 931px) and (max-width: 1180px) {
  .main-nav { gap: 14px; }
  .nav-link { font-size: 11px; }
  .header-steam-auth { display: none; }
}

@media (max-width: 520px) {
  .hero-actions .button-steam svg { width: 20px; height: 20px; }
}

/* === CS2_NEXT 2.6.0: full player profiles + live presence === */
.player-online-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 4px;
  color: #73ffa9 !important;
  font-size: 7px !important;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .11em;
}
.player-online-label::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.leaderboard-stats { min-width: 154px; }
.leaderboard-stats > span { min-width: 42px; }
.player-profile-actions a.button { text-decoration: none; }

.player-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #07040c;
}
.player-page-main { position: relative; z-index: 2; padding: 132px 0 82px; }
.player-page-shell { width: min(1120px, calc(100% - 36px)); }
.player-page-hero {
  --profile-rank-color: #9d12ff;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid color-mix(in srgb, var(--profile-rank-color) 24%, rgba(255,255,255,.075));
  border-radius: 30px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--profile-rank-color) 7%, rgba(22,12,30,.97)), rgba(7,3,11,.99));
  box-shadow: 0 32px 100px rgba(0,0,0,.34), 0 0 80px color-mix(in srgb, var(--profile-rank-color) 8%, transparent);
}
.player-page-glow {
  position: absolute;
  top: -190px;
  right: -80px;
  width: 520px;
  height: 420px;
  border-radius: 50%;
  background: var(--profile-rank-color);
  filter: blur(120px);
  opacity: .13;
  pointer-events: none;
}
.player-page-state {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: #8e8296;
  background: rgba(255,255,255,.025);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .11em;
}
.player-page-head { position: relative; display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.player-page-avatar {
  display: grid;
  place-items: center;
  width: clamp(86px, 11vw, 118px);
  height: clamp(86px, 11vw, 118px);
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--profile-rank-color) 42%, transparent);
  border-radius: 30px;
  color: var(--profile-rank-color);
  background: color-mix(in srgb, var(--profile-rank-color) 11%, rgba(8,4,12,.86));
  box-shadow: inset 0 0 42px color-mix(in srgb, var(--profile-rank-color) 10%, transparent), 0 18px 50px rgba(0,0,0,.32);
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 46px);
}
.player-page-identity { min-width: 0; }
.player-page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #776b80; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.player-presence { color: #756b79; }
.player-presence.is-online { color: #73ffa9; text-shadow: 0 0 15px rgba(115,255,169,.45); }
.player-page-identity h1 { margin: 5px 0 4px; overflow: hidden; color: #f8f2fa; font-family: var(--display); font-size: clamp(38px, 7vw, 72px); line-height: .96; text-overflow: ellipsis; white-space: nowrap; }
.player-page-rank { color: var(--profile-rank-color); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.player-page-primary-stats { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 34px; }
.player-page-primary-stats > div, .player-detail-grid > div { padding: 17px 16px; border: 1px solid rgba(255,255,255,.065); border-radius: 17px; background: rgba(255,255,255,.025); }
.player-page-primary-stats span, .player-detail-grid span, .player-session-row span, .player-page-progress span, .player-page-progress small { color: #776c7d; font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.player-page-primary-stats strong, .player-detail-grid strong { display: block; margin-top: 5px; color: #eee6f1; font-family: var(--display); font-size: clamp(18px, 3vw, 25px); }
.player-page-progress { position: relative; margin-top: 12px; padding: 19px; border: 1px solid color-mix(in srgb, var(--profile-rank-color) 17%, rgba(255,255,255,.055)); border-radius: 18px; background: color-mix(in srgb, var(--profile-rank-color) 4%, rgba(255,255,255,.016)); }
.player-page-progress-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.player-page-progress-top strong { display: block; margin-top: 3px; color: var(--profile-rank-color); font-size: 14px; }
.player-page-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.75fr); gap: 16px; margin-top: 16px; }
.player-page-panel { padding: 26px; border: 1px solid rgba(255,255,255,.07); border-radius: 24px; background: linear-gradient(145deg, rgba(20,11,27,.95), rgba(8,4,12,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.player-page-panel h2 { margin: 3px 0 0; font-family: var(--display); font-size: 24px; }
.player-live-source { color: #73ffa9; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.player-detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 18px; }
.player-session-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.player-session-row strong { color: #d9cfe0; font-size: 12px; text-align: right; }
.player-connect { width: 100%; margin-top: 20px; }
.player-page-error { margin: 60px auto; max-width: 620px; padding: 34px; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; text-align: center; background: rgba(15,8,20,.94); }
.player-page-error strong { font-family: var(--display); font-size: 28px; }
.player-page-error p { color: #887c90; line-height: 1.65; }

@media (max-width: 820px) {
  .player-page-primary-stats { grid-template-columns: repeat(2,1fr); }
  .player-page-grid { grid-template-columns: 1fr; }
  .player-detail-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 520px) {
  .player-page-main { padding-top: 112px; }
  .player-page-shell { width: min(100% - 22px, 1120px); }
  .player-page-hero { padding: 22px; border-radius: 23px; }
  .player-page-head { align-items: flex-start; gap: 14px; }
  .player-page-avatar { width: 70px; height: 70px; border-radius: 20px; font-size: 25px; }
  .player-page-identity h1 { font-size: 34px; white-space: normal; }
  .player-page-primary-stats { gap: 7px; }
  .player-page-primary-stats > div, .player-detail-grid > div { padding: 14px 12px; }
  .player-page-panel { padding: 20px; border-radius: 20px; }
}


/* === CS2_NEXT 2.7.0: Steam avatars + public profile identity === */
.podium-avatar.has-steam-avatar,
.leaderboard-identity > span.has-steam-avatar,
.player-profile-avatar.has-steam-avatar,
.account-avatar.has-steam-avatar,
.player-page-avatar.has-steam-avatar {
  overflow: hidden;
  padding: 0;
  background: rgba(8,4,12,.9);
}
.podium-avatar img,
.leaderboard-identity > span img,
.player-profile-avatar img,
.account-avatar img,
.player-page-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.leaderboard-identity > span img { border-radius: 12px; }
.podium-avatar img { border-radius: 14px; }
.player-profile-avatar img { border-radius: 21px; }
.account-avatar img { border-radius: 23px; }
.player-page-avatar img { border-radius: 29px; }
.leaderboard-identity small.steam-persona,
.podium-copy small.steam-persona {
  margin-top: 2px;
  color: #8d8194;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .02em;
}
.steam-profile-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 7px;
  overflow: hidden;
  color: #b8a8c4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .05em;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .18s ease, text-shadow .18s ease;
}
.steam-profile-link:hover {
  color: #f0e8f5;
  text-shadow: 0 0 14px rgba(180,109,255,.32);
}
.account-steam-link { color: #8f8297; }
.player-modal-steam-link { color: #8e8296; }
.player-steam-link { color: #93879b; }
@media (max-width: 520px) {
  .account-avatar img { border-radius: 17px; }
  .player-page-avatar img { border-radius: 19px; }
}

/* === CS2_NEXT 2.9.0: original LevelsRanks rank emblems === */
.rank-emblem {
  --rank-emblem-color: #9d12ff;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--rank-emblem-color);
  line-height: 1;
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--rank-emblem-color) 38%, transparent));
  pointer-events: none;
  vertical-align: middle;
}
.rank-emblem svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.rank-emblem--xs { width: 23px; height: 23px; }
.rank-emblem--sm { width: 34px; height: 34px; }
.rank-emblem--md { width: 42px; height: 42px; }
.rank-emblem--lg { width: 68px; height: 68px; }
.rank-emblem--xl { width: clamp(76px, 9vw, 94px); height: clamp(76px, 9vw, 94px); }
.rank-emblem[data-rank-level="18"] {
  filter: drop-shadow(0 0 11px color-mix(in srgb, var(--rank-emblem-color) 55%, transparent)) drop-shadow(0 0 24px color-mix(in srgb, var(--rank-emblem-color) 18%, transparent));
}

.podium-rank-line,
.leaderboard-rank-line {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}
.podium-rank-line { margin-top: 3px; }
.podium-rank-line > small,
.leaderboard-rank-line > small { margin-top: 0; min-width: 0; }
.leaderboard-rank-line .rank-emblem { margin-left: -3px; }

.rank-ladder-mark {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.rank-ladder-mark .rank-emblem {
  width: 38px;
  height: 38px;
}
.rank-ladder-row:hover .rank-emblem,
.leaderboard-row:hover .rank-emblem,
.podium-player:hover .rank-emblem {
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--rank-emblem-color) 58%, transparent));
}

.player-profile-rank-emblem,
.account-rank-emblem,
.player-page-rank-emblem {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--profile-rank-color) 20%, rgba(255,255,255,.055));
  border-radius: 20px;
  background: radial-gradient(circle, color-mix(in srgb, var(--profile-rank-color) 9%, transparent), rgba(255,255,255,.012) 68%);
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--profile-rank-color) 7%, transparent);
}
.player-profile-rank-emblem {
  width: 74px;
  height: 74px;
}
.account-rank-emblem {
  width: 82px;
  height: 82px;
  border-radius: 24px;
}
.player-page-rank-emblem {
  width: clamp(86px, 11vw, 118px);
  height: clamp(86px, 11vw, 118px);
  border-radius: 30px;
}
.player-profile-rank-emblem:empty,
.account-rank-emblem:empty,
.player-page-rank-emblem:empty { display: none; }

@media (max-width: 650px) {
  .account-profile-top { flex-wrap: wrap; }
  .account-rank-emblem { width: 62px; height: 62px; border-radius: 18px; }
  .account-rank-emblem .rank-emblem { width: 52px; height: 52px; }
}
@media (max-width: 520px) {
  .player-page-head { flex-wrap: wrap; }
  .player-page-rank-emblem { width: 70px; height: 70px; border-radius: 20px; }
  .player-page-rank-emblem .rank-emblem { width: 60px; height: 60px; }
  .player-profile-rank-emblem { width: 58px; height: 58px; border-radius: 17px; }
  .player-profile-rank-emblem .rank-emblem { width: 50px; height: 50px; }
  .leaderboard-rank-line .rank-emblem { width: 20px; height: 20px; }
}


/* === CS2_NEXT 3.0.0: LevelsRanks achievements === */
.player-achievements-panel {
  margin-top: 16px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20,11,27,.95), rgba(8,4,12,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.achievements-heading { margin-bottom: 18px; }
.achievement-live-note { color: #8c7a99; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.account-achievements { margin-top: 18px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.06); }
.account-achievements-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.account-achievements-heading div > span { display: block; margin-bottom: 4px; color: #776b80; font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.account-achievements-heading div > strong { color: #eee7f2; font-family: var(--display); font-size: 22px; }
.account-achievements-heading > small { max-width: 240px; color: #74697c; font-size: 8px; line-height: 1.45; text-align: right; }
.achievement-summary { display: grid; grid-template-columns: minmax(160px,.45fr) minmax(0,1fr); gap: 10px; margin-bottom: 12px; }
.achievement-count, .achievement-next { min-width: 0; padding: 14px 16px; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; background: rgba(255,255,255,.022); }
.achievement-count { display: flex; align-items: center; gap: 11px; }
.achievement-count strong { color: #f0e7f5; font-family: var(--display); font-size: 25px; line-height: 1; }
.achievement-count span, .achievement-next span { color: #786b81; font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.achievement-next span { display: block; margin-bottom: 4px; }
.achievement-next strong { display: block; overflow: hidden; color: #cbbfd2; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.achievement-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.achievement-card { --achievement-accent: #b967ff; position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; min-width: 0; padding: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.055); border-radius: 17px; background: rgba(255,255,255,.018); }
.achievement-card[data-category="headshots"] { --achievement-accent: #ff68c8; }
.achievement-card[data-category="wins"] { --achievement-accent: #ffc966; }
.achievement-card[data-category="playtime"] { --achievement-accent: #6ee7ff; }
.achievement-card[data-tier="2"] { filter: saturate(1.05); }
.achievement-card[data-tier="3"] { filter: saturate(1.15); }
.achievement-card::after { content: ""; position: absolute; inset: auto -20% -65% 20%; height: 90px; background: radial-gradient(circle, color-mix(in srgb, var(--achievement-accent) 13%, transparent), transparent 66%); pointer-events: none; }
.achievement-card.is-unlocked { border-color: color-mix(in srgb, var(--achievement-accent) 24%, rgba(255,255,255,.06)); background: linear-gradient(145deg, color-mix(in srgb, var(--achievement-accent) 7%, rgba(255,255,255,.018)), rgba(255,255,255,.014)); box-shadow: inset 0 0 26px color-mix(in srgb, var(--achievement-accent) 5%, transparent); }
.achievement-card.is-locked { opacity: .62; }
.achievement-medal { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--achievement-accent) 20%, rgba(255,255,255,.08)); border-radius: 15px; color: var(--achievement-accent); background: radial-gradient(circle, color-mix(in srgb, var(--achievement-accent) 10%, transparent), rgba(255,255,255,.015)); }
.achievement-card.is-unlocked .achievement-medal { box-shadow: 0 0 22px color-mix(in srgb, var(--achievement-accent) 14%, transparent); }
.achievement-medal svg { width: 28px; height: 28px; fill: color-mix(in srgb, var(--achievement-accent) 18%, transparent); stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.achievement-medal svg .thin { fill: none; }
.achievement-copy { min-width: 0; }
.achievement-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.achievement-card-top strong { overflow: hidden; color: #ded5e4; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.achievement-card.is-unlocked .achievement-card-top strong { color: #f3edf6; }
.achievement-card-top span { flex: 0 0 auto; color: color-mix(in srgb, var(--achievement-accent) 82%, white); font-size: 7px; font-weight: 950; letter-spacing: .07em; }
.achievement-copy p { min-height: 30px; margin: 4px 0 9px; color: #746b79; font-size: 8px; line-height: 1.45; }
.achievement-track { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.055); }
.achievement-track i { display: block; height: 100%; border-radius: inherit; background: var(--achievement-accent); box-shadow: 0 0 9px color-mix(in srgb, var(--achievement-accent) 38%, transparent); }
.achievement-values { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; color: #6f6576; font-size: 7px; font-weight: 850; letter-spacing: .035em; }
.achievement-values span:last-child { text-align: right; }
.account-achievements .achievement-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.account-achievements .achievement-card { grid-template-columns: 42px minmax(0,1fr); padding: 12px; }
.account-achievements .achievement-medal { width: 42px; height: 42px; border-radius: 13px; }
.account-achievements .achievement-medal svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .achievement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) {
  .player-achievements-panel { padding: 20px; border-radius: 20px; }
  .achievement-summary { grid-template-columns: 1fr; }
  .achievement-grid, .account-achievements .achievement-grid { grid-template-columns: 1fr; }
  .account-achievements-heading { align-items: flex-start; flex-direction: column; }
  .account-achievements-heading > small { text-align: left; }
}

/* CS2_NEXT 3.1.0 — Seasons */
.season-strip {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.8fr);
  gap: 18px;
  margin: 22px 0 14px;
  padding: 18px 20px;
  border: 1px solid rgba(194, 61, 255, .18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(157,18,255,.13), transparent 45%),
    rgba(14,7,21,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.season-strip-main { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.season-strip-main > span,
.season-strip-stats span {
  color: #7f7188;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.season-strip-main > strong {
  margin-top: 4px;
  color: #f3ebf7;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -.035em;
}
.season-strip-main > small { margin-top: 3px; color: #81738a; font-size: 10px; }
.season-strip-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.season-strip-stats > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}
.season-strip-stats strong { margin-top: 4px; color: #e9dff0; font-size: 13px; }

.ranking-mode-tabs {
  display: inline-flex;
  gap: 5px;
  margin: 0 0 17px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}
.ranking-mode-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: #796d82;
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.ranking-mode-tabs button.is-active {
  color: #fff;
  background: linear-gradient(110deg, rgba(117,0,232,.75), rgba(194,61,255,.65));
  box-shadow: 0 8px 24px rgba(125,0,255,.18);
}
.ranking-mode-tabs button:disabled { opacity: .35; cursor: not-allowed; }

.account-season-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(194,61,255,.15);
  border-radius: 17px;
  background:
    radial-gradient(circle at 90% 0%, rgba(157,18,255,.12), transparent 50%),
    rgba(255,255,255,.018);
}
.account-season-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.account-season-head > div { display: flex; flex-direction: column; }
.account-season-head span { color: #7c6e85; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.account-season-head strong { margin-top: 3px; color: #f2eaf6; font-family: var(--display); font-size: 20px; }
.account-season-head small { color: #86788f; font-size: 9px; }
.account-season-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
.account-season-stats > div,
.player-season-grid > div {
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  background: rgba(255,255,255,.016);
}
.account-season-stats span,
.player-season-grid span { display: block; color: #716579; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.account-season-stats strong,
.player-season-grid strong { display: block; margin-top: 3px; color: #eee6f2; font-size: 14px; }
.account-season-reward,
.player-season-reward {
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: 11px;
  color: #d9c5e7;
  background: rgba(157,18,255,.07);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .035em;
  text-align: center;
}

.player-season-panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(194,61,255,.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(157,18,255,.12), transparent 48%),
    rgba(15,8,22,.76);
}
.player-season-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 16px; }

@media (max-width: 900px) {
  .season-strip { grid-template-columns: 1fr; }
  .account-season-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .player-season-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .season-strip { padding: 15px; border-radius: 17px; }
  .season-strip-stats { grid-template-columns: 1fr; }
  .ranking-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .account-season-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .account-season-stats,
  .player-season-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .player-season-panel { padding: 18px; border-radius: 19px; }
}


/* === CS2_NEXT 3.2.0: permanent season titles / hall of fame === */
.profile-season-title { margin-top: 7px; min-height: 24px; }
.season-title-chip { --season-title-accent: #b967ff; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--season-title-accent) 31%, rgba(255,255,255,.07)); border-radius: 999px; color: color-mix(in srgb, var(--season-title-accent) 82%, white); background: linear-gradient(120deg, color-mix(in srgb, var(--season-title-accent) 10%, rgba(10,5,15,.8)), rgba(255,255,255,.016)); box-shadow: inset 0 0 15px color-mix(in srgb, var(--season-title-accent) 5%, transparent), 0 0 18px color-mix(in srgb, var(--season-title-accent) 7%, transparent); font-size: 7px; font-weight: 950; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.season-title-chip.is-champion { --season-title-accent: #ffd76b; }
.season-title-chip.is-top3 { --season-title-accent: #ff72d2; }
.season-title-chip.is-top10 { --season-title-accent: #79dfff; }
.season-title-chip svg { width: 14px; height: 14px; flex: 0 0 auto; fill: color-mix(in srgb, var(--season-title-accent) 22%, transparent); stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.season-title-chip svg .line { fill: none; }
.season-title-chip.is-compact { padding: 4px 7px; font-size: 6.5px; }
.season-title-chip.is-compact svg { width: 12px; height: 12px; }
.leaderboard-identity .season-title-chip, .podium-copy .season-title-chip { align-self: flex-start; margin-top: 3px; }
.player-season-honors-panel { position: relative; padding: 26px; overflow: hidden; border: 1px solid rgba(255,215,107,.10); border-radius: 24px; background: linear-gradient(145deg, rgba(255,215,107,.028), rgba(185,103,255,.018) 48%, rgba(255,255,255,.012)); }
.player-season-honors-panel::after { content: ""; position: absolute; width: 300px; height: 180px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,107,.08), transparent 65%); pointer-events: none; }
.account-season-honors { margin-top: 18px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.06); }
.season-honors-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.055); border-radius: 17px; background: rgba(255,255,255,.018); }
.season-honors-summary > div { min-width: 0; }
.season-honors-summary span:not(.season-title-chip span) { display: block; color: #766a7d; font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.season-honors-summary strong { display: block; margin-top: 4px; overflow: hidden; color: #f1e9f5; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.season-honors-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.season-honor-card { --season-honor-accent: #79dfff; display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 11px; min-width: 0; padding: 13px; border: 1px solid color-mix(in srgb, var(--season-honor-accent) 16%, rgba(255,255,255,.055)); border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--season-honor-accent) 5%, rgba(255,255,255,.015)), rgba(255,255,255,.012)); }
.season-honor-card.is-champion { --season-honor-accent: #ffd76b; }
.season-honor-card.is-top3 { --season-honor-accent: #ff72d2; }
.season-honor-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid color-mix(in srgb, var(--season-honor-accent) 24%, rgba(255,255,255,.08)); border-radius: 14px; color: var(--season-honor-accent); background: radial-gradient(circle, color-mix(in srgb, var(--season-honor-accent) 10%, transparent), rgba(255,255,255,.012)); box-shadow: 0 0 20px color-mix(in srgb, var(--season-honor-accent) 8%, transparent); }
.season-honor-icon svg { width: 28px; height: 28px; fill: color-mix(in srgb, var(--season-honor-accent) 20%, transparent); stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.season-honor-icon svg .line { fill: none; }
.season-honor-copy { min-width: 0; }
.season-honor-copy > span { display: block; color: color-mix(in srgb, var(--season-honor-accent) 72%, #8a7d91); font-size: 7px; font-weight: 950; letter-spacing: .08em; }
.season-honor-copy > strong { display: block; margin-top: 3px; overflow: hidden; color: #eee6f2; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.season-honor-copy > small { display: block; margin-top: 4px; color: #786d80; font-size: 7.5px; line-height: 1.4; }
.season-honors-empty { display: grid; gap: 5px; padding: 17px; border: 1px dashed rgba(185,103,255,.16); border-radius: 17px; background: rgba(185,103,255,.018); }
.season-honors-empty strong { color: #c9bdcf; font-size: 11px; }
.season-honors-empty span { color: #786c80; font-size: 8px; line-height: 1.5; }
@media (max-width: 900px) { .season-honors-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .player-season-honors-panel { padding: 18px; border-radius: 19px; } .season-honors-summary { align-items: flex-start; flex-direction: column; } .season-honors-grid { grid-template-columns: 1fr; } }

/* CS2_NEXT 3.4.0 — Store & cosmetics */
.cosmetic-title-chip {
  --cosmetic-accent: #a855f7;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--cosmetic-accent) 42%, transparent);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cosmetic-accent) 18%, #09050f), rgba(255,255,255,.025));
  box-shadow: inset 0 0 20px color-mix(in srgb, var(--cosmetic-accent) 9%, transparent), 0 0 22px color-mix(in srgb, var(--cosmetic-accent) 8%, transparent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
}
.cosmetic-title-chip i { color: var(--cosmetic-accent); font-style: normal; font-size: 11px; text-shadow: 0 0 10px var(--cosmetic-accent); }
.cosmetic-title-chip b { font: inherit; }
.cosmetic-title-chip.is-compact { min-height: 22px; padding: 3px 8px; gap: 5px; font-size: 7px; }
.cosmetic-title-chip.is-compact i { font-size: 9px; }
.profile-cosmetic-title { display: flex; margin-top: 7px; }
.podium-copy > .cosmetic-title-chip,
.leaderboard-identity .cosmetic-title-chip { margin-top: 5px; }

.shop-page { min-height: 100vh; }
.shop-main { padding: 132px 0 84px; }
.shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: end;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(157,18,255,.12), rgba(13,7,20,.82) 55%, rgba(238,79,255,.05));
  box-shadow: var(--shadow-purple);
}
.shop-hero::after { content:""; position:absolute; width:260px; height:260px; right:-70px; top:-100px; border-radius:50%; background:rgba(194,61,255,.18); filter:blur(80px); }
.shop-hero h1 { position:relative; z-index:1; margin: 8px 0 12px; max-width: 720px; font-family: var(--display); font-size: clamp(42px, 7vw, 84px); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.shop-hero p { position:relative; z-index:1; max-width: 720px; margin:0; color: var(--muted); font-size: 15px; }
.shop-hero-mark { position:relative; z-index:1; min-width:150px; color:#746980; font-family:var(--display); font-size:12px; letter-spacing:.12em; text-align:right; }
.shop-hero-mark strong { display:block; color:#dca7ff; font-size:46px; letter-spacing:-.05em; }
.section-eyebrow { color:#bd70ee; font-size:9px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }

.shop-season-note { display:grid; grid-template-columns:56px minmax(0,1fr); gap:16px; align-items:center; margin-top:18px; padding:18px 22px; border:1px solid rgba(255,191,75,.16); border-radius:18px; background:rgba(255,191,75,.035); }
.shop-season-icon { display:grid; place-items:center; width:52px; height:52px; border-radius:15px; background:rgba(255,191,75,.08); font-size:24px; }
.shop-season-note span { display:block; color:#d5a34a; font-size:8px; font-weight:900; letter-spacing:.13em; }
.shop-season-note strong { display:block; margin-top:3px; color:#f3e4c8; font-size:14px; }
.shop-season-note small { display:block; margin-top:4px; color:#8b7c68; font-size:10px; }

.shop-status-bar { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:22px; margin-top:18px; padding:16px 20px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.018); }
.shop-status-bar > div span { display:block; color:#716579; font-size:7px; font-weight:900; letter-spacing:.13em; }
.shop-status-bar > div strong { display:block; margin-top:2px; color:#d8cadf; font-size:10px; }
.shop-status-bar p { margin:0; color:#897d91; font-size:10px; line-height:1.45; }
.shop-auth-state { display:inline-flex; align-items:center; min-height:28px; padding:0 10px; border:1px solid rgba(255,101,118,.2); border-radius:999px; color:#ff8794; background:rgba(255,101,118,.05); font-size:7px; font-weight:900; letter-spacing:.08em; }
.shop-auth-state.is-online { border-color:rgba(82,239,171,.2); color:#75eab8; background:rgba(82,239,171,.05); }

.shop-catalog-section, .shop-account-panel { margin-top:54px; }
.shop-section-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:18px; }
.shop-section-head h2 { margin:4px 0 0; font-family:var(--display); font-size:clamp(28px,4vw,46px); letter-spacing:-.035em; text-transform:uppercase; }
.shop-section-head small, .shop-section-head > a { color:#8d7c99; font-size:10px; }
.shop-section-head > a:hover { color:#dba8ff; }
.shop-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.shop-card { --shop-accent:#a855f7; position:relative; overflow:hidden; display:flex; flex-direction:column; min-height:360px; padding:22px; border:1px solid color-mix(in srgb,var(--shop-accent) 22%,rgba(255,255,255,.07)); border-radius:22px; background:linear-gradient(160deg,color-mix(in srgb,var(--shop-accent) 8%,#0d0812),rgba(10,6,15,.92)); }
.shop-card::after { content:""; position:absolute; width:140px; height:140px; right:-55px; top:-55px; border-radius:50%; background:color-mix(in srgb,var(--shop-accent) 18%,transparent); filter:blur(45px); }
.shop-card.is-featured { box-shadow:0 16px 50px color-mix(in srgb,var(--shop-accent) 10%,transparent); }
.shop-card-top { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; }
.shop-card-icon { display:grid; place-items:center; width:48px; height:48px; border:1px solid color-mix(in srgb,var(--shop-accent) 35%,transparent); border-radius:15px; color:var(--shop-accent); background:color-mix(in srgb,var(--shop-accent) 10%,transparent); font-size:20px; text-shadow:0 0 14px var(--shop-accent); }
.shop-card-top small { color:#7d7086; font-size:7px; font-weight:900; letter-spacing:.14em; }
.shop-card h3 { position:relative; z-index:1; margin:24px 0 10px; color:#f4edf7; font-family:var(--display); font-size:22px; line-height:1.05; }
.shop-card-preview { position:relative; z-index:1; min-height:34px; }
.shop-card p { position:relative; z-index:1; flex:1; margin:16px 0 22px; color:#91859a; font-size:11px; line-height:1.55; }
.shop-card-footer { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.shop-card-footer > strong { color:#fff; font-family:var(--display); font-size:20px; }
.shop-card-footer .button:disabled { opacity:.5; cursor:not-allowed; }
.shop-empty { padding:26px; border:1px dashed var(--line); border-radius:18px; color:var(--muted); text-align:center; }
.shop-owned-grid { display:grid; gap:9px; }
.shop-owned-item { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 15px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.018); }

.account-shop-panel { margin-top: 22px; padding: 20px; border:1px solid rgba(194,61,255,.14); border-radius:20px; background:rgba(157,18,255,.025); }
.account-shop-panel .account-achievements-heading a { color:#bd70ee; font-size:9px; font-weight:800; }
.account-shop-active { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:14px; padding:13px 14px; border:1px solid rgba(255,255,255,.07); border-radius:13px; background:rgba(255,255,255,.02); }
.account-shop-active > span { color:#746a7b; font-size:7px; font-weight:900; letter-spacing:.12em; }
.account-shop-owned { display:grid; gap:8px; margin-top:10px; }
.account-shop-item { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 12px; border:1px solid rgba(255,255,255,.055); border-radius:12px; background:rgba(255,255,255,.015); }
.account-shop-empty { margin:0; padding:12px; color:#84798d; font-size:10px; }
.account-shop-orders { display:grid; gap:7px; margin-top:14px; }
.account-shop-orders > strong { margin-bottom:2px; color:#887b91; font-size:8px; letter-spacing:.1em; text-transform:uppercase; }
.account-shop-order { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 11px; border-radius:11px; background:rgba(255,255,255,.018); }
.account-shop-order > div { display:flex; flex-direction:column; min-width:0; }
.account-shop-order b { overflow:hidden; color:#ddd4e2; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.account-shop-order small { color:#716678; font-size:8px; }
.account-shop-order > span { color:#ffbf4b; font-size:7px; font-weight:900; letter-spacing:.08em; }
.account-shop-order.is-approved > span { color:#6ee9b4; }
.account-shop-order.is-declined > span { color:#ff8290; }

@media (max-width: 1050px) { .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) {
  .shop-main { padding-top:110px; }
  .shop-hero { grid-template-columns:1fr; padding:26px 22px; }
  .shop-hero-mark { text-align:left; }
  .shop-status-bar { grid-template-columns:1fr; gap:10px; }
  .shop-grid { grid-template-columns:1fr; }
  .shop-section-head { align-items:flex-start; flex-direction:column; }
  .shop-season-note { grid-template-columns:42px minmax(0,1fr); padding:15px; }
  .shop-season-icon { width:42px; height:42px; font-size:18px; }
  .shop-owned-item, .account-shop-item { align-items:flex-start; flex-direction:column; }
}

/* CS2_NEXT 3.5.2 — legal / Robokassa review pages */
.footer-inner-legal { display:grid; grid-template-columns:auto minmax(240px,1fr) minmax(280px,auto) auto; gap:22px; align-items:center; }
.footer-legal-copy { min-width:0; }
.footer-legal-copy p { margin:0; }
.footer-legal-copy small { display:block; margin-top:5px; color:#756a7d; font-size:8px; line-height:1.5; }
.footer-legal-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 12px; }
.footer-legal-links .footer-admin-link { white-space:nowrap; }

.legal-page { min-height:100vh; }
.legal-main { padding:132px 0 70px; }
.legal-shell { max-width:1040px; }
.legal-hero { position:relative; overflow:hidden; padding:36px 38px; border:1px solid var(--line-strong); border-radius:28px; background:linear-gradient(135deg,rgba(157,18,255,.11),rgba(13,7,20,.86) 58%,rgba(238,79,255,.035)); box-shadow:var(--shadow-purple); }
.legal-hero::after { content:""; position:absolute; width:240px; height:240px; right:-80px; top:-110px; border-radius:50%; background:rgba(189,67,255,.16); filter:blur(72px); pointer-events:none; }
.legal-hero h1 { position:relative; z-index:1; margin:7px 0 10px; max-width:850px; font-family:var(--display); font-size:clamp(38px,6vw,72px); line-height:.96; letter-spacing:-.045em; text-transform:uppercase; }
.legal-hero p { position:relative; z-index:1; margin:0; color:#82758b; font-size:10px; }
.legal-warning { margin-top:16px; padding:14px 17px; border:1px solid rgba(255,191,75,.25); border-radius:14px; color:#d9b06c; background:rgba(255,191,75,.055); font-size:10px; line-height:1.55; }
.legal-warning code { color:#f2d09a; }
.legal-document { display:grid; gap:14px; margin-top:24px; }
.legal-document > section { padding:24px 26px; border:1px solid rgba(255,255,255,.065); border-radius:19px; background:rgba(255,255,255,.017); }
.legal-document h2 { margin:0 0 11px; color:#efe7f4; font-family:var(--display); font-size:20px; letter-spacing:-.01em; }
.legal-document p { margin:0; color:#a092aa; font-size:12px; line-height:1.75; }
.legal-document p + p { margin-top:10px; }
.legal-document ul { display:grid; gap:8px; margin:0; padding-left:19px; color:#a092aa; font-size:12px; line-height:1.65; }
.legal-document a { color:#ca83f8; text-decoration:underline; text-decoration-color:rgba(202,131,248,.3); text-underline-offset:3px; }
.legal-requisites { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; }
.legal-requisites > div { padding:12px 14px; border:1px solid rgba(255,255,255,.055); border-radius:12px; background:rgba(255,255,255,.015); }
.legal-requisites dt { color:#6f6378; font-size:7px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.legal-requisites dd { margin:4px 0 0; color:#ddd4e2; font-size:11px; overflow-wrap:anywhere; }
.legal-doc-nav { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.legal-doc-nav a { padding:9px 12px; border:1px solid rgba(185,103,255,.13); border-radius:999px; color:#9b87a7; background:rgba(185,103,255,.025); font-size:9px; font-weight:800; }
.legal-doc-nav a:hover { color:#e1baf8; border-color:rgba(185,103,255,.3); }
.legal-site-footer { margin-top:18px; }
.legal-footer-grid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:22px; align-items:center; padding-top:26px; padding-bottom:26px; }
.legal-footer-grid strong { color:#e8dfee; font-family:var(--display); letter-spacing:.04em; }
.legal-footer-grid p { margin:6px 0 0; color:#74687c; font-size:9px; }
.legal-footer-grid nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 14px; }
.legal-footer-grid nav a { color:#8b7a95; font-size:9px; }
.legal-footer-grid nav a:hover { color:#d69bfb; }
.shop-legal-footer { margin-top:12px; }

@media (max-width: 980px) {
  .footer-inner-legal { grid-template-columns:auto minmax(0,1fr) auto; }
  .footer-legal-links { grid-column:1 / -1; justify-content:flex-start; }
}
@media (max-width: 700px) {
  .legal-main { padding-top:108px; }
  .legal-hero { padding:26px 22px; border-radius:22px; }
  .legal-document > section { padding:20px 18px; }
  .legal-requisites { grid-template-columns:1fr; }
  .legal-footer-grid { grid-template-columns:1fr; }
  .legal-footer-grid nav { justify-content:flex-start; }
  .footer-inner-legal { grid-template-columns:1fr auto; align-items:start; }
  .footer-brand { grid-column:1 / 2; }
  .footer-legal-copy { grid-column:1 / -1; }
  .footer-legal-links { grid-column:1 / -1; }
  .legal-header-actions .button-ghost { display:none; }
}
