:root {
  --2dx-black: #0a0a0a;
  --2dx-graphite: #16191a;
  --2dx-blue: #7eb8ff;
  --2dx-blue-rgb: 126, 184, 255;
  --2dx-btn-top: #007bff;
  --2dx-btn-bottom: #003399;
  --2dx-silver: #c0c0c0;
  --2dx-white: #ffffff;
  --header-h: 4rem;
  --header-accent-h: 2px;
  --header-measured-h: var(--header-h);
  --header-total-h: calc(var(--header-measured-h) + env(safe-area-inset-top, 0px));
  --hero-viewport-h: calc(100svh - var(--header-total-h));
  --container-pad: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(2rem, 6vw, 4rem);
  --hero-pad-top: clamp(0.5rem, 1.8vh, 1.25rem);
  --2dx-line-faint: rgba(var(--2dx-blue-rgb), 0.1);
  --2dx-line: rgba(var(--2dx-blue-rgb), 0.18);
  --2dx-line-accent: rgba(var(--2dx-blue-rgb), 0.42);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--2dx-black);
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--2dx-black);
  color: var(--2dx-white);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* ——— Page transitions ——— */
/* GSAP leave/enter in page-transitions.js — disable cross-document VT to avoid AbortError */
@view-transition {
  navigation: none;
}

.site-header {
  view-transition-name: site-header;
}

.site-main {
  view-transition-name: site-main;
}

.site-footer {
  view-transition-name: site-footer;
}

::view-transition-old(site-main),
::view-transition-new(site-main) {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(site-main) {
  animation-name: page-vt-out;
}

::view-transition-new(site-main) {
  animation-name: page-vt-in;
}

::view-transition-old(site-footer),
::view-transition-new(site-footer) {
  animation-duration: 0.38s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(site-footer) {
  animation-name: page-vt-out;
}

::view-transition-new(site-footer) {
  animation-name: page-vt-in;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
  mix-blend-mode: normal;
}

@keyframes page-vt-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes page-vt-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes page-block-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.page-is-loading .site-main > *,
body.page-is-loading .site-footer,
body.page-is-loading .site-header {
  opacity: 0;
}

body.logo-loader-active {
  overflow: hidden;
}

body.page-is-loading,
body.page-is-leaving {
  overflow: hidden;
}

/* Crossfade with logo splash — reveal starts when loader fades, not after */
body.page-is-ready .site-header,
body.page-is-ready .site-main > *,
body.page-is-ready .site-footer {
  opacity: 1;
  transition: opacity 0.42s ease 0.06s;
}

body.page-is-leaving .site-main,
body.page-is-leaving .site-footer {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  body.page-is-loading .site-main > *,
  body.page-is-loading .site-footer,
  body.page-is-loading .site-header {
    opacity: 1;
  }

  .logo-loader--out,
  .logo-loader--done {
    display: none !important;
  }
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--2dx-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.font-display {
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
}

.site-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.site-icon--brand {
  fill: currentColor;
  stroke: none;
  overflow: visible;
}

.site-icon--discord {
  width: 1.125rem;
  height: 1.125rem;
}

.site-icon:not(.site-icon--brand) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-social-link .site-icon,
.member-card-social-link .site-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.feature-icon-wrap .site-icon {
  width: clamp(1.5rem, 4.5vw, 1.85rem);
  height: clamp(1.5rem, 4.5vw, 1.85rem);
}

.section-title-icon.site-icon {
  width: 1rem;
  height: 1rem;
  color: var(--2dx-blue);
}

.btn-hero-icon.site-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.contact-card-icon .site-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--2dx-blue);
}

.events-category-icon .site-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--2dx-blue);
}

.events-stat-icon .site-icon,
.partners-tier-icon .site-icon {
  width: 1rem;
  height: 1rem;
  color: var(--2dx-blue);
}

.events-featured-prize-icon .site-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #f0c040;
}

.members-scroll-btn .site-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.metallic-text {
  background: linear-gradient(180deg, #fff, #c0c0c0 50%, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow,
.text-accent,
.hero-accent {
  color: var(--2dx-blue);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(var(--2dx-blue-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--2dx-blue-rgb), 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Layout — full width */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

@media (min-width: 1280px) {
  .container {
    max-width: 90rem;
  }
}

.site-main {
  width: 100%;
  background: var(--2dx-black);
  overflow-x: hidden;
}

/* No hairline gaps between stacked page blocks */
.site-main > .hero,
.site-main > .page-banner,
.site-main > .subpage-hero,
.site-main > .events-hero,
.site-main > .features-trust,
.site-main > .section-block,
.site-main > .page-shell,
.site-main > .site-footer {
  margin-top: 0;
  margin-bottom: 0;
}

.page-banner + .page-shell {
  margin-top: 0;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: var(--section-y);
}

.page-banner + .section-block {
  margin-top: 0;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.section-block {
  width: 100%;
  padding: var(--section-y) 0;
}

.section-alt {
  background: rgba(22, 25, 26, 0.65);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.15;
}

.section-title-sm {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--2dx-silver);
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  margin-top: 0.35rem;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.section-head-tournaments {
  align-items: flex-end;
}

.section-title-stack {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}

.section-title-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.section-title-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--2dx-blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-title-kicker {
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.34em;
  color: var(--2dx-silver);
  opacity: 0.85;
}

.thunder-head .section-title-kicker {
  animation: thunder-kicker-hit 5.5s infinite;
}

@keyframes thunder-kicker-hit {
  0%, 82%, 100% {
    color: var(--2dx-silver);
    text-shadow: none;
    opacity: 0.85;
  }
  83%, 85% {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(126, 184, 255, 0.55);
    opacity: 1;
  }
  84%, 86%, 100% {
    color: var(--2dx-silver);
    text-shadow: none;
    opacity: 0.85;
  }
}

.section-title-emphasis {
  display: inline-block;
  font-size: clamp(2.25rem, 7.5vw, 4.25rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--2dx-blue);
}

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

/* Thunder / electro — gaming vibe on site font letters */
.thunder-head {
  position: relative;
}

.thunder-head::after {
  display: none;
}

.thunder-title {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.thunder-flash {
  display: none;
}

/* Electro — each letter uses inherited font-display; FX layered on glyphs */
.electro-text {
  position: relative;
  display: inline-block;
  font-size: clamp(2.25rem, 7.5vw, 4.25rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  --electro-flash: 0;
  isolation: isolate;
}

.electro-text-flash {
  position: absolute;
  inset: -18% -4%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 255, 255, calc(0.22 * var(--electro-flash))) 0%,
    rgba(126, 184, 255, calc(0.14 * var(--electro-flash))) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.08s ease;
}

.electro-fx-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.electro-chars {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.electro-char {
  position: relative;
  display: inline-block;
  font: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
  font-style: inherit;
}

.electro-char-face {
  display: block;
  font: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
  font-style: inherit;
  position: relative;
  color: var(--2dx-blue);
  text-shadow: none;
  transition: color 0.08s ease, text-shadow 0.08s ease;
}

.electro-text.is-strike .electro-char-face {
  color: #e8f4ff;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.75),
    0 0 10px rgba(126, 184, 255, 0.4);
}

#tournaments.section-block {
  position: relative;
}

#tournaments.section-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 56rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(126, 184, 255, 0.35) 50%,
    transparent 100%
  );
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .thunder-head::after,
  .thunder-head .section-title-kicker {
    animation: none;
  }

  .electro-fx-canvas {
    display: none;
  }
}

/* Inline text links — register, visit, etc. */
.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  min-height: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--2dx-blue);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-text-link:hover {
  color: #52c4ff;
  text-decoration: none;
  transform: none;
  opacity: 1;
  border-color: transparent;
  background: none;
  box-shadow: none;
}

/* Section “VIEW ALL” — compact outline button */
.btn-view-all {
  min-height: 2.1rem;
  padding: 0.48rem 0.95rem;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  color: var(--2dx-blue);
  background: rgba(var(--2dx-blue-rgb), 0.07);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.42);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.btn-view-all:hover {
  color: #fff;
  background: rgba(var(--2dx-blue-rgb), 0.2);
  border-color: rgba(126, 184, 255, 0.75);
  box-shadow: 0 6px 18px rgba(var(--2dx-blue-rgb), 0.22);
  transform: translateY(-1px);
  text-decoration: none;
  opacity: 1;
}

.btn-text-link .link-chevron-icon,
.btn-text-link .btn-view-all-icon,
.link-with-icon.btn-text-link .site-icon,
.btn-view-all .link-chevron-icon,
.link-with-icon.btn-view-all .site-icon {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  opacity: 1;
  transition: transform 0.2s ease;
}

.btn-text-link:hover .link-chevron-icon,
.btn-text-link:hover .btn-view-all-icon,
.btn-view-all:hover .link-chevron-icon {
  transform: translateX(3px);
}

.text-right {
  text-align: right;
}

.fw-bold {
  font-weight: 700;
}

.rank-cell {
  color: var(--2dx-blue);
  font-weight: 700;
}

.points-cell {
  color: var(--2dx-blue);
  font-weight: 700;
}

.empty-msg {
  text-align: center;
  color: var(--2dx-silver);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--2dx-black);
  border-bottom: 1px solid rgba(var(--2dx-blue-rgb), 0.12);
  overflow: visible;
}

.site-header::before {
  display: none;
}

.header-accent-bar {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--2dx-line-accent) 50%,
    transparent 100%
  );
  opacity: 0.85;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  max-height: var(--header-h);
  padding-block: 0;
}

.header-divider-v {
  display: none !important;
}

.logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  color: inherit;
  text-decoration: none;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  z-index: 101;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo .x {
  color: var(--2dx-blue);
}

.logo-sub {
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--2dx-silver);
  width: 100%;
  margin-left: 0.1rem;
}

@media (min-width: 480px) {
  .logo-sub {
    width: auto;
    margin-left: 0.25rem;
  }
}

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  z-index: 101;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgba(126, 184, 255, 0.35);
  background: rgba(126, 184, 255, 0.06);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--2dx-white);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-wrap {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 9, 10, 0.98);
  padding: calc(var(--header-h) + 1.5rem) var(--container-pad) 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 99;
  overflow-y: auto;
}

.nav-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--2dx-blue-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--2dx-blue-rgb), 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.nav-wrap.is-open {
  opacity: 1;
  visibility: visible;
}

.nav {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-item {
  border-bottom: 1px solid var(--2dx-line);
}

.nav-item:first-child {
  border-top: 1px solid var(--2dx-line);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(192, 192, 192, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link {
  position: relative;
}

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

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  width: 2.75rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.nav-link-live.is-active {
  color: var(--2dx-blue);
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--2dx-line);
}

.header-social--bar {
  display: none;
}

.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--2dx-line);
  border-radius: 8px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-social-link svg,
.header-social-link .site-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.header-social-link:hover {
  color: var(--2dx-blue);
  border-color: rgba(126, 184, 255, 0.35);
  background: rgba(126, 184, 255, 0.06);
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem 1rem;
    padding-block: 0;
  }

  .logo {
    grid-column: 1;
    justify-self: start;
  }

  .nav-wrap {
    position: static;
    inset: auto;
    grid-column: 2;
    padding: 0;
    opacity: 1;
    visibility: visible;
    background: transparent;
    overflow: visible;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
  }

  .nav-wrap::before {
    display: none;
  }

  .nav {
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .nav-item {
    border-bottom: none;
    border-top: none;
  }

  .nav-link {
    position: relative;
    padding: 0.65rem 0.62rem 0.78rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0.62rem;
    bottom: 0.22rem;
    width: 2.35rem;
    max-width: calc(100% - 1.24rem);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.5) 42%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-link:hover {
    color: rgba(255, 255, 255, 0.95);
  }

  .nav-link:hover::after {
    transform: scaleX(0.72);
    opacity: 0.55;
  }

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

  .nav-link.is-active::after {
    transform: scaleX(1);
    opacity: 1;
  }

  .header-social--bar {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .header-social--drawer {
    display: none;
  }

  .header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .header-social-link svg {
    width: 1rem;
    height: 1rem;
  }

  .header-social-link:hover {
    color: var(--2dx-blue);
    transform: translateY(-1px);
    border-color: transparent;
    background: transparent;
  }
}

/* Footer */
.site-footer {
  position: relative;
  width: 100%;
  margin-top: 0;
  color: var(--2dx-silver);
  font-size: 0.875rem;
  background:
    linear-gradient(180deg, rgba(126, 184, 255, 0.04) 0%, transparent 28%),
    linear-gradient(180deg, var(--2dx-graphite) 0%, #0c0e10 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--2dx-blue-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--2dx-blue-rgb), 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 85%);
  pointer-events: none;
}

.footer-accent-bar {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--2dx-line-accent) 50%,
    transparent 100%
  );
  opacity: 0.85;
}

.footer-top {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.25rem);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 28rem;
  margin-inline: auto;
  padding-right: 0;
  text-align: center;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-bottom: 0.85rem;
}

.footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 22rem);
  max-height: clamp(5rem, 12vw, 7rem);
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

@media (min-width: 769px) {
  .footer-logo {
    max-width: min(100%, 24rem);
    max-height: clamp(5.35rem, 7.5vw, 7.5rem);
  }
}

.footer-tagline {
  margin: 0 0 0.4rem;
  color: var(--2dx-blue);
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 22rem;
}

.footer-tagline-sub {
  margin: 0;
  font-size: 0.68rem;
  opacity: 0.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-col {
  position: relative;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid var(--2dx-line);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}

.footer-heading-line {
  display: inline-block;
  width: 1.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--2dx-blue), transparent);
  flex-shrink: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(192, 192, 192, 0.88);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--2dx-blue);
  transition: width 0.2s ease, margin-right 0.2s ease;
}

.footer-links a:hover {
  color: var(--2dx-blue);
  text-decoration: none;
  transform: translateX(3px);
}

.footer-links a:hover::before {
  width: 0.65rem;
  margin-right: 0.45rem;
}

.footer-link-live {
  gap: 0.5rem;
  font-weight: 500;
}

.footer-link-live::before,
.footer-link-live:hover::before {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
}

.footer-link-live:hover {
  color: #fecaca;
  transform: translateX(3px);
}

.footer-link-live--on:hover {
  color: #fff;
}

.footer-live-indicator {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.footer-live-dot {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.55);
  animation: footer-live-dot-pulse 1.35s ease-in-out infinite;
}

.footer-live-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.5);
  animation: footer-live-ring-pulse 1.35s ease-out infinite;
}

.footer-link-live--on .footer-live-dot {
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.9);
}

.footer-link-live--on .footer-live-ring {
  border-color: rgba(248, 113, 113, 0.75);
}

.footer-live-em {
  color: #f87171;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-link-live--on .footer-live-em {
  animation: footer-live-text-glow 2s ease-in-out infinite;
}

.footer-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.1rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: #dc2626;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.45);
  animation: footer-live-badge-glow 1.8s ease-in-out infinite;
}

.footer-live-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.1s ease-in-out infinite;
}

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

@keyframes footer-live-ring-pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes footer-live-text-glow {
  0%,
  100% {
    color: #f87171;
    text-shadow: 0 0 8px rgba(248, 113, 113, 0.35);
  }
  50% {
    color: #fecaca;
    text-shadow: 0 0 14px rgba(254, 202, 202, 0.55);
  }
}

@keyframes footer-live-badge-glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
  }
  50% {
    box-shadow: 0 0 18px rgba(248, 113, 113, 0.65);
  }
}

.footer-divider {
  position: relative;
  z-index: 1;
  padding: 0 var(--container-pad);
}

.footer-divider-track {
  display: block;
  height: 1px;
  max-width: 90rem;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--2dx-line-accent) 50%,
    transparent 100%
  );
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1.1rem 0 1.45rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.footer-bottom-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(126, 184, 255, 0.45);
  flex-shrink: 0;
}

.footer-dev {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  opacity: 0.65;
}

.footer-dev-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.35rem;
  vertical-align: middle;
  color: var(--2dx-blue);
}

.footer-dev-icon .footer-dev-icon-svg {
  width: 0.9rem;
  height: 0.9rem;
  opacity: 0.9;
}

.footer-dev a {
  color: var(--2dx-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-dev a:hover {
  text-decoration: underline;
}

.footer-sponsors {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.sponsors-bar.is-closing {
  opacity: 0;
  transform: translateY(8px);
}

.sponsors-bar-inner {
  position: relative;
}

.sponsors-bar-close {
  position: absolute;
  top: -0.35rem;
  right: 0;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 12, 14, 0.85);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sponsors-bar-close-icon {
  width: 1rem;
  height: 1rem;
}

.sponsors-bar-close:hover {
  color: #fff;
  border-color: rgba(var(--2dx-blue-rgb), 0.45);
  background: rgba(14, 18, 22, 0.95);
}

.footer-sponsor-item-static {
  cursor: default;
}

.footer-sponsors-label {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: var(--2dx-silver);
  opacity: 0.75;
}

.footer-sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
}

.footer-sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-sponsor-item:hover {
  opacity: 0.85;
}

.footer-sponsor-item img {
  max-height: 3rem;
  max-width: clamp(5rem, 18vw, 9rem);
  width: auto;
  object-fit: contain;
  filter: brightness(0.95);
}

.footer-sponsor-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--2dx-line);
  }

  .footer-logo-link {
    justify-content: center;
    margin-inline: auto;
  }

  .footer-logo {
    max-width: min(100%, 18rem);
    max-height: clamp(4.5rem, 15vw, 5.65rem);
  }

  .footer-col {
    padding-left: 0;
    border-left: none;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid var(--2dx-line);
  }

  .footer-col:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-heading {
    justify-content: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-dot {
    display: none;
  }
}

/* Buttons */
.btn,
.btn-card-register,
.btn-dash-outline,
.btn-view-all,
.btn-watch-live {
  --glass-x: 50%;
  --glass-y: 50%;
  --glass-size: 110px;
  position: relative;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-align: center;
}

.btn-primary {
  background-color: var(--2dx-btn-bottom);
  background-image: linear-gradient(to bottom, var(--2dx-btn-top), var(--2dx-btn-bottom));
  color: #ffffff;
}

.btn-primary.is-glass-active,
.btn-watch-live.is-glass-active {
  background-image:
    radial-gradient(
      circle var(--glass-size) at var(--glass-x) var(--glass-y),
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.14) 36%,
      transparent 68%
    ),
    linear-gradient(to bottom, var(--2dx-btn-top), var(--2dx-btn-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  opacity: 0.96;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(192, 192, 192, 0.4);
  color: var(--2dx-silver);
}

.btn-outline.is-glass-active,
.btn-dash-outline.is-glass-active,
.btn-view-all.is-glass-active {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-image:
    radial-gradient(
      circle var(--glass-size) at var(--glass-x) var(--glass-y),
      rgba(255, 255, 255, 0.24) 0%,
      rgba(126, 184, 255, 0.1) 38%,
      transparent 72%
    );
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  border-color: var(--2dx-blue);
  color: var(--2dx-blue);
  text-decoration: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: 1px solid var(--2dx-line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  vertical-align: middle;
  line-height: 1.2;
}

.badge-tag {
  color: var(--2dx-silver);
  letter-spacing: 0.08em;
}

.badge-mode {
  padding: 0.34rem 0.62rem 0.34rem 0.52rem;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(24, 27, 30, 0.98) 0%, rgba(12, 14, 16, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.badge-mode::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-online::before {
  background: #7eb8ff;
  box-shadow: 0 0 6px rgba(126, 184, 255, 0.55);
}

.badge-lan::before {
  background: #d9a026;
  box-shadow: 0 0 5px rgba(217, 160, 38, 0.4);
}

.badge-hybrid::before {
  background: #94a3b8;
  box-shadow: 0 0 5px rgba(148, 163, 184, 0.35);
}

.badge-online:not(.badge-mode) {
  color: var(--2dx-blue);
  border-color: rgba(var(--2dx-blue-rgb), 0.28);
  background: rgba(var(--2dx-blue-rgb), 0.08);
}

.badge-lan:not(.badge-mode),
.badge-hybrid:not(.badge-mode) {
  color: var(--2dx-silver);
}

.badge-live {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(24, 14, 14, 0.85);
  animation: none;
}

.badge-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.65);
  animation: badge-live-pulse 1.6s ease-in-out infinite;
}

@keyframes badge-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

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

/* Hero — full-screen background image */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-cinematic {
  height: var(--hero-viewport-h);
  height: calc(100dvh - var(--header-total-h));
  max-height: calc(100dvh - var(--header-total-h));
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: var(--hero-pad-top) 0 0;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--2dx-black);
  overflow: hidden;
}

.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  transform: scale(1.08);
  filter: blur(18px) brightness(0.82) saturate(1.05);
  opacity: 1;
  transition: opacity 0.55s ease;
}

.hero-bg-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 28%,
    rgba(126, 184, 255, 0.06) 44%,
    rgba(255, 255, 255, 0) 58%
  );
  background-size: 220% 100%;
  animation: hero-bg-shimmer 1.8s ease-in-out infinite;
  opacity: 0.85;
  transition: opacity 0.45s ease;
}

.hero-bg.is-loaded .hero-bg-placeholder,
.hero-bg.is-loaded .hero-bg-shimmer {
  opacity: 0;
}

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transform: scale(1.03) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: brightness(0.82) contrast(1.04) saturate(0.98);
  opacity: 0;
  transition: opacity 0.65s ease;
}

.hero-bg.is-loaded .hero-bg-img {
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(rgba(6, 8, 10, 0.06), rgba(6, 8, 10, 0.06)),
    linear-gradient(to bottom, transparent 0%, rgba(10, 12, 14, 0.62) 88%, #0c0e10 100%),
    linear-gradient(
      100deg,
      rgba(6, 6, 6, 0.55) 0%,
      rgba(6, 6, 6, 0.38) 32%,
      rgba(6, 6, 6, 0.12) 54%,
      rgba(6, 6, 6, 0.04) 100%
    ),
    linear-gradient(to top, rgba(6, 6, 6, 0.42) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(6, 6, 6, 0.22) 0%, transparent 26%);
  pointer-events: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-bg-shimmer {
    animation: none;
    opacity: 0.35;
  }

  .hero-bg-placeholder,
  .hero-bg-img {
    transition: none;
  }
}

.hero + .features-trust {
  margin-top: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: clamp(0.25rem, 0.8vh, 0.75rem);
  overflow: hidden;
}

.hero-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 42rem;
  padding: clamp(0.15rem, 0.8vh, 0.5rem) 0;
  text-align: left;
}

.hero-partner-badge {
  display: block;
  position: relative;
  align-self: flex-start;
  float: none;
  margin: 0 0 clamp(0.45rem, 1.2vh, 0.85rem);
  padding: 0.35rem 0.55rem;
  max-width: min(11rem, 58vw);
  background: rgba(0, 0, 0, 0.28);
}

.hero-partner-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: clamp(2rem, 6vh, 3rem);
  object-fit: contain;
  margin: 0;
}

.hero-title-clan {
  margin: 0 0 clamp(0.35rem, 1vh, 0.55rem);
  line-height: 0.95;
}

.hero-clan-electro-wrap {
  position: relative;
  display: inline-block;
  animation: hero-accent-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title-clan .electro-text {
  font-size: clamp(2.85rem, 7.2vh + 1rem, 5.35rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title-clan .electro-chars {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero-title-clan .electro-char:nth-child(1) .electro-char-face,
.hero-title-clan .electro-char:nth-child(2) .electro-char-face,
.hero-title-clan .electro-char:nth-child(3) .electro-char-face {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f5f5f5 22%,
    #e8e8e8 48%,
    #ffffff 72%,
    #d0d0d0 100%
  );
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.1));
  animation: hero-clan-metal-shimmer 7s ease-in-out infinite;
}

.hero-title-clan .electro-char:nth-child(4) .electro-char-face {
  color: transparent;
  min-width: 0.22em;
}

.hero-title-clan .electro-char:nth-child(n + 5) .electro-char-face {
  background: linear-gradient(
    112deg,
    #004db8 0%,
    #007bff 16%,
    #52c4ff 34%,
    #7eb8ff 50%,
    #52c4ff 66%,
    #007bff 84%,
    #004db8 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(0, 123, 255, 0.42));
  animation: hero-accent-shimmer 5.5s ease-in-out infinite;
}

.hero-clan-electro-wrap .electro-text-flash {
  inset: -22% -6%;
}

.hero-clan-electro-wrap .electro-fx-canvas {
  z-index: 5;
}

.hero-title-clan .electro-text.is-strike .electro-char:nth-child(1) .electro-char-face,
.hero-title-clan .electro-text.is-strike .electro-char:nth-child(2) .electro-char-face,
.hero-title-clan .electro-text.is-strike .electro-char:nth-child(3) .electro-char-face,
.hero-title-clan .electro-text.is-strike .electro-char:nth-child(n + 5) .electro-char-face {
  -webkit-text-fill-color: #e8f4ff;
  color: #e8f4ff;
  background: none;
  filter: drop-shadow(0 0 10px rgba(126, 184, 255, 0.55));
}

.hero-clan-accent-underline {
  position: absolute;
  left: 36%;
  right: 0;
  bottom: 0.05rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 123, 255, 0.2) 0%,
    rgba(126, 184, 255, 0.95) 50%,
    rgba(0, 123, 255, 0.2) 100%
  );
  box-shadow: 0 0 16px rgba(0, 123, 255, 0.45);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation: hero-clan-underline-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
  pointer-events: none;
}

@keyframes hero-clan-metal-shimmer {
  0%,
  100% {
    background-position: 50% 0%;
  }

  50% {
    background-position: 50% 100%;
  }
}

@keyframes hero-clan-underline-in {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-clan-electro-wrap,
  .hero-clan-accent-underline {
    animation: none;
  }

  .hero-title-clan .electro-char:nth-child(n + 5) .electro-char-face {
    animation: none;
    background: none;
    -webkit-text-fill-color: #007bff;
    color: #007bff;
    filter: none;
  }

  .hero-title-clan .electro-char:nth-child(1) .electro-char-face,
  .hero-title-clan .electro-char:nth-child(2) .electro-char-face,
  .hero-title-clan .electro-char:nth-child(3) .electro-char-face {
    animation: none;
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    filter: none;
  }

  .hero-clan-accent-underline {
    transform: scaleX(1);
    opacity: 1;
  }
}

.hero-subline {
  margin: 0 0 clamp(0.45rem, 1.1vh, 0.7rem);
  max-width: min(100%, 26rem);
  font-size: clamp(0.58rem, 0.95vh + 0.26rem, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
}

.hero-motto-rule {
  display: block;
  width: clamp(2.35rem, 7vw, 3.25rem);
  height: 2px;
  margin: 0 0 clamp(0.4rem, 1vh, 0.6rem);
  border-radius: 999px;
  background: linear-gradient(90deg, #4a82c8 0%, rgba(74, 130, 200, 0.15) 100%);
  box-shadow: 0 0 12px rgba(74, 130, 200, 0.35);
}

.hero-motto {
  margin: 0 0 clamp(0.55rem, 1.2vh, 1rem);
  max-width: min(100%, 24rem);
  font-size: clamp(0.92rem, 1.55vh + 0.35rem, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.88);
}

.hero-motto-accent {
  color: #4a82c8;
  font-weight: 700;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.btn-hero-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-hero-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual-zone {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
  min-height: clamp(13rem, 40vh, 22rem);
  pointer-events: none;
  flex-shrink: 0;
}

.hero-logo-stage {
  position: relative;
  width: min(92vw, 34rem);
  min-height: clamp(12rem, 38vh, 21rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-electro-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}

.hero-logo-display {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 36rem);
  pointer-events: none;
}

.hero-logo-electro-img {
  display: block;
  width: auto;
  max-width: min(100%, 34rem);
  max-height: clamp(13rem, 42vh, 24rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.55));
}

.hero-visual-zone.is-electro-strike .hero-logo-electro-img {
  filter:
    drop-shadow(0 4px 20px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(126, 184, 255, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .hero-electro-canvas {
    display: none;
  }
}

.hero-tag {
  margin: 0 0 clamp(0.35rem, 1vh, 0.65rem);
}

.hero-tag-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  max-width: 100%;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(126, 184, 255, 0.08) 0%, rgba(8, 12, 18, 0.72) 48%, rgba(6, 8, 12, 0.82) 100%);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-tag-dot {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--2dx-blue);
  box-shadow: 0 0 0 2px rgba(var(--2dx-blue-rgb), 0.18), 0 0 12px rgba(var(--2dx-blue-rgb), 0.75);
}

.hero-tag-primary {
  font-size: clamp(0.58rem, 1.05vh + 0.34rem, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eef5ff;
  line-height: 1.2;
}

.hero-tag-sep {
  flex-shrink: 0;
  width: 1px;
  height: 0.8rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--2dx-blue-rgb), 0.55) 50%,
    transparent 100%
  );
}

.hero-tag-secondary {
  font-size: clamp(0.54rem, 0.95vh + 0.3rem, 0.67rem);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.9);
  line-height: 1.2;
}

@media (max-width: 420px) {
  .hero-tag-chip {
    border-radius: 0.65rem;
    padding: 0.5rem 0.75rem;
  }

  .hero-tag-sep {
    display: none;
  }

  .hero-tag-secondary {
    flex-basis: 100%;
    padding-left: 1.05rem;
    letter-spacing: 0.08em;
  }
}

.hero-title {
  font-size: clamp(1.45rem, 3.8vh + 0.85rem, 4rem);
  line-height: 1.04;
  margin: clamp(0.25rem, 1vh, 0.65rem) 0 clamp(0.2rem, 0.8vh, 0.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-metallic {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 28%, #e8e8e8 55%, #ffffff 78%, #d0d0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
}

.hero-accent-line {
  position: relative;
  display: inline-block;
  margin: 0.05rem 0;
  animation: hero-accent-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.12s;
}

.hero-accent-text {
  display: inline-block;
  background: linear-gradient(
    112deg,
    #2a5588 0%,
    #3f72b8 18%,
    #5c92d4 38%,
    #8eb8ea 50%,
    #5c92d4 62%,
    #3f72b8 82%,
    #2a5588 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(30, 70, 125, 0.32));
  animation: hero-accent-shimmer 6s ease-in-out infinite;
}

.hero-accent-underline {
  display: block;
  height: 2px;
  width: 0;
  max-width: 100%;
  margin-top: clamp(0.15rem, 0.5vh, 0.35rem);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(74, 130, 200, 0.15) 12%,
    rgba(94, 146, 212, 0.95) 50%,
    rgba(74, 130, 200, 0.15) 88%,
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(74, 130, 200, 0.35);
  animation: hero-accent-underline-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

@keyframes hero-accent-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-accent-shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes hero-accent-underline-in {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: min(100%, 11.5rem);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-accent-line,
  .hero-accent-text,
  .hero-accent-underline {
    animation: none;
  }

  .hero-accent-text {
    background: none;
    -webkit-text-fill-color: #3f72b8;
    color: #3f72b8;
  }

  .hero-accent-underline {
    width: min(100%, 11.5rem);
    opacity: 1;
  }
}

.hero-title-line {
  color: var(--2dx-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero-desc {
  margin: clamp(0.35rem, 1vh, 0.75rem) 0 clamp(0.5rem, 1.2vh, 1.25rem);
  max-width: min(32rem, 100%);
}

.hero-desc-lead {
  margin: 0 0 clamp(0.35rem, 0.8vh, 0.5rem);
  font-size: clamp(0.66rem, 1.05vh + 0.32rem, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(126, 184, 255, 0.88);
  line-height: 1.35;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.hero-desc-detail {
  margin: 0;
  max-width: 30rem;
  font-size: clamp(0.82rem, 1.3vh + 0.4rem, 1.02rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(198, 206, 214, 0.92);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 1vh, 0.75rem);
  width: 100%;
  max-width: 22rem;
}

.hero-cta .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
  }

  .hero-cta .btn {
    width: auto;
    flex: 0 1 auto;
    min-width: 10rem;
  }
}

@media (min-width: 768px) {
  .hero-bg-placeholder {
    background-position: 62% 24%;
  }

  .hero-bg-img {
    object-position: 62% 24%;
  }

  .hero-partner-badge {
    margin: 0 0 1rem;
  }
}

/* Desktop hero — side-by-side from large tablets / small laptops up */
@media (min-width: 1024px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.75rem, 2vw, 1.5rem);
  }

  .hero-content {
    max-width: min(40rem, 52%);
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-visual-zone {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(54vw, 42rem);
    margin-top: 0;
    min-height: clamp(14rem, 46vh, 26rem);
    justify-content: center;
    flex: 0 0 auto;
    order: 0;
  }

  .hero-logo-stage {
    width: min(100%, 38rem);
    min-height: clamp(13rem, 42vh, 24rem);
  }

  .hero-logo-electro-img {
    max-width: min(100%, 36rem);
    max-height: clamp(14rem, 46vh, 26rem);
  }
}

@media (min-width: 1200px) {
  .hero-visual-zone {
    width: min(48vw, 44rem);
  }

  .hero-logo-stage {
    width: min(100%, 42rem);
  }

  .hero-logo-electro-img {
    max-width: min(100%, 40rem);
    max-height: clamp(16rem, 48vh, 30rem);
  }
}

/* Features trust bar */
.features-trust {
  width: 100%;
  position: relative;
  border: none;
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(var(--2dx-blue-rgb), 0.06), transparent 55%),
    linear-gradient(180deg, #0c0e0f 0%, #111416 45%, #0c0e0f 100%);
  padding: clamp(1.25rem, 3vw, 0) 0;
}

.features-trust--hero {
  z-index: 2;
  flex: 0 0 auto;
  margin-top: auto;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.55) 0%, rgba(10, 12, 14, 0.92) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.features-trust--hero .features-trust-item {
  padding: clamp(0.55rem, 1.2vh, 1rem) clamp(0.65rem, 1.6vw, 1.25rem);
}

.features-trust--hero .feature-icon-wrap {
  width: clamp(2.15rem, 5vh, 3.25rem);
  height: clamp(2.15rem, 5vh, 3.25rem);
}

.features-trust--hero .feature-icon-wrap svg {
  width: clamp(1.25rem, 3vh, 1.85rem);
  height: clamp(1.25rem, 3vh, 1.85rem);
}

.features-trust--hero .feature-text h3 {
  font-size: clamp(0.62rem, 1.2vh + 0.35rem, 0.8rem);
}

.features-trust--hero .feature-text p {
  font-size: clamp(0.68rem, 1.1vh + 0.35rem, 0.875rem);
}

/* Hero + features — fit any viewport height */
@media (max-height: 820px) {
  :root {
    --hero-pad-top: clamp(0.35rem, 1.2vh, 0.85rem);
  }

  .hero-partner-badge {
    margin-bottom: clamp(0.35rem, 1vh, 0.65rem);
    padding: 0.25rem 0.45rem;
  }

  .hero-partner-logo {
    max-height: clamp(1.85rem, 5vh, 2.65rem);
  }

  .hero-tag-chip {
    padding: 0.38rem 0.75rem 0.38rem 0.6rem;
    gap: 0.45rem 0.55rem;
  }
}

@media (max-height: 680px) {
  .features-trust--hero .features-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-trust--hero .features-trust-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-trust--hero .features-trust-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-trust--hero .features-trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-trust--hero .features-trust-item:nth-child(3),
  .features-trust--hero .features-trust-item:nth-child(4) {
    border-bottom: none;
  }

  .hero-cta .btn {
    min-height: 2.35rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
}

@media (max-height: 680px) and (min-width: 900px) {
  .features-trust--hero .features-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .features-trust--hero .features-trust-item {
    border-bottom: none !important;
    border-right: none;
  }

  .features-trust--hero .features-trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.12) 8%,
      rgba(255, 255, 255, 0.12) 92%,
      transparent 100%
    );
  }
}

@media (max-height: 540px) {
  .hero-title {
    font-size: clamp(1.15rem, 4.5vh, 1.75rem);
  }

  .hero-subline {
    letter-spacing: 0.08em;
  }

  .hero-motto {
    font-size: clamp(0.85rem, 4.5vh, 1rem);
  }

  .features-trust--hero .feature-text p {
    display: none;
  }

  .features-trust--hero .features-trust-item {
    padding: 0.45rem 0.55rem;
  }
}

.features-trust--hero .features-trust-item:hover {
  background: rgba(var(--2dx-blue-rgb), 0.06);
}

.features-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.features-trust-item {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 3vw, 1.15rem);
  padding: clamp(1.1rem, 3vw, 1.35rem) clamp(1rem, 4vw, 1.75rem);
  position: relative;
  transition: background 0.25s ease;
}

.features-trust-item:hover {
  background: rgba(var(--2dx-blue-rgb), 0.04);
}

.features-trust-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: clamp(2.75rem, 8vw, 3.25rem);
  height: clamp(2.75rem, 8vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--2dx-blue);
}

.feature-icon-wrap svg,
.feature-icon-wrap .site-icon {
  width: clamp(1.5rem, 4.5vw, 1.85rem);
  height: clamp(1.5rem, 4.5vw, 1.85rem);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-text {
  min-width: 0;
  text-align: left;
}

.feature-text h3 {
  margin: 0 0 0.2rem;
  font-size: clamp(0.7rem, 2.2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--2dx-white);
  line-height: 1.2;
}

.feature-text p {
  margin: 0;
  font-size: clamp(0.75rem, 2.2vw, 0.875rem);
  font-weight: 400;
  color: rgba(192, 192, 192, 0.85);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .features-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-trust-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-trust-item:nth-child(2) {
    border-right: none;
  }

  .features-trust-item:nth-child(3),
  .features-trust-item:nth-child(4) {
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .features-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-trust-item {
    border-bottom: none !important;
    border-right: none;
    justify-content: flex-start;
    padding: 1.35rem 1.5rem;
  }

  .features-trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.12) 8%,
      rgba(255, 255, 255, 0.12) 92%,
      transparent 100%
    );
  }

  .features-trust-item:nth-child(odd),
  .features-trust-item:nth-child(2) {
    border-right: none;
  }
}

/* Cards scroll */
.cards-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.75rem;
  margin: 0 calc(var(--container-pad) * -1);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.cards-scroll::-webkit-scrollbar {
  height: 4px;
}

.t-card {
  flex: 0 0 min(78vw, 260px);
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
}

@media (min-width: 640px) {
  .t-card {
    flex: 0 0 272px;
  }
}

@media (min-width: 1100px) {
  .t-card {
    flex: 0 0 calc((100% - 3rem) / 4);
    max-width: 300px;
  }

  .cards-scroll-home {
    overflow-x: visible;
    flex-wrap: wrap;
    scroll-snap-type: none;
  }
}

.t-card:hover,
.t-card:focus-within {
  border-color: rgba(126, 184, 255, 0.4);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(126, 184, 255, 0.15);
}

.t-card:active {
  transform: none;
}

.t-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.15;
  min-height: clamp(20rem, 52vw, 26rem);
  overflow: hidden;
  border-radius: inherit;
}

.t-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.t-card-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.t-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(135deg, rgba(0, 55, 120, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.t-card-live {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.t-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1rem 1.1rem;
  pointer-events: none;
}

.t-card-brand {
  width: auto;
  max-width: 10rem;
  height: 3rem;
  max-height: 3rem;
  margin-bottom: auto;
  padding-top: 0.5rem;
  object-fit: contain;
  object-position: left top;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
}

.logo-has-img {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo.logo-has-img {
  min-width: 0;
  padding: 0;
  line-height: 0;
}

.logo.logo-has-img:hover {
  opacity: 1;
}

.site-header-logo {
  display: block;
  height: calc(var(--header-h) - 0.2rem);
  width: auto;
  max-height: calc(var(--header-h) - 0.2rem);
  max-width: min(16rem, 52vw);
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.t-card-title {
  margin: 0;
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--2dx-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.t-card-sub {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--2dx-blue);
}

.t-card-date {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.t-card-prize {
  margin-top: 0.65rem;
}

.t-card-prize-reveal {
  overflow: hidden;
  margin-top: 0.15rem;
}

.t-card-prize-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--2dx-silver);
  opacity: 0.85;
}

.t-card-prize-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 800;
  color: var(--2dx-white);
  letter-spacing: 0.02em;
  will-change: transform, opacity;
}

.t-card-prize-currency {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}

.t-card-prize-value {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .t-card-prize-reveal {
    overflow: visible;
  }

  .t-card-prize-amount {
    will-change: auto;
  }
}

.btn-card-register {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--2dx-btn-bottom);
  background-image: linear-gradient(to bottom, var(--2dx-btn-top), var(--2dx-btn-bottom));
  border: none;
  border-radius: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-card-register.is-glass-active:not(.btn-card-register-muted) {
  background-image:
    radial-gradient(
      circle var(--glass-size) at var(--glass-x) var(--glass-y),
      rgba(255, 255, 255, 0.38) 0%,
      rgba(255, 255, 255, 0.12) 36%,
      transparent 68%
    ),
    linear-gradient(to bottom, var(--2dx-btn-top), var(--2dx-btn-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-card-register:hover {
  opacity: 0.92;
  text-decoration: none;
  color: #fff;
}

.btn-card-register-muted {
  background-color: rgba(255, 255, 255, 0.12);
  background-image: none;
  border-top-color: transparent;
}

.btn-card-register-muted.is-glass-active {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-image:
    radial-gradient(
      circle var(--glass-size) at var(--glass-x) var(--glass-y),
      rgba(255, 255, 255, 0.22) 0%,
      rgba(126, 184, 255, 0.08) 40%,
      transparent 70%
    );
  background-color: rgba(255, 255, 255, 0.1);
}

/* Members */
.members-section {
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.35) 0%, var(--2dx-black) 100%);
}

.members-section-head {
  align-items: center;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.members-section-title {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.members-scroll-wrap {
  position: relative;
}

.members-scroll-wrap--controls {
  padding-inline: clamp(2.15rem, 5vw, 2.65rem);
}

.members-scroll {
  display: flex;
  gap: clamp(0.85rem, 2.5vw, 1.15rem);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0;
  margin: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.members-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.members-scroll-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(0, 123, 255, 0.92);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 0 16px rgba(0, 123, 255, 0.35);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.members-scroll-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.members-scroll-btn--prev {
  left: 0;
}

.members-scroll-btn--next {
  right: 0;
}

.members-scroll-btn .site-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.members-scroll-btn:hover:not(:disabled) {
  background: #1e90ff;
}

.member-card {
  position: relative;
  flex: 0 0 min(78vw, 220px);
  scroll-snap-align: start;
  border-radius: 14px;
  border: 1px solid rgba(0, 123, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(0, 123, 255, 0.08) 0%, rgba(8, 12, 18, 0.92) 38%, rgba(6, 8, 12, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 24px rgba(0, 123, 255, 0.08);
  overflow: hidden;
}

@media (min-width: 640px) {
  .member-card {
    flex: 0 0 220px;
  }
}

@media (min-width: 1100px) {
  .members-scroll {
    scroll-snap-type: none;
    overflow-x: auto;
  }

  .member-card {
    flex: 0 0 calc((100% - 4.6rem) / 5);
    max-width: 240px;
  }
}

.member-card-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.38rem 0.72rem 0.42rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #007bff 0%, #0056d6 100%);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.member-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.15rem 1rem 1rem;
  text-align: center;
}

.member-card-avatar-ring {
  position: relative;
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 auto 0.95rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(180deg, #52c4ff 0%, #007bff 55%, #004db8 100%);
  box-shadow: 0 0 22px rgba(0, 123, 255, 0.35);
}

.member-card-avatar-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.member-card-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #0a1018;
  border: 2px solid rgba(8, 12, 18, 0.95);
}

.member-card-avatar--logo {
  object-fit: contain;
  object-position: center;
  padding: 0.65rem;
  filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.35));
}

.member-card-name {
  margin: 0 0 0.28rem;
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
  line-height: 1.2;
}

.member-card-role {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #007bff;
}

.member-card-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: auto;
}

.member-card-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, transform 0.2s ease;
}

.member-card-social-link svg,
.member-card-social-link .site-icon {
  width: 1rem;
  height: 1rem;
}

.member-card-social-link:hover {
  color: #52c4ff;
  transform: translateY(-1px);
}

.member-card-social-link.is-inactive {
  opacity: 0.35;
  cursor: default;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: clamp(0.85rem, 2.5vw, 1.15rem);
  justify-items: stretch;
}

.members-page-block + .members-page-block {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.members-page-heading {
  margin: 0 0 1.15rem;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.members-page .member-card {
  flex: none;
  width: 100%;
  max-width: none;
}

.members-stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.members-stats-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.22);
  background:
    linear-gradient(180deg, rgba(12, 16, 22, 0.96) 0%, rgba(6, 8, 10, 0.98) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.members-stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.members-stat-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--2dx-blue);
}

.members-stat-icon .site-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.members-stat-value {
  display: block;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.1;
  color: #fff;
}

.members-stat-label {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.8);
}

.members-page-heading--lined {
  position: relative;
  padding-bottom: 0.55rem;
}

.members-page-heading--lined::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--2dx-blue), transparent);
}

.members-leadership-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
}

.members-leadership-grid .member-card {
  flex: none;
  width: 100%;
  max-width: none;
}

.members-roster-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.members-roster-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.members-roster-filter select,
.members-roster-search input {
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--2dx-white);
  background: rgba(10, 12, 14, 0.9);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.28);
  border-radius: 4px;
}

.members-roster-filter select {
  padding-right: 1.75rem;
  cursor: pointer;
}

.members-roster-search {
  position: relative;
  display: flex;
  align-items: center;
}

.members-search-icon {
  position: absolute;
  left: 0.65rem;
  width: 0.9rem;
  height: 0.9rem;
  color: rgba(192, 192, 192, 0.65);
  pointer-events: none;
}

.members-roster-search input {
  width: min(100%, 14rem);
  padding-left: 2rem;
}

.members-roster-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.member-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(90deg, rgba(var(--2dx-blue-rgb), 0.06) 0%, rgba(8, 10, 12, 0.95) 100%);
  min-width: 0;
}

.member-row-avatar {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--2dx-blue-rgb), 0.35);
  background: #0a1018;
}

.member-row-avatar--logo {
  object-fit: contain;
  padding: 0.25rem;
}

.member-row-text {
  flex: 1;
  min-width: 0;
}

.member-row-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-row-role {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--2dx-blue);
}

.member-row-trophy {
  flex-shrink: 0;
  color: #f0c040;
}

.member-row-trophy-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.members-roster-empty {
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .members-stats-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .members-leadership-grid,
  .members-roster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .members-stats-bar {
    margin-top: -1.25rem;
  }

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

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

  .members-roster-head {
    flex-direction: column;
    align-items: stretch;
  }

  .members-roster-search input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .members-leadership-grid,
  .members-roster-grid {
    grid-template-columns: 1fr;
  }
}

/* Teams */
.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

.team-card {
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.2);
  background: var(--2dx-graphite);
  overflow: hidden;
}

.team-card-head {
  padding: 1rem;
  background: linear-gradient(135deg, rgba(var(--2dx-blue-rgb), 0.15), transparent);
}

.team-card ul {
  list-style: none;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--2dx-silver);
}

.team-card li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

/* Split / tables */
.split-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.panel-flush {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--2dx-graphite);
}

table.data {
  width: 100%;
  min-width: 260px;
  border-collapse: collapse;
  font-size: clamp(0.8rem, 2.5vw, 0.875rem);
}

table.data th,
table.data td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 640px) {
  table.data th,
  table.data td {
    padding: 0.75rem 1rem;
  }
}

table.data th {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--2dx-silver);
  background: var(--2dx-graphite);
  white-space: nowrap;
}

table.data tr:hover {
  background: rgba(var(--2dx-blue-rgb), 0.05);
}

.live-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.live-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.live-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 12rem;
  color: var(--2dx-silver);
  padding: 1rem;
  text-align: center;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--2dx-graphite);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
}

/* Partners */
.partners-block {
  text-align: center;
}

.partners-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--2dx-silver);
  margin-bottom: 1rem;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  opacity: 0.75;
}

.partner-name {
  font-weight: 700;
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
}

/* Forms */
.input-field,
select.input-field,
textarea.input-field {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.875rem;
  background: var(--2dx-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
}

.input-field:focus {
  outline: none;
  border-color: var(--2dx-blue);
}

label.field {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--2dx-silver);
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-ok {
  background: rgba(var(--2dx-blue-rgb), 0.15);
  border: 1px solid var(--2dx-blue);
  color: var(--2dx-blue);
}

.alert-err {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #f87171;
  color: #f87171;
}

/* Page shells */
.page-shell {
  width: 100%;
  padding: var(--section-y) 0;
  background: var(--2dx-black);
}

.page-shell:first-child {
  padding-top: var(--section-y);
}

.page-shell-narrow {
  max-width: 48rem;
  margin: 0 auto;
}

/* About page */
.about-page {
  --about-line: rgba(var(--2dx-blue-rgb), 0.16);
}

.about-section-label {
  margin: 0 0 clamp(1rem, 3vw, 1.35rem);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.about-section-label--center {
  text-align: center;
}

.about-story-inner {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.about-story-lead {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  line-height: 1.7;
  color: #fff;
}

.about-story-text {
  margin: 0;
  font-size: clamp(0.88rem, 2.2vw, 0.98rem);
  line-height: 1.75;
  color: rgba(192, 192, 192, 0.88);
}

.about-metrics {
  padding-block: 0;
  margin-top: calc(-1 * clamp(0.5rem, 2vw, 1rem));
}

.about-metrics-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--about-line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(12, 14, 18, 0.65);
}

.about-metrics-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  text-align: center;
  border-right: 1px solid var(--about-line);
}

.about-metrics-list li:last-child {
  border-right: none;
}

.about-metric-value {
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  line-height: 1;
  color: var(--2dx-blue);
}

.about-metric-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.75);
}

.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

.about-mv-card {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid var(--about-line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(var(--2dx-blue-rgb), 0.06) 0%, transparent 55%),
    rgba(10, 12, 14, 0.92);
}

.about-mv-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.about-mv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  color: var(--2dx-blue);
  background: rgba(var(--2dx-blue-rgb), 0.12);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.22);
}

.about-mv-icon .site-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.about-mv-title {
  margin: 0;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  letter-spacing: 0.06em;
}

.about-mv-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.about-mv-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.9);
}

.about-mv-check {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--2dx-blue);
}

.about-mv-vision {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(192, 192, 192, 0.9);
}

.about-pillars-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1rem);
}

.about-pillar {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border-top: 2px solid rgba(var(--2dx-blue-rgb), 0.45);
  background: rgba(8, 10, 12, 0.55);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.about-pillar:hover {
  background: rgba(var(--2dx-blue-rgb), 0.06);
  border-top-color: var(--2dx-blue);
}

.about-pillar-icon {
  display: flex;
  margin-bottom: 0.65rem;
  color: var(--2dx-blue);
}

.about-pillar-icon .site-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.about-pillar-title {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-pillar-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.82);
}

.about-motto {
  padding-block: clamp(2rem, 5vw, 3rem);
  border-block: 1px solid var(--about-line);
  background:
    linear-gradient(90deg, rgba(var(--2dx-blue-rgb), 0.08) 0%, transparent 40%),
    rgba(6, 8, 10, 0.95);
}

.about-motto-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 2rem);
}

.about-motto-tag {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.7);
}

.about-motto-line {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-motto-accent {
  color: var(--2dx-blue);
  font-style: italic;
}

.about-motto-mark {
  flex-shrink: 0;
  opacity: 0.22;
  line-height: 0;
  pointer-events: none;
}

.about-motto-logo {
  height: clamp(3.5rem, 10vw, 4.5rem) !important;
  width: auto !important;
  filter: none;
}

.about-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  margin-top: 0.5rem;
}

.about-partner-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: clamp(1.1rem, 3vw, 1.4rem);
  border: 1px solid var(--about-line);
  border-radius: 10px;
  background: rgba(10, 12, 14, 0.88);
}

.about-partner-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 3.25rem;
  margin-bottom: 0.35rem;
}

.about-partner-logo img {
  max-width: 9rem;
  max-height: 2.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.about-partner-fallback {
  font-size: 0.95rem;
  color: #fff;
}

.about-partner-role {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--2dx-blue);
}

.about-partner-name {
  margin: 0;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  line-height: 1.15;
}

.about-partner-blurb {
  margin: 0 0 0.35rem;
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.82);
}

.about-partners-more {
  margin: 1.25rem 0 0;
  text-align: center;
}

.about-join {
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(var(--2dx-blue-rgb), 0.14) 0%, transparent 65%),
    var(--2dx-black);
}

.about-join-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.about-join-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-join-desc {
  margin: 0 0 1.25rem;
  color: rgba(192, 192, 192, 0.88);
  line-height: 1.6;
}

.about-join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

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

  .about-partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-mv-grid,
  .about-metrics-list {
    grid-template-columns: 1fr;
  }

  .about-metrics-list li {
    border-right: none;
    border-bottom: 1px solid var(--about-line);
  }

  .about-metrics-list li:last-child {
    border-bottom: none;
  }

  .about-motto-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-motto-mark {
    display: none;
  }

  .about-pillars-track {
    grid-template-columns: 1fr;
  }
}

.page-title {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
}

.cards-scroll-page {
  margin-top: 1.5rem;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.prize-line {
  color: var(--2dx-blue);
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-top: 0.5rem;
}

.player-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Tournament registration form */
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reg-section {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.reg-section + .reg-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--2dx-line-faint);
}

.reg-section-title {
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--2dx-blue);
}

.reg-optional-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--2dx-silver);
  text-transform: uppercase;
}

.reg-section-note {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.8rem;
  color: var(--2dx-silver);
  line-height: 1.45;
}

.reg-player-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 560px) {
  .reg-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reg-sub-block {
  margin-bottom: 0.85rem;
}

.reg-sub-block:last-child {
  margin-bottom: 0;
}

.reg-sub-label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.9);
}

.field-hint {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--2dx-silver);
}

.reg-error-list {
  margin: 0;
  padding-left: 1.1rem;
}

.reg-submit {
  width: 100%;
  margin-top: 1.25rem;
}

.register-page-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
}

.reg-closed-banner {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 180, 120, 0.35);
  background: rgba(255, 140, 60, 0.08);
  color: rgba(255, 220, 190, 0.95);
  font-size: 0.88rem;
  line-height: 1.55;
}

.reg-closed-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coming-soon-note {
  margin: 0;
  padding: 1rem 1.15rem;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
  color: var(--2dx-silver);
  border: 1px dashed rgba(var(--2dx-blue-rgb), 0.32);
  border-radius: 10px;
  background: rgba(var(--2dx-blue-rgb), 0.06);
}

.reg-form--disabled {
  position: relative;
  opacity: 0.72;
}

.reg-form--disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: not-allowed;
  background: transparent;
}

.reg-form-closed-note {
  margin: 1rem 0 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--2dx-silver);
  border: 1px dashed rgba(var(--2dx-blue-rgb), 0.28);
  background: rgba(var(--2dx-blue-rgb), 0.05);
}

.reg-form-closed-note a {
  color: var(--2dx-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.register-details-section {
  scroll-margin-top: 6rem;
  padding-top: clamp(0.5rem, 2vw, 1rem);
  border-top: 1px solid rgba(var(--2dx-blue-rgb), 0.16);
}

.register-details-head {
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.register-details-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--2dx-blue-rgb), 0.85);
}

.register-details-heading {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.register-details-sub {
  margin: 0;
  max-width: 36rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--2dx-silver);
}

.register-details-section--simple {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.2);
  border-radius: 4px;
  background: rgba(8, 10, 12, 0.55);
}

.register-details-section--simple .register-details-heading {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 700;
}

.register-details-section--simple .register-details-sub {
  margin-bottom: 1rem;
}

.register-details-btn {
  width: 100%;
  max-width: 22rem;
  justify-content: center;
}

/* Simple closed panel (non–Rampage Clash events) */
.event-closed-panel .event-closed-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 180, 120, 0.95);
  border: 1px solid rgba(255, 180, 120, 0.35);
  border-radius: 4px;
  background: rgba(255, 140, 60, 0.08);
}

.event-closed-panel .event-closed-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.event-closed-panel .event-closed-prize {
  margin: 0 0 0.35rem;
  color: var(--2dx-blue);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.event-closed-panel .event-closed-date {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--2dx-silver);
}

.event-closed-panel .event-closed-desc {
  margin: 0 0 1.25rem;
  color: rgba(192, 192, 192, 0.92);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Event — registration closed / external details card */
.event-closed-card {
  margin-top: 0.5rem;
  padding: clamp(1.15rem, 3vw, 1.65rem);
}

.event-closed-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.35rem);
  align-items: start;
}

@media (min-width: 640px) {
  .event-closed-card-inner {
    grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr);
    gap: clamp(1.15rem, 3vw, 1.5rem);
  }
}

.event-closed-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.35rem;
}

.event-closed-logo {
  display: block;
  width: 100%;
  max-width: 9rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.55));
}

.event-closed-body {
  min-width: 0;
}

.event-closed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 190, 130, 0.95);
  border: 1px solid rgba(255, 180, 120, 0.38);
  border-radius: 999px;
  background: rgba(255, 140, 60, 0.1);
}

.event-closed-badge-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 160, 90, 0.95);
  box-shadow: 0 0 10px rgba(255, 140, 60, 0.65);
}

.event-closed-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.event-closed-title-accent {
  color: var(--2dx-blue);
  text-shadow: 0 0 24px rgba(var(--2dx-blue-rgb), 0.4);
}

.event-closed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--2dx-silver);
}

.event-closed-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.event-closed-prize {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  max-width: 20rem;
}

.event-closed-prize-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.event-closed-prize .events-featured-prize-amount {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.event-closed-desc {
  margin: 0 0 1.35rem;
  color: rgba(192, 192, 192, 0.92);
  font-size: 0.92rem;
  line-height: 1.65;
}

.event-closed-desc p {
  margin: 0;
}

.event-closed-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.event-closed-cta-primary {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  box-shadow:
    0 10px 32px rgba(var(--2dx-blue-rgb), 0.28),
    0 0 24px rgba(var(--2dx-blue-rgb), 0.12);
}

.event-closed-cta-hint {
  margin: -0.35rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(192, 192, 192, 0.72);
  letter-spacing: 0.02em;
}

.event-closed-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.event-closed-cta-secondary {
  flex: 1 1 auto;
  min-width: min(100%, 9.5rem);
  justify-content: center;
}

/* Legacy alias */
.event-closed-panel {
  margin-top: 0.5rem;
}

.events-featured-tag--closed {
  color: rgba(255, 190, 130, 0.95);
  border-color: rgba(255, 180, 120, 0.35);
  background: rgba(255, 140, 60, 0.1);
}


.events-up-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reg-file-field input[type="file"]:not(.file-upload-input) {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.reg-logo-preview {
  margin-top: 0.65rem;
  padding: 0.65rem;
  border: 1px solid var(--2dx-line-faint);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  width: fit-content;
}

.reg-logo-preview img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 6px;
}

/* File upload — shared with admin (registration + public forms) */
.file-upload {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--2dx-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%),
    rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.file-upload:focus-within {
  border-color: var(--2dx-line-accent);
  box-shadow: 0 0 0 2px rgba(var(--2dx-blue-rgb), 0.14);
}

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

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.9rem;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to bottom, var(--2dx-btn-top), var(--2dx-btn-bottom));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.file-upload-btn:hover {
  opacity: 0.92;
  border-color: rgba(126, 184, 255, 0.45);
}

.file-upload-name {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(192, 192, 192, 0.65);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-name.has-file {
  color: var(--2dx-white);
}

/* Admin — tournament application roster */
.admin-reg-team-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-reg-team-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--2dx-line-faint);
}

.admin-reg-meta {
  font-size: 0.85rem;
  color: var(--2dx-silver);
  margin-top: 0.5rem;
}

.admin-reg-roster {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-reg-person {
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--2dx-line-faint);
}

.admin-reg-person--leader {
  border-color: rgba(var(--2dx-blue-rgb), 0.28);
}

.admin-reg-person-title {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--2dx-blue);
}

.admin-reg-legacy-list {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--2dx-silver);
  padding-left: 1.1rem;
}

.admin-reg-submitted {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--2dx-silver);
}

@media (min-width: 480px) {
  .player-row {
    flex-direction: row;
  }

  .player-uid {
    max-width: 8rem;
    flex-shrink: 0;
  }
}

/* Homepage dashboard: leaderboard + live match */
.dash-section {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.dash-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

@media (min-width: 960px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.dash-card {
  background: linear-gradient(145deg, rgba(18, 20, 24, 0.98), rgba(10, 11, 14, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.dash-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-card-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  letter-spacing: 0.08em;
  margin: 0;
}

.dash-tabs {
  display: flex;
  gap: 0.35rem;
}

.dash-tabs-page .dash-tab {
  text-decoration: none;
}

.dash-tab {
  background: transparent;
  border: none;
  color: var(--2dx-silver);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: inherit;
}

.dash-tab.is-active {
  color: var(--2dx-blue);
  border-bottom-color: var(--2dx-blue);
}

.dash-lb-panel {
  display: none;
}

.dash-lb-panel.is-active {
  display: block;
}

.dash-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-table {
  width: 100%;
  min-width: 17.5rem;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.dash-table th {
  text-align: left;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--2dx-silver);
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-table td {
  padding: 0.65rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.dash-table-compact th,
.dash-table-compact td {
  padding: 0.45rem 0.25rem;
  font-size: 0.72rem;
}

.col-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.team-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-name-sm {
  font-size: 0.65rem;
}

.team-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team-avatar-fallback {
  background: linear-gradient(135deg, #1a2332, #0d1117);
  color: var(--2dx-blue);
  font-weight: 800;
  font-size: 0.75rem;
}

.col-rank {
  width: 2.5rem;
  text-align: center;
}

.col-points {
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

.rank-medal {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.rank-medal-icon {
  width: 1rem;
  height: 1rem;
}

.rank-gold { color: #f5c542; }
.rank-silver { color: #c0c0c0; }
.rank-bronze { color: #cd7f32; }

.rank-num {
  color: var(--2dx-silver);
  font-size: 0.75rem;
}

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

.dash-card-foot {
  margin-top: 1rem;
  text-align: center;
}

.dash-card-foot .btn-view-all,
.events-section-head .btn-view-all,
.section-head .btn-view-all,
.members-section-head .btn-view-all,
.gallery-section-head--split .btn-view-all,
.dash-card-foot .btn-text-link,
.events-section-head .btn-text-link,
.section-head .btn-text-link,
.members-section-head .btn-text-link,
.gallery-section-head--split .btn-text-link {
  align-self: flex-end;
}

.btn-dash-outline {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.5);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.btn-dash-outline:hover {
  border-color: var(--2dx-blue);
  background: rgba(var(--2dx-blue-rgb), 0.08);
}

.dash-empty {
  color: var(--2dx-silver);
  text-align: center;
  padding: 1.5rem 0.5rem;
  font-size: 0.8rem;
}

/* Live match card */
.dash-live-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dash-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--2dx-blue);
}

.dash-live-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  flex: 1;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.live-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.2s ease-in-out infinite;
}

@keyframes live-pulse {
  50% { opacity: 0.4; }
}

.dash-live-body {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .dash-live-body {
    grid-template-columns: minmax(100px, 38%) 1fr;
    align-items: stretch;
  }
}

.dash-live-map {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 140px;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.2);
}

.dash-live-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 140px;
}

.dash-live-map-placeholder {
  min-height: 140px;
  background: linear-gradient(160deg, #1e3a2f, #0a0c10);
}

.dash-live-map-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.dash-live-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-map-label {
  font-size: 0.7rem;
  color: var(--2dx-silver);
  letter-spacing: 0.05em;
}

.btn-watch-live {
  font-size: 0.7rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.btn-watch-live.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.dash-leaderboard-full {
  padding: 0;
  overflow: hidden;
}

.dash-leaderboard-full .dash-table {
  padding: 0 1rem 1rem;
}

/* Page banners (gallery backgrounds) */
.page-banner {
  position: relative;
  display: block;
  background-color: var(--2dx-black);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: none;
  overflow: visible;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.2) 0%,
      rgba(10, 10, 10, 0.45) 70%,
      var(--2dx-black) 100%
    ),
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.35) 100%);
  pointer-events: none;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(11rem, 30vw, 15rem);
  padding: clamp(1.75rem, 4.5vw, 2.75rem) var(--container-pad);
  box-sizing: border-box;
}

.page-banner-title {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.page-banner-sub {
  margin: 0.35rem 0 0;
  color: var(--2dx-blue);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Section with gallery background */
.section-has-bg {
  position: relative;
  background: var(--2dx-black) center/cover no-repeat;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
  pointer-events: none;
}

.section-bg-content {
  position: relative;
  z-index: 1;
}

/* ——— Events page ——— */
.events-page {
  --events-card-bg: rgba(22, 25, 26, 0.92);
  --events-card-border: rgba(var(--2dx-blue-rgb), 0.14);
}

.events-hero {
  position: relative;
  display: block;
  overflow: visible;
  border-bottom: 1px solid var(--2dx-line-faint);
}

.events-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--2dx-black) center/cover no-repeat;
}

.events-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 85% 75% at 50% 42%, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.88) 100%),
    linear-gradient(to top, var(--2dx-black) 0%, transparent 55%);
  pointer-events: none;
}

.events-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  min-height: clamp(14rem, 38vw, 22rem);
  padding: clamp(2.25rem, 5.5vw, 3.25rem) var(--container-pad);
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.events-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.75);
}

.events-breadcrumb a {
  color: var(--2dx-silver);
  text-decoration: none;
}

.events-breadcrumb a:hover {
  color: var(--2dx-blue);
}

.events-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.85);
}

.events-hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.events-hero-accent {
  color: var(--2dx-blue);
}

.events-hero-desc {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--2dx-silver);
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

.events-section-title {
  margin: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.events-section-head {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.events-btn,
.events-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}

.events-btn-sm {
  min-height: 2.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.68rem;
}

/* Featured event (league banner) */
.events-featured {
  padding: clamp(1.5rem, 4vw, 2.25rem) 0 0;
}

.events-featured-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(14rem, 32vw, 19rem);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(var(--2dx-blue-rgb), 0.12);
  background: var(--events-card-bg);
}

.events-featured-glow {
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(var(--2dx-blue-rgb), 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.events-featured-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.events-featured-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6, 8, 10, 0.98) 0%,
      rgba(6, 8, 10, 0.9) 42%,
      rgba(6, 8, 10, 0.55) 68%,
      rgba(6, 8, 10, 0.25) 100%
    );
  pointer-events: none;
}

.events-featured-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.35rem, 3.5vw, 2rem);
}

.events-featured-inner--with-logo {
  grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 14rem) auto;
}

.events-featured-logo-wrap,
.events-event-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 14rem;
  padding: 0;
  pointer-events: none;
  background: transparent;
}

.events-featured-logo,
.events-event-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(9rem, 22vw, 13.5rem);
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.45));
}

.events-event-logo-wrap {
  background: transparent;
}

/* Event date range (start / end pills) */
.event-date-range {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
  margin: 0.85rem 0 1rem;
}

.event-date-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: min(100%, 8.5rem);
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.32);
  background:
    linear-gradient(145deg, rgba(var(--2dx-blue-rgb), 0.12) 0%, rgba(6, 8, 10, 0.88) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.event-date-pill-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--2dx-blue-rgb), 0.9);
}

.event-date-pill-value {
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #f0f4f8;
}

.event-date-range-sep {
  align-self: center;
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--2dx-blue-rgb), 0.55), transparent);
}

.events-featured .event-date-range {
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}

.page-shell .event-date-range {
  margin: 1rem 0 1.25rem;
}

.events-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.events-featured-tag {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--2dx-blue);
  background: rgba(var(--2dx-blue-rgb), 0.14);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.4);
  box-shadow: 0 0 12px rgba(var(--2dx-blue-rgb), 0.15);
}

.events-featured-tag--live {
  color: #5ee87a;
  background: rgba(94, 232, 122, 0.12);
  border-color: rgba(94, 232, 122, 0.45);
  box-shadow: 0 0 12px rgba(94, 232, 122, 0.2);
}

.events-featured-title {
  margin: 0;
  font-size: clamp(1.5rem, 4.5vw, 2.45rem);
  line-height: 1.02;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.events-featured-accent {
  color: var(--2dx-blue);
  font-style: italic;
  text-shadow: 0 0 28px rgba(var(--2dx-blue-rgb), 0.45);
}

.events-featured-sub {
  margin: 0.5rem 0 1rem;
  max-width: 36rem;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.88);
}

.events-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--2dx-silver);
}

.events-featured-meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.events-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.events-btn--primary {
  box-shadow: 0 8px 28px rgba(var(--2dx-blue-rgb), 0.35);
}

.events-btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 12, 0.55);
}

.events-featured-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  text-align: right;
  min-width: min(100%, 15.5rem);
}

/* Featured side — prize + status (clean, matches site tags) */
.events-featured-prize-card {
  width: 100%;
  min-width: min(100%, 13.5rem);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(212, 175, 90, 0.85);
  background: rgba(8, 10, 12, 0.82);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.events-featured-prize-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.events-featured-prize-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  color: #d4b05a;
}

.events-featured-prize-icon .site-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.events-featured-prize-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.events-featured-prize-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.78);
}

.events-featured-prize-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0;
  line-height: 1.05;
}

.events-featured-prize-currency {
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(212, 176, 90, 0.9);
}

.events-featured-prize-amount {
  font-size: clamp(1.35rem, 3.8vw, 1.75rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
  color: #e8d4a8;
}

.events-featured-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.65rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.events-featured-side-badge--live {
  color: #6fdc8e;
  background: rgba(94, 232, 122, 0.1);
  border-color: rgba(94, 232, 122, 0.35);
}

.events-featured-side-badge--closed {
  color: rgba(192, 192, 192, 0.88);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.events-featured-side-badge-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.95;
}

.events-featured-side-badge--live .events-featured-side-badge-dot {
  animation: events-pulse 2.2s ease-in-out infinite;
}

@keyframes events-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Upcoming cards */
.events-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.events-up-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--events-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.events-up-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.events-up-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.events-up-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-up-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 55%);
  pointer-events: none;
}

.events-up-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  pointer-events: none;
  padding: 0.22rem 0.5rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.events-up-badge--is-open {
  color: var(--2dx-blue);
  background: rgba(var(--2dx-blue-rgb), 0.15);
  border-color: rgba(var(--2dx-blue-rgb), 0.35);
}

.events-up-badge--is-soon {
  color: #ffb347;
  background: rgba(255, 179, 71, 0.12);
  border-color: rgba(255, 179, 71, 0.35);
}

.events-up-badge--is-weekly {
  color: #5ee87a;
  background: rgba(94, 232, 122, 0.1);
  border-color: rgba(94, 232, 122, 0.35);
}

.events-up-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.85rem 0.85rem 1rem;
}

.events-up-card-title {
  margin: 0 0 0.65rem;
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.events-up-card-meta {
  flex: 1;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.85);
}

.events-up-card-meta li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.events-meta-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  color: var(--2dx-blue);
}

.breadcrumb-sep-icon {
  width: 0.65rem;
  height: 0.65rem;
  opacity: 0.55;
}

.link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-chevron-icon {
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
}

.events-up-card-actions {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

/* Past events + winners */
.events-past {
  padding: var(--section-y) 0;
}

.events-past-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
}

.events-past-summary {
  position: relative;
}

.events-past-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 16, 22, 0.98) 0%, rgba(6, 8, 10, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.events-past-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.events-past-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-past-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 10, 0.92) 0%, transparent 55%);
}

.events-past-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.28rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5ee87a;
  background: rgba(94, 232, 122, 0.15);
  border: 1px solid rgba(94, 232, 122, 0.45);
  box-shadow: 0 0 14px rgba(94, 232, 122, 0.2);
}

.events-past-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(0.85rem, 2vw, 1.15rem);
}

.events-past-date {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.7);
}

.events-past-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1rem, 2.5vw, 1.28rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.events-past-details {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}

.events-past-details div {
  display: grid;
  gap: 0.2rem;
}

.events-past-details dt {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.65);
}

.events-past-details dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

.events-past-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.events-winners-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  height: fit-content;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--2dx-blue-rgb), 0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.98) 0%, rgba(4, 6, 8, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 48px rgba(0, 0, 0, 0.5);
}

.events-winners-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.events-winners-title {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.events-winners-nav {
  display: flex;
  gap: 0.4rem;
}

.events-winners-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.35);
  border-radius: 4px;
  background: rgba(var(--2dx-blue-rgb), 0.12);
  color: var(--2dx-blue);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.events-winners-nav-btn:hover {
  background: rgba(var(--2dx-blue-rgb), 0.22);
  border-color: rgba(var(--2dx-blue-rgb), 0.55);
  color: #fff;
}

.events-winners-nav-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.events-winners-stage {
  display: block;
}

.events-podium {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: clamp(0.5rem, 2vw, 1rem);
  align-items: end;
  width: 100%;
  padding-bottom: 0.35rem;
}

.events-podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.events-podium-item--is-gold {
  order: 2;
  transform: translateY(-0.65rem);
}

.events-podium-item--is-silver {
  order: 1;
}

.events-podium-item--is-bronze {
  order: 3;
}

.events-podium-trophy {
  display: flex;
  line-height: 1;
}

.events-podium-trophy-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.events-podium-item--is-gold .events-podium-trophy {
  color: #ffd700;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.55));
}

.events-podium-item--is-gold .events-podium-trophy-icon {
  width: 1.45rem;
  height: 1.45rem;
}

.events-podium-item--is-silver .events-podium-trophy {
  color: #d8d8d8;
  filter: drop-shadow(0 0 6px rgba(192, 192, 192, 0.45));
}

.events-podium-item--is-bronze .events-podium-trophy {
  color: #cd7f32;
  filter: drop-shadow(0 0 6px rgba(205, 127, 50, 0.45));
}

.events-podium-stand {
  position: relative;
  padding-bottom: 0.35rem;
}

.events-podium-stand::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88%;
  height: 0.35rem;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.events-podium-item--is-gold .events-podium-stand::after {
  height: 0.55rem;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.35), transparent);
}

.events-podium-item--is-silver .events-podium-stand::after {
  background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.28), transparent);
}

.events-podium-item--is-bronze .events-podium-stand::after {
  background: linear-gradient(90deg, transparent, rgba(205, 127, 50, 0.28), transparent);
}

.events-podium-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(4rem, 11vw, 5.5rem);
  height: clamp(4rem, 11vw, 5.5rem);
  border-radius: 50%;
  padding: 3px;
  background: rgba(8, 10, 12, 0.9);
  overflow: hidden;
}

.events-podium-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.8), rgba(80, 80, 80, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.events-podium-item--is-gold .events-podium-ring {
  width: clamp(4.75rem, 13vw, 6.25rem);
  height: clamp(4.75rem, 13vw, 6.25rem);
  box-shadow:
    0 0 28px rgba(255, 215, 0, 0.35),
    0 0 60px rgba(255, 215, 0, 0.12);
}

.events-podium-item--is-gold .events-podium-ring::before {
  background: linear-gradient(180deg, #ffe566 0%, #ffd700 45%, #b8860b 100%);
}

.events-podium-item--is-silver .events-podium-ring::before {
  background: linear-gradient(180deg, #f0f0f0 0%, #c0c0c0 50%, #707070 100%);
}

.events-podium-item--is-bronze .events-podium-ring::before {
  background: linear-gradient(180deg, #e8a55a 0%, #cd7f32 50%, #8b4513 100%);
}

.events-podium-ring img {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
  background: #0a1018;
}

.events-podium-fallback {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--2dx-blue);
}

.events-podium-rank {
  margin: 0.1rem 0 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(192, 192, 192, 0.65);
}

.events-podium-name {
  margin: 0;
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.events-podium-prize {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.events-podium-item--is-gold .events-podium-prize {
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

.events-podium-item--is-silver .events-podium-prize {
  color: #d0d0d0;
}

.events-podium-item--is-bronze .events-podium-prize {
  color: #e8a55a;
}

/* Categories */
.events-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(1rem, 3vw, 1.5rem);
}

.events-category-card {
  padding: clamp(0.95rem, 2vw, 1.2rem);
  background: var(--events-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.events-category-card:hover {
  border-color: rgba(var(--2dx-blue-rgb), 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.events-category-body {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.events-category-copy {
  flex: 1;
  min-width: 0;
}

.events-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 10px;
  background: rgba(var(--2dx-blue-rgb), 0.15);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.events-category-card--purple .events-category-icon {
  background: rgba(160, 120, 255, 0.15);
  border-color: rgba(160, 120, 255, 0.3);
}

.events-category-card--purple .events-category-icon .site-icon {
  color: #c4b5fd;
}

.events-category-card--green .events-category-icon {
  background: rgba(94, 232, 122, 0.12);
  border-color: rgba(94, 232, 122, 0.3);
}

.events-category-card--green .events-category-icon .site-icon {
  color: #86efac;
}

.events-category-card--orange .events-category-icon {
  background: rgba(255, 179, 71, 0.12);
  border-color: rgba(255, 179, 71, 0.3);
}

.events-category-card--orange .events-category-icon .site-icon {
  color: #fbbf24;
}

.events-category-card--red .events-category-icon {
  background: rgba(255, 90, 90, 0.12);
  border-color: rgba(255, 90, 90, 0.3);
}

.events-category-card--red .events-category-icon .site-icon {
  color: #fca5a5;
}

.events-category-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.events-category-card p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.85);
}

/* Statistics */
.events-stats-wrap {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.events-stats-page-title {
  margin: 0 0 0.35rem;
}

.events-stats-page-desc {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  max-width: 36rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--2dx-silver);
}

.events-stats-group {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.events-stats-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.events-stats-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}

.events-stats-event-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.8vw, 1.4rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.events-stats-meta {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(192, 192, 192, 0.78);
}

.events-stats-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.events-stats-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.35);
  background: rgba(var(--2dx-blue-rgb), 0.1);
  color: #9ec5ff;
}

.events-stats-status-pill--live {
  border-color: rgba(94, 232, 122, 0.45);
  background: rgba(94, 232, 122, 0.12);
  color: #86efac;
}

.events-stats-register-link {
  font-size: 0.68rem;
}

.events-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
}

.events-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1rem, 2.5vw, 1.35rem) 0.85rem;
  background: var(--events-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.events-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: rgba(var(--2dx-blue-rgb), 0.12);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.22);
}

.events-stat-icon--money {
  background: rgba(94, 232, 122, 0.1);
  border-color: rgba(94, 232, 122, 0.28);
}

.events-stat-icon--crown {
  background: rgba(240, 192, 64, 0.12);
  border-color: rgba(240, 192, 64, 0.28);
}

.events-stat-icon--pending {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
}

.events-stat-icon--open {
  background: rgba(94, 232, 122, 0.1);
  border-color: rgba(94, 232, 122, 0.28);
}

.events-stat-icon--closed {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.28);
}

.events-stat-value {
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  line-height: 1.1;
  color: var(--2dx-blue);
}

.events-stat-label {
  margin-top: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.8);
}

@media (max-width: 1100px) {
  .events-upcoming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .events-featured-inner {
    grid-template-columns: 1fr;
  }

  .events-featured-logo-wrap {
    order: -1;
    max-width: min(72vw, 12rem);
    margin: 0 auto;
  }

  .events-featured-side {
    align-items: stretch;
    text-align: left;
    min-width: 0;
  }

  .events-featured-prize-card {
    min-width: 0;
  }

  .events-featured-side-badge {
    align-self: flex-start;
  }

  .events-past-grid {
    grid-template-columns: 1fr;
  }

  .events-upcoming-grid,
  .events-categories-grid,
  .events-stats-grid {
    grid-template-columns: 1fr;
  }

  .events-podium {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
  }

  .events-podium-item,
  .events-podium-item--is-gold {
    order: unset;
    transform: none;
  }

  .events-podium-item--is-gold {
    order: -1;
  }

  .events-winners-head {
    flex-wrap: wrap;
  }
}

/* ——— Shared subpage hero (Gallery, Partners, Contact, Members, About) ——— */
.subpage-hero {
  position: relative;
  display: block;
  overflow: visible;
  border-bottom: 1px solid var(--2dx-line-faint);
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--2dx-black) center/cover no-repeat;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 85% 75% at 50% 42%, rgba(10, 10, 10, 0.22) 0%, rgba(10, 10, 10, 0.82) 100%),
    linear-gradient(to top, var(--2dx-black) 0%, transparent 55%);
  pointer-events: none;
}

.subpage-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  min-height: clamp(14rem, 38vw, 22rem);
  padding: clamp(2.25rem, 5.5vw, 3.25rem) var(--container-pad);
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.subpage-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.75);
}

.subpage-breadcrumb a {
  color: var(--2dx-silver);
  text-decoration: none;
}

.subpage-breadcrumb a:hover {
  color: var(--2dx-blue);
}

.subpage-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.85);
}

.subpage-hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.subpage-hero-accent {
  color: var(--2dx-blue);
}

.subpage-hero-desc {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--2dx-silver);
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  line-height: 1.55;
}

@media (max-width: 767px) {
  .subpage-hero-inner,
  .events-hero-inner {
    min-height: auto;
    padding-top: clamp(2rem, 8vw, 2.75rem);
    padding-bottom: clamp(2rem, 8vw, 2.75rem);
  }

  .subpage-hero-title,
  .events-hero-title {
    font-size: clamp(1.35rem, 7.5vw, 2.15rem);
    line-height: 1.12;
  }

  .subpage-hero-desc,
  .events-hero-desc {
    font-size: clamp(0.82rem, 3.6vw, 0.92rem);
    padding-inline: 0.15rem;
  }

  .subpage-breadcrumb,
  .events-breadcrumb {
    font-size: 0.65rem;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .page-banner-inner {
    min-height: auto;
    padding-top: clamp(2rem, 8vw, 2.5rem);
    padding-bottom: clamp(2rem, 8vw, 2.5rem);
  }

  .page-banner-title {
    font-size: clamp(1.35rem, 7vw, 2rem);
    overflow-wrap: break-word;
  }
}

.subpage-section-title {
  margin: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.subpage-section-desc {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  color: rgba(192, 192, 192, 0.82);
  font-size: clamp(0.82rem, 2.2vw, 0.92rem);
  line-height: 1.55;
}

/* ——— Gallery page ——— */
.gallery-page,
.partners-page,
.contact-page {
  --page-card-bg: rgba(14, 18, 24, 0.96);
  --page-card-border: rgba(var(--2dx-blue-rgb), 0.2);
}

.gallery-categories {
  margin-top: -2.5rem;
  padding-bottom: 0.65rem;
  position: relative;
  z-index: 3;
}

.gallery-categories-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0;
}

.gallery-categories-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-categories-bar {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  min-width: min(100%, max-content);
  padding: 0.4rem;
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(14, 20, 32, 0.96) 0%, rgba(8, 11, 18, 0.98) 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-category-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.5rem 0.95rem 0.5rem 0.5rem;
  font-family: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(210, 218, 230, 0.88);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.gallery-category-btn:hover {
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.gallery-category-btn.is-active {
  color: #fff;
  border-color: rgba(var(--2dx-blue-rgb), 0.55);
  background: linear-gradient(
    135deg,
    rgba(var(--2dx-blue-rgb), 0.42) 0%,
    rgba(var(--2dx-blue-rgb), 0.16) 100%
  );
  box-shadow:
    0 6px 18px rgba(var(--2dx-blue-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.gallery-category-btn:focus-visible {
  outline: 2px solid rgba(126, 184, 255, 0.75);
  outline-offset: 2px;
}

.gallery-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(180, 198, 224, 0.95);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-category-btn.is-active .gallery-category-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.gallery-category-label {
  padding-right: 0.1rem;
}

.gallery-category-icon .site-icon {
  width: 0.88rem;
  height: 0.88rem;
}

.gallery-section-head {
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.gallery-section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gallery-section-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1rem);
  align-items: stretch;
}

.gallery-featured-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--page-card-border);
  background: var(--page-card-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-featured-main-media {
  position: relative;
  min-height: clamp(10rem, 22vw, 14rem);
  background: center/cover no-repeat;
}

.gallery-featured-main-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 10, 0.92) 0%, transparent 60%);
}

.gallery-featured-main-body {
  padding: clamp(1rem, 2.5vw, 1.25rem);
}

.gallery-featured-album-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.gallery-featured-album-desc {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.88);
}

.gallery-featured-album-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--2dx-silver);
}

.gallery-featured-album-meta li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gallery-featured-cta {
  width: 100%;
  justify-content: center;
}

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

.gallery-part-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  min-height: 6.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--2dx-graphite);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.gallery-part-card img {
  width: 100%;
  height: 100%;
  min-height: 6.5rem;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-part-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 10, 0.9) 0%, rgba(6, 8, 10, 0.2) 55%, transparent 100%);
  pointer-events: none;
}

.gallery-part-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.65rem;
}

.gallery-part-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.gallery-part-count {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(192, 192, 192, 0.85);
}

.gallery-part-count-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.gallery-part-card:hover img {
  transform: scale(1.06);
}

.gallery-recent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 0.85rem);
}

.gallery-recent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.gallery-recent-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-recent-count {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: rgba(6, 8, 10, 0.72);
  border-radius: 4px;
}

.gallery-recent-count-icon {
  width: 0.7rem;
  height: 0.7rem;
}

.gallery-recent-title {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
}

.gallery-recent-card:hover img {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.gallery-recent-empty {
  margin-top: 1rem;
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
}

.gallery-video-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.gallery-video-card:hover {
  text-decoration: none;
  color: inherit;
}

.gallery-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  aspect-ratio: 16 / 10;
}

.gallery-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 8, 10, 0.35);
}

.gallery-video-play-icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: rgba(var(--2dx-blue-rgb), 0.92);
  color: #fff;
  box-shadow: 0 0 24px rgba(var(--2dx-blue-rgb), 0.45);
}

.gallery-video-duration {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.18rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: rgba(6, 8, 10, 0.85);
  border-radius: 3px;
}

.gallery-video-copy {
  display: block;
  padding: 0.55rem 0.15rem 0;
}

.gallery-video-title {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.gallery-video-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.62rem;
  line-height: 1.4;
  color: rgba(192, 192, 192, 0.8);
}

.gallery-video-card:hover .gallery-video-thumb img {
  transform: scale(1.05);
}

.gallery-stats-band {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  background:
    linear-gradient(90deg, rgba(var(--2dx-blue-rgb), 0.14) 0%, rgba(var(--2dx-blue-rgb), 0.06) 50%, rgba(var(--2dx-blue-rgb), 0.14) 100%),
    rgba(8, 12, 18, 0.98);
  border-block: 1px solid rgba(var(--2dx-blue-rgb), 0.25);
}

.gallery-stats-band-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-stats-band-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gallery-stats-band-icon {
  display: flex;
  color: var(--2dx-blue);
}

.gallery-stats-band-icon .site-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.gallery-stats-band-value {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.05;
  color: #fff;
}

.gallery-stats-band-label {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.78);
}

.gallery-share-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--page-card-border);
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(var(--2dx-blue-rgb), 0.12) 0%, transparent 70%),
    var(--page-card-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gallery-share-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.gallery-share-desc {
  margin: 0;
  max-width: 32rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.88);
}

.gallery-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
  max-height: 90vh;
  background: var(--2dx-graphite);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.2);
  padding: 0.85rem;
}

.gallery-lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: calc(90vh - 4rem);
  object-fit: contain;
}

.gallery-lightbox-title {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(10, 10, 10, 0.75);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-close-icon {
  width: 1.1rem;
  height: 1.1rem;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

/* ——— Partners page ——— */
.partners-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background:
    linear-gradient(135deg, rgba(var(--2dx-blue-rgb), 0.08) 0%, transparent 45%),
    var(--page-card-bg);
  border: 1px solid var(--page-card-border);
}

.partners-featured-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--2dx-blue);
  background: rgba(var(--2dx-blue-rgb), 0.12);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.28);
}

.partners-featured-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  text-transform: uppercase;
}

.partners-featured-desc {
  margin: 0 0 1rem;
  color: rgba(192, 192, 192, 0.85);
  line-height: 1.55;
  max-width: 34rem;
}

.partners-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.partners-logo-frame--featured {
  flex-shrink: 0;
  width: clamp(11rem, 24vw, 15rem);
  aspect-ratio: 1;
  padding: 0.3rem;
  overflow: hidden;
  background: rgba(8, 10, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.partners-logo-frame--featured img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.22);
}

.partners-logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.partners-featured-name {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(1rem, 3vw, 1.5rem);
}

.partners-logo-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: clamp(6.75rem, 15vw, 8.75rem);
  padding: clamp(0.65rem, 1.5vw, 0.9rem);
  background: var(--page-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.partners-logo-card .partners-logo-frame {
  flex: 1;
  min-height: clamp(4.25rem, 11vw, 5.5rem);
  padding: 0.4rem 0.55rem;
}

.partners-logo-card:hover {
  border-color: rgba(var(--2dx-blue-rgb), 0.32);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.partners-logo-card:hover .partners-logo-frame img {
  opacity: 1;
}

.partners-logo-card .partners-logo-frame img {
  opacity: 0.95;
  filter: brightness(1.02);
}

.partners-logo-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  font-size: clamp(0.68rem, 1.6vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  color: var(--2dx-silver);
}

.partners-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(1rem, 3vw, 1.5rem);
}

.partners-tier-card {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: var(--page-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 100%;
}

.partners-tier-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 0.35rem;
  background: rgba(var(--2dx-blue-rgb), 0.12);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.25);
}

.partners-tier-card--community .partners-tier-icon {
  background: rgba(160, 120, 255, 0.12);
  border-color: rgba(160, 120, 255, 0.28);
}

.partners-tier-card--shield .partners-tier-icon {
  background: rgba(94, 232, 122, 0.1);
  border-color: rgba(94, 232, 122, 0.28);
}

.partners-tier-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partners-tier-card p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(192, 192, 192, 0.82);
}

.partners-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background:
    linear-gradient(135deg, rgba(var(--2dx-blue-rgb), 0.08) 0%, transparent 50%),
    var(--page-card-bg);
  border: 1px solid var(--page-card-border);
}

.partners-cta-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--2dx-blue);
}

/* ——— Contact page ——— */
.contact-cards {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.contact-card {
  position: relative;
  padding: clamp(1.15rem, 2.5vw, 1.35rem);
  min-height: 100%;
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(18, 26, 40, 0.96) 0%, rgba(8, 12, 20, 0.98) 100%);
  border: 1px solid rgba(126, 184, 255, 0.16);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 184, 255, 0.75), transparent);
  opacity: 0.55;
  transition: opacity 0.22s ease;
}

.contact-card:hover {
  border-color: rgba(126, 184, 255, 0.38);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(126, 184, 255, 0.08);
  transform: translateY(-3px);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card-body {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.contact-card-copy {
  flex: 1;
  min-width: 0;
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 11px;
  background: rgba(var(--2dx-blue-rgb), 0.14);
  border: 1px solid rgba(var(--2dx-blue-rgb), 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-card-icon--location {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.32);
}

.contact-card-icon--location .site-icon {
  color: #7dd3fc;
}

.contact-card-icon--clock {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
}

.contact-card-icon--clock .site-icon {
  color: #6ee7b7;
}

.contact-card-icon--discord {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(167, 139, 250, 0.35);
}

.contact-card-icon--discord .site-icon {
  color: #c4b5fd;
}

.contact-card-title {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(192, 198, 210, 0.8);
}

.contact-card-value {
  margin: 0 0 0.5rem;
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  font-weight: 700;
  line-height: 1.4;
  color: #f4f8ff;
  word-break: break-word;
}

.contact-card-value a {
  color: #8ec8ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card-value a:hover {
  color: #c8e4ff;
  text-decoration: none;
}

.contact-card-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #ddd6fe !important;
}

.contact-card-cta:hover {
  background: rgba(139, 92, 246, 0.28);
  color: #fff !important;
}

.contact-card-note {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.55;
  color: rgba(176, 186, 204, 0.82);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.phone-intl-field .phone-intl {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.phone-intl-picker {
  position: relative;
  flex: 0 0 auto;
  min-width: 7.25rem;
  max-width: 9rem;
}

.phone-intl-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding-right: 1.6rem;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.phone-intl-flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-intl-trigger-code {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone-intl-trigger-caret {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.phone-intl-picker.is-open .phone-intl-trigger-caret {
  transform: translateY(-25%) rotate(-135deg);
}

.phone-intl-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: min(18rem, 92vw);
  max-height: 15rem;
  overflow: auto;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  border: 1px solid rgba(126, 184, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.98), rgba(8, 12, 20, 0.98));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.phone-intl-options {
  margin: 0;
  padding: 0;
  list-style: none;
}

.phone-intl-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.45rem 0.5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(236, 242, 255, 0.92);
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.phone-intl-option:hover,
.phone-intl-option.is-selected {
  background: rgba(43, 113, 196, 0.22);
  color: #fff;
}

.phone-intl-option-name {
  flex: 1;
  min-width: 0;
}

.phone-intl-option-dial {
  flex-shrink: 0;
  font-weight: 700;
  color: rgba(180, 210, 255, 0.9);
}

.phone-intl-number {
  flex: 1;
  min-width: 0;
}

.phone-intl-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(192, 192, 192, 0.65);
}

@media (max-width: 480px) {
  .phone-intl {
    flex-direction: column;
  }

  .phone-intl-picker {
    width: 100%;
    max-width: none;
  }
}

.contact-form-wrap {
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background: var(--page-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-side-block {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: var(--page-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.85rem;
}

.contact-side-title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-social-link .contact-social-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-social-link--facebook .contact-social-icon {
  color: #1877f2;
}

.contact-social-link--instagram .contact-social-icon {
  color: #e1306c;
}

.contact-social-link--discord .contact-social-icon {
  color: #5865f2;
}

.contact-social-label {
  line-height: 1.1;
}

.contact-social-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.contact-social-link--facebook:hover {
  border-color: rgba(24, 119, 242, 0.45);
  background: rgba(24, 119, 242, 0.08);
}

.contact-social-link--facebook:hover .contact-social-icon {
  color: #4d9bff;
}

.contact-social-link--instagram:hover {
  border-color: rgba(225, 48, 108, 0.4);
  background: rgba(225, 48, 108, 0.08);
}

.contact-social-link--instagram:hover .contact-social-icon {
  color: #f472b6;
}

.contact-social-link--discord:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.08);
}

.contact-social-link--discord:hover .contact-social-icon {
  color: #818cf8;
}

.contact-social-link:hover .contact-social-icon {
  transform: scale(1.08);
}

.contact-side-block-faq {
  padding: clamp(1.1rem, 2.5vw, 1.4rem);
}

.contact-faq {
  display: grid;
  gap: 0.75rem;
}

.contact-faq-item {
  border: 1px solid rgba(116, 186, 255, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(13, 20, 34, 0.92), rgba(7, 12, 22, 0.9));
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-faq-item summary {
  list-style: none;
}

.contact-faq-item summary::-webkit-details-marker {
  display: none;
}

.contact-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 3.5rem;
  padding: 1.15rem 1.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  color: rgba(244, 248, 255, 0.95);
  transition: color 0.2s ease, background 0.2s ease;
}

.contact-faq-summary-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  line-height: 1.45;
  padding-right: 0.35rem;
}

.contact-faq-chevron {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(210, 223, 245, 0.72);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-faq-chevron-icon {
  width: 0.82rem;
  height: 0.82rem;
}

.contact-faq-item:hover {
  border-color: rgba(116, 186, 255, 0.38);
  box-shadow: 0 8px 20px rgba(5, 10, 21, 0.45);
}

.contact-faq-item:hover .contact-faq-summary {
  color: #ffffff;
}

.contact-faq-item:hover .contact-faq-chevron,
.contact-faq-summary:hover .contact-faq-chevron {
  color: #d9ebff;
  border-color: rgba(126, 184, 255, 0.45);
  background: rgba(31, 79, 139, 0.24);
}

.contact-faq-item[open] {
  border-color: rgba(126, 184, 255, 0.52);
  box-shadow: 0 10px 24px rgba(7, 20, 41, 0.42);
}

.contact-faq-item[open] .contact-faq-summary {
  border-bottom: 1px solid rgba(126, 184, 255, 0.2);
  background: rgba(var(--2dx-blue-rgb), 0.06);
}

.contact-faq-item[open] .contact-faq-chevron {
  transform: rotate(180deg);
  color: #ffffff;
  border-color: rgba(126, 184, 255, 0.56);
  background: rgba(43, 113, 196, 0.3);
}

.contact-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.contact-faq-item[open] .contact-faq-answer {
  grid-template-rows: 1fr;
}

.contact-faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.contact-faq-answer-inner > p {
  margin: 0;
  padding: 1.05rem 1.35rem 1.25rem;
  font-size: 0.76rem;
  line-height: 1.7;
  color: rgba(206, 216, 234, 0.94);
}

.contact-side-cta {
  text-align: center;
}

.contact-side-cta-text {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .gallery-featured-grid {
    grid-template-columns: 1fr;
  }

  .gallery-recent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-categories-bar {
    width: max-content;
    max-width: none;
  }

  .gallery-category-btn {
    padding: 0.48rem 0.85rem 0.48rem 0.48rem;
    font-size: 0.6rem;
  }

  .gallery-recent-grid,
  .gallery-video-grid,
  .gallery-stats-band-list,
  .partners-featured-card,
  .partners-logo-grid,
  .partners-tiers-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-featured-parts {
    grid-template-columns: 1fr;
  }

  .gallery-share-card,
  .partners-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners-logo-frame--featured {
    width: min(100%, 15rem);
    margin-inline: auto;
  }

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

  .join-clan-form-grid {
    grid-template-columns: 1fr;
  }

  .join-clan-form-span {
    grid-column: span 1;
  }
}

/* ——— Join Clan application ——— */
.join-clan-form {
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.join-clan-form-section + .join-clan-form-section {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding-top: clamp(1rem, 2.5vw, 1.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.join-clan-form-heading {
  margin: 0 0 0.35rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-transform: uppercase;
}

.join-clan-form-desc {
  margin: 0 0 1rem;
  color: rgba(192, 192, 192, 0.82);
  font-size: 0.82rem;
  line-height: 1.5;
}

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

.join-clan-form-span {
  grid-column: span 2;
}

.join-clan-textarea {
  resize: vertical;
  min-height: 7rem;
}

.join-clan-submit {
  width: 100%;
  margin-top: 1.25rem;
}

.join-clan-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* ——— Logo splash loader ——— */
.logo-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--2dx-black);
  pointer-events: all;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.logo-loader--out {
  opacity: 0;
  pointer-events: none;
}

.logo-loader--done {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.logo-loader-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.logo-loader-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(var(--2dx-blue-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--2dx-blue-rgb), 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 45%, #000 8%, transparent 88%);
  pointer-events: none;
}

.logo-loader-bolt {
  display: none;
}

.logo-loader-bolt--1 {
  left: 52%;
  transform: rotate(18deg) translateX(-3rem);
}

.logo-loader-bolt--2 {
  left: 48%;
  transform: rotate(-12deg) translateX(2.5rem);
}

.logo-loader-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vh, 1.5rem);
  padding: clamp(0.75rem, 2vh, 1rem) clamp(1rem, 4vw, 1.5rem) clamp(1rem, 2.5vh, 1.35rem);
  max-width: 96vw;
}

.logo-loader-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  isolation: isolate;
  background: transparent;
}

.logo-loader-svg-wrap {
  display: block;
  line-height: 0;
}

.logo-loader-svg-wrap svg,
.logo-loader-brand-img {
  display: block;
  width: min(42rem, 96vw);
  height: auto;
  max-height: 12.5rem;
  object-fit: contain;
}

.logo-loader-brand-img {
  mix-blend-mode: normal;
  background: transparent;
}

/* Visible before JS animates (fallback if GSAP fails) */
.logo-loader:not(.logo-loader--out) .logo-loader-svg-wrap svg {
  overflow: visible;
}

.logo-loader.is-ready-fallback .logo-loader-part--2d,
.logo-loader.is-ready-fallback .logo-loader-part--x,
.logo-loader.is-ready-fallback .logo-loader-part--sub,
.logo-loader.is-ready-fallback .logo-loader-brand-img {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.logo-loader-progress {
  width: min(11.5rem, 34vw);
  max-width: 13.5rem;
  height: 1.5px;
  margin-top: 0;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.logo-loader-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #007bff, #7eb8ff, #ffffff);
  border-radius: inherit;
  box-shadow: 0 0 6px rgba(var(--2dx-blue-rgb), 0.35);
}

/* CSS fallback when GSAP is unavailable */
.logo-loader--css .logo-loader-part--2d {
  animation: logo-loader-2d-in 0.55s ease forwards;
}

.logo-loader--css .logo-loader-part--x {
  animation: logo-loader-x-in 0.48s cubic-bezier(0.34, 1.45, 0.64, 1) 0.48s forwards;
  opacity: 0;
}

.logo-loader--css .logo-loader-part--sub {
  animation: logo-loader-sub-in 0.45s ease 0.95s forwards;
  opacity: 0;
}

.logo-loader--css .logo-loader-brand-img {
  animation: logo-loader-brand-in 0.7s ease forwards;
  opacity: 0;
}

.logo-loader--css .logo-loader-progress-fill {
  animation: logo-loader-bar 1.85s ease-in-out forwards;
}

@keyframes logo-loader-brand-in {
  from {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes logo-loader-2d-in {
  from {
    opacity: 0;
    transform: translateX(-1.75rem);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes logo-loader-x-in {
  from {
    opacity: 0;
    transform: translateX(2.5rem) scale(1.55);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes logo-loader-sub-in {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
    letter-spacing: 0.5em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.32em;
  }
}

@keyframes logo-loader-bar {
  to {
    transform: scaleX(1);
  }
}

/* ——— Home hero — mobile + tablet (stacked, content-sized) ——— */
@media (max-width: 1023px) {
  .hero-cinematic {
    height: auto;
    min-height: calc(100dvh - var(--header-total-h));
    max-height: none;
    overflow: visible;
    padding-top: clamp(0.35rem, 1.5vh, 0.85rem);
  }

  .hero-inner {
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: clamp(0.5rem, 2.5vh, 1.15rem) 0 clamp(0.35rem, 1.5vh, 0.65rem);
  }

  .hero-layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: clamp(0.35rem, 1.8vh, 0.85rem);
    width: 100%;
  }

  /* Logo first, then title / copy / buttons */
  .hero-visual-zone {
    order: -1;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 0;
    flex-shrink: 0;
  }

  .hero-content {
    order: 0;
    max-width: 100%;
    flex: 0 1 auto;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .hero-clan-electro-wrap {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-title-clan {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: clamp(0.25rem, 1.2vh, 0.45rem);
  }

  .hero-title-clan .electro-text {
    text-align: center;
  }

  .hero-title-clan .electro-chars {
    flex-wrap: wrap;
    white-space: normal;
    max-width: 100%;
    justify-content: center;
  }

  .hero-clan-accent-underline {
    left: 12%;
    right: 12%;
    transform-origin: center center;
  }

  .hero-subline {
    margin-bottom: clamp(0.35rem, 1.2vh, 0.55rem);
    max-width: min(100%, 22rem);
    margin-inline: auto;
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-align: center;
  }

  .hero-motto-rule {
    margin-inline: auto;
    margin-bottom: clamp(0.3rem, 1vh, 0.5rem);
  }

  .hero-motto {
    margin-bottom: clamp(0.45rem, 1.5vh, 0.85rem);
    max-width: min(100%, 20rem);
    margin-inline: auto;
    text-align: center;
  }

  .hero-cta {
    max-width: 100%;
    margin-inline: auto;
    align-items: stretch;
    gap: clamp(0.4rem, 1.2vh, 0.65rem);
  }

  .hero-logo-stage {
    width: min(78vw, 20rem);
    min-height: 0;
    margin-inline: auto;
  }

  .hero-logo-electro-img {
    width: 100%;
    height: auto;
    max-width: min(78vw, 20rem);
    max-height: clamp(6.5rem, 22vh, 11rem);
    object-fit: contain;
  }
}

@media (max-width: 1023px) and (max-height: 720px) {
  .hero-cinematic {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 0.4rem;
  }

  .hero-layout {
    gap: 0.3rem;
  }

  .hero-logo-electro-img {
    max-height: clamp(4.75rem, 16vh, 7.5rem);
  }

  .hero-motto {
    margin-bottom: 0.45rem;
  }
}

@media (max-width: 1023px) and (max-height: 720px) and (max-width: 767px) {
  .hero-title-clan .electro-text {
    font-size: clamp(1.45rem, 4.5vh + 0.5rem, 2.15rem);
  }
}

@media (max-width: 1023px) and (max-height: 720px) and (min-width: 768px) {
  .hero-title-clan .electro-text {
    font-size: clamp(1.65rem, 4.2vh + 0.45rem, 2.35rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title-clan .electro-text {
    font-size: clamp(2.15rem, 5.2vw + 0.5rem, 3.35rem);
  }

  .hero-subline {
    font-size: clamp(0.62rem, 1.1vw + 0.35rem, 0.74rem);
  }

  .hero-motto {
    font-size: clamp(0.92rem, 1.6vw + 0.4rem, 1.12rem);
  }

  .hero-logo-stage {
    width: min(52vw, 24rem);
  }

  .hero-logo-electro-img {
    max-width: min(52vw, 24rem);
    max-height: clamp(8rem, 24vh, 13.5rem);
  }

  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: min(100%, 28rem);
  }

  .hero-cta .btn {
    width: auto;
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 10.5rem;
    min-height: 2.75rem;
  }
}

/* ——— Home page — mobile ——— */
@media (max-width: 767px) {
  .hero-title-clan .electro-text {
    font-size: clamp(1.65rem, 9.5vw + 0.15rem, 2.55rem);
  }

  .hero-subline {
    font-size: clamp(0.52rem, 2.6vw + 0.2rem, 0.68rem);
  }

  .hero-motto {
    font-size: clamp(0.82rem, 3.4vw + 0.15rem, 0.98rem);
  }

  .hero-cta {
    gap: 0.38rem;
    max-width: 17.5rem;
    margin-inline: auto;
  }

  .hero-cta .btn,
  .hero-cta .btn-hero-cta {
    width: 100%;
    flex: 1 1 100%;
    min-height: 2.1rem;
    padding: 0.38rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    gap: 0.35rem;
  }

  .hero-cta .btn-hero-icon {
    width: 0.82rem;
    height: 0.82rem;
  }

  .hero-logo-stage {
    width: min(84vw, 18rem);
  }

  .hero-logo-electro-img {
    max-width: min(84vw, 18rem);
    max-height: clamp(6rem, 28vw, 10rem);
  }

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

  .features-trust--hero .features-trust-item {
    padding: 0.55rem 0.65rem;
    gap: 0.55rem;
  }

  .features-trust--hero .features-trust-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-trust--hero .features-trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-trust--hero .features-trust-item:nth-child(3),
  .features-trust--hero .features-trust-item:nth-child(4) {
    border-bottom: none;
  }

  .features-trust--hero .feature-text p {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .section-head-tournaments {
    align-items: flex-start;
  }

  .section-title-stack {
    width: 100%;
  }

  .section-title-emphasis {
    font-size: clamp(1.2rem, 6.5vw, 1.55rem);
  }

  #tournaments .cards-scroll-home {
    margin-inline: calc(var(--container-pad) * -1);
    padding-inline: var(--container-pad);
    scroll-padding-inline: var(--container-pad);
  }

  .t-card {
    flex: 0 0 min(84vw, 17.5rem);
  }

  .t-card-media {
    min-height: clamp(17rem, 72vw, 22rem);
    aspect-ratio: 3 / 4;
  }

  .members-section .members-scroll-wrap {
    margin-inline: calc(var(--container-pad) * -1);
  }

  .members-section .members-scroll-wrap--controls {
    padding-inline: clamp(2rem, 8vw, 2.35rem);
  }

  .members-section .members-scroll {
    padding-inline: var(--container-pad);
    scroll-padding-inline: var(--container-pad);
  }

  .members-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .member-card {
    flex: 0 0 min(82vw, 16.5rem);
  }

  .dash-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .dash-tabs::-webkit-scrollbar {
    display: none;
  }

  .dash-tab {
    flex-shrink: 0;
  }

  .dash-live-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .dash-live-foot .btn-watch-live {
    width: 100%;
    text-align: center;
  }

  .dash-card-foot .btn-text-link {
    align-self: flex-start;
  }
}

@media (max-width: 380px) {
  .hero-title-clan .electro-text {
    font-size: clamp(1.45rem, 9.5vw, 1.75rem);
  }

  .features-trust--hero .feature-text h3 {
    font-size: 0.58rem;
  }

  .features-trust--hero .feature-icon-wrap {
    width: 2rem;
    height: 2rem;
  }
}
