:root {
  --ink: #f7f3e8;
  --muted: #b7b0a4;
  --bg: #0d0f0d;
  --panel: rgba(20, 22, 19, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --gold: #f0a400;
  --gold-hot: #ffd36a;
  --green: #87a86b;
  --red: #b64731;
  --steel: #77828a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(135, 168, 107, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(182, 71, 49, 0.18), transparent 24rem),
    linear-gradient(180deg, #090a09 0%, #131510 48%, #0d0f0d 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body::selection {
  background: var(--gold);
  color: #17130a;
}

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

.grain {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 4px 4px;
  inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.28;
  pointer-events: none;
  position: fixed;
  z-index: 5;
}

.site-header {
  backdrop-filter: blur(18px);
  background:
    linear-gradient(135deg, rgba(19, 12, 23, 0.94), rgba(11, 10, 12, 0.96)),
    #100d13;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 5px solid rgba(36, 53, 54, 0.8);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 200ms ease, background 200ms ease;
  z-index: 20;
}

.site-header::before {
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.035) 36% 38%, transparent 38%),
    linear-gradient(80deg, transparent 0 72%, rgba(240, 164, 0, 0.08) 72% 73%, transparent 73%);
  content: "";
  inset: 0;
  opacity: 0.85;
  pointer-events: none;
  position: absolute;
}

.site-header.is-scrolled {
  background:
    linear-gradient(135deg, rgba(14, 10, 17, 0.98), rgba(8, 8, 9, 0.98)),
    #0b090d;
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.52);
}

.utility-bar,
.main-nav {
  margin: 0 auto;
  max-width: 1280px;
  position: relative;
  width: min(100%, 1280px);
  z-index: 1;
}

.utility-bar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  min-height: 3.1rem;
  padding-left: clamp(1rem, 4vw, 2rem);
}

.utility-links {
  align-items: stretch;
  display: flex;
  margin-left: auto;
}

.utility-links a,
.utility-divider {
  align-items: center;
  display: inline-flex;
  min-height: 3.1rem;
}

.social-cluster {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  padding: 0 0.65rem;
}

.social-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 950;
  height: 1.55rem;
  justify-content: center;
  line-height: 1;
  min-height: 0;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 1.55rem;
}

.utility-links .social-link {
  min-height: 0;
}

.social-link:hover {
  background: rgba(240, 164, 0, 0.12);
  border-color: rgba(240, 164, 0, 0.65);
  color: var(--gold-hot);
  transform: translateY(-1px);
}

.social-facebook {
  font-size: 0.9rem;
  text-transform: none;
}

.social-youtube {
  color: #ffdf8a;
}

.social-x {
  font-size: 0.78rem;
}

.utility-divider {
  color: var(--gold);
  justify-content: center;
  width: 1.1rem;
}

.utility-divider::before {
  background: var(--gold);
  content: "";
  height: 1.25rem;
  width: 2px;
}

.mail-link {
  color: var(--muted);
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 1rem;
}

.mail-icon,
.user-icon,
.search-icon {
  display: inline-block;
  position: relative;
}

.mail-icon {
  border: 2px solid var(--gold);
  height: 0.72rem;
  width: 0.9rem;
}

.mail-icon::before {
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  content: "";
  height: 0.38rem;
  left: 0.12rem;
  position: absolute;
  top: -0.02rem;
  transform: rotate(-45deg);
  width: 0.48rem;
}

.login-button {
  background: var(--gold);
  justify-content: center;
  width: 3.55rem;
}

.user-icon {
  background: #0f0d0e;
  border-radius: 50%;
  height: 0.58rem;
  width: 0.58rem;
}

.user-icon::after {
  background: #0f0d0e;
  border-radius: 999px 999px 0 0;
  content: "";
  height: 0.52rem;
  left: -0.22rem;
  position: absolute;
  top: 0.62rem;
  width: 1.02rem;
}

.logout-button {
  background: rgba(0, 0, 0, 0.48);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  justify-content: center;
  padding: 0 1.35rem;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(12rem, 1fr) auto auto;
  min-height: 6rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 0;
}

.brand-logo {
  display: block;
  filter: drop-shadow(0 0 18px rgba(240, 164, 0, 0.18));
  height: 4.25rem;
  max-width: min(34vw, 15rem);
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.footer-logo {
  height: 2.8rem;
  max-width: min(60vw, 16rem);
}

.desktop-nav {
  display: flex;
  gap: clamp(1.35rem, 3vw, 2.6rem);
}

.desktop-nav a {
  color: #d6d0c7;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.desktop-nav a:hover {
  color: var(--gold-hot);
}

.search-button {
  align-items: center;
  background: rgba(6, 6, 7, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-flex;
  height: 3.4rem;
  justify-content: center;
  transition: background 180ms ease, transform 180ms ease;
  width: 3.9rem;
}

.search-button:hover {
  background: rgba(20, 16, 21, 0.96);
  transform: translateY(-2px);
}

.search-icon {
  border: 3px solid var(--gold);
  border-radius: 50%;
  height: 1rem;
  width: 1rem;
}

.search-icon::after {
  background: var(--gold);
  bottom: -0.35rem;
  content: "";
  height: 0.52rem;
  position: absolute;
  right: -0.22rem;
  transform: rotate(-45deg);
  width: 3px;
}

.button:hover {
  box-shadow: 0 0 34px rgba(240, 164, 0, 0.24);
  transform: translateY(-2px);
}

.section-band {
  position: relative;
}

.hero {
  align-items: center;
  display: grid;
  min-height: 96vh;
  overflow: hidden;
  padding: 14rem max(1.25rem, calc((100vw - 1160px) / 2)) 4rem;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.88), rgba(9, 10, 9, 0.4) 42%, rgba(9, 10, 9, 0.82)),
    linear-gradient(0deg, rgba(9, 10, 9, 0.96), transparent 38%),
    url("assets/hero-codbase.png") center / cover;
  filter: saturate(1.08) contrast(1.08);
  inset: 0;
  position: absolute;
  transform: scale(1.05);
  z-index: -3;
}

.hero-smoke {
  animation: drift 12s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at 28% 46%, rgba(255, 255, 255, 0.13), transparent 22rem),
    radial-gradient(circle at 72% 24%, rgba(240, 164, 0, 0.15), transparent 18rem),
    radial-gradient(circle at 54% 80%, rgba(135, 168, 107, 0.16), transparent 26rem);
  filter: blur(18px);
  inset: -12%;
  opacity: 0.7;
  position: absolute;
  z-index: -2;
}

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

.hero-dots {
  animation: shimmerDrift 18s linear infinite;
  background-image:
    radial-gradient(circle, rgba(255, 211, 106, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px);
  background-position: 0 0, 42px 64px;
  background-size: 120px 120px, 180px 180px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 82%, transparent);
  opacity: 0.34;
  z-index: -1;
}

.hero-dots::before {
  animation: shimmerFloat 10s ease-in-out infinite alternate;
  background-image:
    radial-gradient(circle, rgba(240, 164, 0, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(135, 168, 107, 0.46) 0 1px, transparent 2px);
  background-position: 34px 24px, 90px 110px;
  background-size: 210px 210px, 260px 260px;
  filter: blur(0.2px);
  opacity: 0.68;
}

.hero-dots::after {
  animation: shimmerPulse 4.5s ease-in-out infinite;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px);
  background-position: 12px 82px;
  background-size: 310px 310px;
  opacity: 0.38;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.3rem, 9vw, 7.8rem);
  letter-spacing: 0;
  line-height: 0.82;
  margin-bottom: 1.25rem;
  max-width: 890px;
  text-transform: uppercase;
}

.hero-line {
  display: block;
}

.hero-typing-line {
  min-height: 0.9em;
}

.typing-word {
  color: var(--gold);
  display: inline-block;
  text-shadow: 0 0 26px rgba(240, 164, 0, 0.28);
}

.typing-cursor {
  animation: cursorBlink 800ms steps(1) infinite;
  background: var(--gold);
  display: inline-block;
  height: 0.72em;
  margin-left: 0.06em;
  transform: translateY(0.08em);
  width: 0.07em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 0;
  max-width: 780px;
  text-transform: uppercase;
}

h3 {
  font-size: 1.04rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  color: #ddd6ca;
  font-size: clamp(1rem, 1.6vw, 1.23rem);
  line-height: 1.7;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 950;
  min-height: 3.1rem;
  overflow: hidden;
  padding: 0 1.2rem;
  position: relative;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button::before {
  background: rgba(255, 255, 255, 0.2);
  content: "";
  height: 5rem;
  left: -4rem;
  position: absolute;
  top: -1rem;
  transform: rotate(18deg);
  transition: left 300ms ease;
  width: 1.4rem;
}

.button:hover::before {
  left: calc(100% + 2rem);
}

.button-primary {
  background: var(--gold);
  color: #151109;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.mission-panel {
  backdrop-filter: blur(16px);
  background: rgba(11, 12, 11, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.15);
  bottom: 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  position: absolute;
  right: max(1.25rem, calc((100vw - 1160px) / 2));
  width: min(720px, calc(100% - 2.5rem));
}

.mission-panel div {
  background: rgba(255, 255, 255, 0.045);
  padding: 1.1rem;
}

.mission-panel span {
  color: var(--muted);
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mission-panel strong {
  color: var(--gold-hot);
  display: block;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
  margin-top: 0.4rem;
}

.intro,
.tournaments,
.video-feature,
.news,
.server-strip {
  padding: 7rem max(1.25rem, calc((100vw - 1160px) / 2));
}

.section-heading {
  margin-bottom: 3rem;
}

.intro-grid,
.news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.intro-card,
.news-card,
.current-event,
.event-panel,
.server-rack {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-card {
  min-height: 320px;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.intro-card::before {
  background: linear-gradient(135deg, rgba(240, 164, 0, 0.26), transparent 44%);
  content: "";
  height: 11rem;
  position: absolute;
  right: -4rem;
  top: -4rem;
  transform: rotate(16deg);
  width: 11rem;
}

.icon-box {
  border: 2px solid rgba(255, 255, 255, 0.72);
  display: block;
  height: 3.2rem;
  margin-bottom: 4rem;
  position: relative;
  width: 3.2rem;
}

.trophy-icon::before,
.shield-icon::before,
.server-icon::before {
  background: var(--gold);
  content: "";
  inset: 0.75rem;
  position: absolute;
}

.trophy-icon::before {
  clip-path: polygon(20% 18%, 80% 18%, 72% 58%, 58% 58%, 58% 75%, 72% 75%, 72% 86%, 28% 86%, 28% 75%, 42% 75%, 42% 58%, 28% 58%);
}

.shield-icon::before {
  clip-path: polygon(50% 8%, 82% 20%, 76% 70%, 50% 92%, 24% 70%, 18% 20%);
}

.server-icon::before {
  clip-path: polygon(12% 22%, 88% 22%, 88% 42%, 12% 42%, 12% 58%, 88% 58%, 88% 78%, 12% 78%);
}

.intro-card p,
.event-row p,
.current-event p,
.news-body p,
.server-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.tournaments {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.025);
}

.events-layout {
  align-items: stretch;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.current-event {
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.current-event::before {
  background:
    linear-gradient(135deg, rgba(240, 164, 0, 0.22), transparent 45%),
    radial-gradient(circle at 80% 16%, rgba(255, 211, 106, 0.18), transparent 14rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.current-event > * {
  position: relative;
  z-index: 1;
}

.event-status,
.event-date,
.event-row > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-status {
  background: rgba(240, 164, 0, 0.12);
  border: 1px solid rgba(240, 164, 0, 0.35);
  justify-self: start;
  padding: 0.5rem 0.65rem;
}

.event-main h3 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 0.95;
  margin: 0.5rem 0 1rem;
}

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

.event-meta-grid div {
  background: rgba(255, 255, 255, 0.052);
  padding: 1rem;
}

.event-meta-grid span,
.event-result span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-meta-grid strong {
  color: var(--ink);
  display: block;
  font-size: 1.1rem;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

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

.event-panel {
  overflow: hidden;
}

.event-panel-head {
  background:
    linear-gradient(90deg, rgba(240, 164, 0, 0.12), transparent),
    rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem;
}

.event-panel-head .eyebrow,
.event-panel-head h3 {
  margin-bottom: 0;
}

.event-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 1rem;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  padding: 1rem 1.1rem;
}

.event-row:last-child,
.event-result:last-child {
  border-bottom: 0;
}

.event-row time {
  color: var(--gold-hot);
  font-size: 0.85rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-row h4 {
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.event-row p {
  margin: 0;
}

.event-row > span {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-hot);
  padding: 0.45rem 0.58rem;
}

.event-result {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 1.1rem;
}

.event-result strong {
  text-transform: uppercase;
}

.news-card {
  overflow: hidden;
  transform-style: preserve-3d;
}

.news-media {
  aspect-ratio: 1.45;
  background-color: #171914;
  overflow: hidden;
  position: relative;
}

.news-media::before {
  content: "";
  inset: 0;
  position: absolute;
}

.medal-media::before {
  background:
    radial-gradient(circle at 32% 54%, #d8b65f 0 13%, transparent 14%),
    radial-gradient(circle at 55% 48%, #f1cc76 0 14%, transparent 15%),
    linear-gradient(135deg, #ebedee 0 12%, #263144 13% 24%, #f6f2e8 25% 38%, #1b2432 39% 52%, #f0a400 53% 100%);
}

.cup-media::before {
  background:
    linear-gradient(90deg, transparent 22%, rgba(240, 164, 0, 0.95) 22% 62%, transparent 62%),
    radial-gradient(circle at 48% 45%, rgba(255, 255, 255, 0.62), transparent 9rem),
    url("assets/hero-codbase.png") center / cover;
  filter: contrast(1.1);
}

.server-media::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 25% 25%, rgba(135, 168, 107, 0.7), transparent 13rem),
    linear-gradient(135deg, #222720, #090a09);
}

.news-body {
  padding: 1.4rem;
}

.news-body span {
  color: var(--gold);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.news-body a {
  color: var(--gold-hot);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.video-feature {
  background:
    radial-gradient(circle at 70% 20%, rgba(240, 164, 0, 0.12), transparent 20rem),
    rgba(255, 255, 255, 0.018);
}

.video-shell {
  background:
    linear-gradient(135deg, rgba(240, 164, 0, 0.12), transparent 34%),
    rgba(9, 10, 9, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0.7rem;
  position: relative;
}

.video-shell::before {
  background: var(--gold);
  content: "";
  height: 0.28rem;
  left: 0.7rem;
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  z-index: 1;
}

.video-shell iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  width: 100%;
}

.video-fallback {
  align-items: center;
  background: rgba(0, 0, 0, 0.42);
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.82rem;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.2rem;
}

.video-fallback a {
  color: var(--gold-hot);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.server-strip {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.82fr 1.18fr;
}

.server-monitor,
.all-servers {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.server-monitor-head,
.all-servers-head {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(240, 164, 0, 0.12), transparent),
    rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.1rem;
}

.server-monitor-head span,
.all-servers-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.server-monitor-head strong {
  color: var(--gold-hot);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.server-rack,
.server-table {
  display: grid;
  gap: 1px;
  padding: 1px;
}

.server-rack article,
.server-table article {
  align-items: center;
  background: rgba(255, 255, 255, 0.052);
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.9rem minmax(0, 1fr) auto;
  padding: 1rem;
}

.server-rack article:hover,
.server-table article:hover {
  background: rgba(255, 255, 255, 0.082);
}

.server-rack strong,
.server-table strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-rack small,
.server-table small {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot {
  animation: blink 1.4s ease-in-out infinite;
  background: #74d680;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(116, 214, 128, 0.78);
  height: 0.72rem;
  width: 0.72rem;
}

.status-dot.idle {
  animation: none;
  background: #6f7476;
  box-shadow: 0 0 12px rgba(111, 116, 118, 0.35);
}

.status-dot.voice {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(240, 164, 0, 0.76);
}

.server-rack em,
.server-table em {
  color: var(--ink);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.watch-toggle {
  background: var(--gold);
  border: 0;
  color: #151109;
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 950;
  min-height: 3.4rem;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
  width: 100%;
}

.watch-toggle:hover {
  background: var(--gold-hot);
}

.watch-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-hot);
}

.all-servers {
  grid-column: 1 / -1;
}

.all-servers[hidden] {
  display: none;
}

.all-servers.is-open {
  animation: panelDrop 260ms ease both;
}

.all-servers-head .eyebrow {
  margin-bottom: 0.25rem;
}

.all-servers-head h3 {
  margin-bottom: 0;
}

.server-table article {
  grid-template-columns: 0.9rem minmax(10rem, 1fr) minmax(7rem, 0.6fr) auto auto;
}

.server-table article.has-players {
  background:
    linear-gradient(90deg, rgba(116, 214, 128, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.058);
}

.server-table article.voice-server {
  background:
    linear-gradient(90deg, rgba(240, 164, 0, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.052);
}

.server-table b {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-hot);
  font-size: 0.68rem;
  padding: 0.48rem 0.62rem;
  text-transform: uppercase;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(20, 13, 23, 0.98), rgba(8, 8, 9, 0.98)),
    #09080a;
  border-top: 5px solid rgba(36, 53, 54, 0.85);
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: 3.5rem max(1.25rem, calc((100vw - 1160px) / 2)) 1.4rem;
  position: relative;
}

.site-footer::before {
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, 0.035) 30% 32%, transparent 32%),
    radial-gradient(circle at 12% 20%, rgba(240, 164, 0, 0.14), transparent 18rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.footer-main,
.partners-block,
.footer-nav,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.footer-main p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 430px;
  text-align: right;
}

.footer-social {
  justify-content: flex-end;
  padding: 0;
}

.footer-social .social-link {
  height: 2rem;
  width: 2rem;
}

.partners-block {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(13rem, 0.55fr) 1fr;
  padding: 1.8rem 0;
}

.partners-block h2 {
  font-size: clamp(1.4rem, 3vw, 2.7rem);
  max-width: 420px;
}

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

.partner-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(240, 164, 0, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  min-height: 8.2rem;
  padding: 1.3rem;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.partner-card:hover {
  background:
    linear-gradient(135deg, rgba(240, 164, 0, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.065);
  border-color: rgba(240, 164, 0, 0.45);
  transform: translateY(-2px);
}

.partner-card img {
  display: block;
  filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.45));
  max-height: 5.7rem;
  max-width: 100%;
  object-fit: contain;
}

.partner-card-wide img {
  max-height: 6.6rem;
}

.footer-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.6rem);
  justify-content: center;
  padding: 1.25rem 0;
}

.footer-nav a {
  color: #d6d0c7;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--gold-hot);
}

.footer-bottom {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
}

.footer-bottom a {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes drift {
  from {
    transform: translate3d(-2%, 1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, -1%, 0) scale(1.05);
  }
}

@keyframes shimmerDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-120px, -80px, 0);
  }
}

@keyframes shimmerFloat {
  from {
    transform: translate3d(-1.5rem, 1rem, 0);
  }

  to {
    transform: translate3d(1.5rem, -1rem, 0);
  }
}

@keyframes shimmerPulse {
  50% {
    opacity: 0.72;
  }
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

@keyframes scan {
  to {
    top: 100%;
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.16);
  }
}

@keyframes blink {
  50% {
    opacity: 0.45;
  }
}

@keyframes panelDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .desktop-nav {
    display: none;
  }

  .utility-spacer,
  .logout-button {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding-top: 11rem;
  }

  .mission-panel,
  .intro-grid,
  .events-layout,
  .news-grid,
  .server-strip {
    grid-template-columns: 1fr;
  }

  .mission-panel {
    margin-top: 3rem;
    position: relative;
    right: auto;
    width: 100%;
  }

  .intro,
  .tournaments,
  .video-feature,
  .news,
  .server-strip {
    padding-bottom: 4.5rem;
    padding-top: 4.5rem;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main p {
    max-width: 100%;
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .partners-block {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .main-nav {
    grid-template-columns: 1fr auto;
    min-height: 5rem;
  }

  .server-table article {
    grid-template-columns: 0.9rem minmax(0, 1fr) auto;
  }

  .server-table small,
  .server-table b {
    grid-column: 2 / -1;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: 100%;
  }

  .brand-logo {
    height: 3rem;
    max-width: 10.5rem;
  }

  .mail-link {
    font-size: 0;
    padding: 0 0.7rem;
  }

  .social-cluster {
    gap: 0.22rem;
    padding: 0 0.45rem;
  }

  .utility-links .social-link {
    height: 1.35rem;
    width: 1.35rem;
  }

  .hero-actions,
  .video-fallback,
  .footer-nav,
  .footer-bottom {
    flex-direction: column;
  }

  .mission-panel {
    grid-template-columns: 1fr;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .event-result {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-dots,
  .hero-dots::before,
  .hero-dots::after {
    animation: none !important;
  }

  .typing-cursor {
    animation: none !important;
  }
}
