:root {
  color-scheme: dark;
  --page: #0b0e12;
  --page-deep: #07090c;
  --surface: #11161c;
  --surface-solid: #11161c;
  --surface-muted: #151b22;
  --ink: #f3f5f7;
  --ink-soft: #c7ced5;
  --muted: #8e9aa7;
  --muted-2: #687481;
  --line: #242d37;
  --line-strong: #34404d;
  --blue: #f5b800;
  --blue-hover: #ffd84d;
  --blue-soft: rgba(245, 184, 0, 0.12);
  --green: #43e6a0;
  --green-bright: #43e6a0;
  --red: #ff5e69;
  --orange: #ff955e;
  --amber: #f5b800;
  --violet: #a975ff;
  --radius-xs: 7px;
  --radius-sm: 11px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max: 1240px;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--page);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 74% -10%, rgba(245, 184, 0, 0.07), transparent 28rem),
    linear-gradient(180deg, #0d1116 0, var(--page) 44rem);
}

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

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

.topbar {
  min-height: calc(68px + env(safe-area-inset-top));
  border-color: rgba(52, 64, 77, 0.62);
  background: rgba(11, 14, 18, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand strong {
  letter-spacing: 0.14em;
}

.brand small,
.admin-chip {
  color: var(--muted);
}

.public-nav {
  border-color: var(--line);
  background: #080b0e;
}

.public-nav a {
  color: var(--muted);
}

.public-nav a:hover,
.public-nav a.active {
  color: #111318;
  background: var(--blue);
}

.social-button,
.nav-toggle,
.button.ghost {
  color: var(--ink-soft);
  border-color: var(--line-strong);
  background: rgba(20, 26, 33, 0.72);
}

.button {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface-muted);
  box-shadow: none;
}

.button:hover {
  border-color: #4a5867;
  background: #1a222b;
  box-shadow: none;
}

.button.primary {
  color: #111318;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(245, 184, 0, 0.18);
}

.button.primary:hover {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.test-ribbon {
  color: #e9d37b;
  border-color: rgba(245, 184, 0, 0.18);
  background: #151207;
}

.test-ribbon span {
  color: #111318;
  background: var(--blue);
}

.is-public #main-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.home-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 64px;
  padding: 72px 0 62px;
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 27%;
  top: 8%;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.09), transparent 68%);
  filter: blur(10px);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow > span {
  width: 20px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(245, 184, 0, 0.55);
}

.home-hero h1 {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(48px, 6.1vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.058em;
}

.home-hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin: 25px 0 0;
  color: #aeb7c0;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.server-readback-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 11px;
}

.server-readback-line strong {
  color: var(--ink);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.status-pill i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
}

.status-pill.online {
  color: var(--green);
}

.status-pill.offline,
.status-pill.warning {
  color: var(--blue-hover);
}

.neon-b-sign {
  position: absolute;
  z-index: 0;
  top: 44px;
  right: calc(50% + 6px);
  width: 160px;
  height: 198px;
  transform: rotate(4deg);
  opacity: 0.84;
  pointer-events: none;
}

.neon-b-sign::before,
.neon-b-sign::after {
  content: "";
  position: absolute;
  background: #25282c;
}

.neon-b-sign::before {
  top: -30px;
  left: 81px;
  width: 2px;
  height: 34px;
}

.neon-b-sign::after {
  top: -31px;
  left: 55px;
  width: 54px;
  height: 2px;
}

.neon-b-sign small {
  position: absolute;
  left: 7px;
  bottom: 3px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.38em;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.34);
}

.neon-b-sign span {
  position: absolute;
  right: 0;
  top: 0;
  color: transparent;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 158px;
  line-height: 1;
  -webkit-text-stroke: 4px #ffc400;
  text-shadow:
    0 0 3px #ffe171,
    0 0 11px rgba(255, 196, 0, 0.94),
    0 0 28px rgba(255, 153, 0, 0.56),
    0 0 64px rgba(255, 137, 0, 0.28);
  animation: dark-v12-neon-fault 8.4s steps(1, end) infinite;
}

.neon-b-sign i {
  position: absolute;
  right: 20px;
  bottom: -7px;
  width: 108px;
  height: 14px;
  border-radius: 50%;
  background: rgba(245, 184, 0, 0.28);
  filter: blur(13px);
  animation: dark-v12-neon-spill 8.4s steps(1, end) infinite;
}

@keyframes dark-v12-neon-fault {
  0%, 4.8%, 5.4%, 6.1%, 18.8%, 19.6%, 20.3%, 42.8%, 43.6%, 64%, 65.2%, 71%, 72.3%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  5%, 5.8%, 19.1%, 20%, 43.1%, 64.4%, 71.4% {
    opacity: 0.07;
    filter: brightness(0.22);
  }
  5.2%, 19.35%, 43.35%, 64.8%, 71.8% {
    opacity: 0.48;
    filter: brightness(0.66);
  }
}

@keyframes dark-v12-neon-spill {
  0%, 4.8%, 5.4%, 6.1%, 18.8%, 19.6%, 20.3%, 42.8%, 43.6%, 64%, 65.2%, 71%, 72.3%, 100% {
    opacity: 1;
  }
  5%, 5.8%, 19.1%, 20%, 43.1%, 64.4%, 71.4% {
    opacity: 0.04;
  }
  5.2%, 19.35%, 43.35%, 64.8%, 71.8% {
    opacity: 0.38;
  }
}

.community-chat-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid #2b3540;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #171d24, #0f1419 68%);
  box-shadow: var(--shadow);
}

.community-chat-card > header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 26, 33, 0.76);
}

.community-chat-heading {
  display: grid;
  gap: 7px;
}

.community-chat-card > header h2 {
  margin: 0;
  font-size: 22px;
}

.chat-section-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #0b0f13;
}

.chat-section-tabs button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
}

.chat-section-tabs button:hover,
.chat-section-tabs button:focus-visible {
  color: var(--ink);
}

.chat-section-tabs button[aria-selected="true"] {
  color: #17130a;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(255, 196, 0, 0.2);
}

.chat-section-panel[hidden] {
  display: none;
}

.chat-history {
  height: 338px;
  overflow-y: auto;
  padding: 8px 8px 12px 14px;
  scrollbar-color: #35404b transparent;
  overscroll-behavior: contain;
}

.chat-load-older {
  width: 100%;
  min-height: 34px;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.chat-load-older:hover {
  color: var(--blue-hover);
}

.chat-message-list {
  display: grid;
}

.chat-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 8px;
  border-radius: 10px;
}

.chat-message:hover {
  background: rgba(255, 255, 255, 0.025);
}

.chat-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #111318;
  border-radius: 9px;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-message > div {
  min-width: 0;
}

.chat-message header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.chat-message strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-message time {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 8px;
}

.chat-message p {
  margin: 4px 0 0;
  color: #c4cbd2;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-empty-state {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  color: var(--muted);
}

.chat-empty-state > span,
.chat-composer-disabled > span {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  border-radius: 11px;
  background: var(--blue-soft);
  font-weight: 900;
}

.chat-empty-state strong {
  color: var(--ink);
  font-size: 12px;
}

.chat-empty-state p {
  max-width: 290px;
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.55;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin: 0 14px 12px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #0b0f13;
}

.chat-composer textarea {
  width: 100%;
  min-height: 44px;
  max-height: 105px;
  padding: 8px;
  resize: vertical;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
  line-height: 1.45;
}

.chat-composer textarea::placeholder {
  color: var(--muted-2);
}

.chat-composer .button {
  align-self: start;
  min-height: 44px;
}

.chat-composer > small {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 8px;
}

.chat-composer-disabled {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  background: #0b0f13;
}

.chat-composer-disabled > span {
  width: 36px;
  height: 36px;
}

.chat-composer-disabled p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.chat-community-link {
  display: block;
  padding: 12px 16px;
  color: #8ebfff;
  border-top: 1px solid var(--line);
  background: rgba(84, 168, 255, 0.05);
  font-size: 9px;
  font-weight: 750;
  text-align: center;
}

.complaint-private-note {
  min-height: 338px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-content: center;
  gap: 16px;
  padding: 34px;
  background:
    radial-gradient(circle at 12% 45%, rgba(255, 196, 0, 0.12), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.018), transparent);
}

.complaint-private-note > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #17130a;
  border-radius: 14px;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(255, 196, 0, 0.2);
  font-size: 24px;
  font-weight: 950;
}

.complaint-private-note strong {
  color: var(--ink);
  font-size: 15px;
}

.complaint-private-note p {
  max-width: 410px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.complaint-composer textarea {
  min-height: 74px;
}

.complaint-delivery-note {
  margin: 0;
  padding: 12px 16px;
  color: #8ebfff;
  border-top: 1px solid var(--line);
  background: rgba(84, 168, 255, 0.05);
  font-size: 9px;
  font-weight: 750;
  text-align: center;
}

.complaint-login {
  min-height: 100px;
}

.section {
  padding-top: 108px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
  gap: 50px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 15px 0 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-head > p,
.section-intro-action > p,
.daily-cases-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-intro-action,
.daily-cases-intro {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.loadout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.loadout-card {
  min-height: 295px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.loadout-visual {
  position: relative;
  min-height: 295px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #303840, #12171c 66%);
}

.loadout-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-loadout-card .loadout-visual img {
  padding: 18px 8px 0;
  object-fit: contain;
}

.loadout-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 90px;
  font-weight: 900;
}

.loadout-state {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 8px;
  color: var(--green);
  border: 1px solid rgba(67, 230, 160, 0.24);
  border-radius: 5px;
  background: rgba(7, 12, 10, 0.78);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.loadout-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.loadout-copy small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.loadout-copy h3 {
  margin: 9px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.loadout-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.loadout-copy strong {
  margin-top: 28px;
  color: var(--ink);
  font-size: 22px;
}

.loadout-copy .included-label {
  color: #d4b6ff;
  font-size: 12px;
}

.vip-arsenal-gateway {
  min-height: 310px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #171320, var(--surface));
}

.vip-gateway-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}

.vip-gateway-copy > strong {
  margin-top: 18px;
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vip-gateway-copy > span:not(.status-pill) {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.vip-gateway-copy small {
  margin-top: 22px;
  color: #bba1e5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.vip-gateway-copy b {
  margin-top: 16px;
  color: var(--blue-hover);
  font-size: 11px;
}

.vip-gateway-art {
  position: relative;
  min-height: 310px;
}

.vip-gateway-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface), transparent 38%);
}

.vip-gateway-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-gateway-art em {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 18px;
  color: #cfd5db;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.tournament-server-overview {
  margin-top: 90px;
  padding: 42px;
  color: #15130b;
  border-radius: var(--radius-lg);
  background: var(--blue);
}

.tournament-server-overview > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.tournament-server-overview .status-pill {
  color: rgba(21, 19, 11, 0.75);
}

.tournament-server-overview h3 {
  margin: 13px 0 0;
  font-size: clamp(34px, 4vw, 52px);
}

.tournament-server-overview header p {
  max-width: 650px;
  margin: 11px 0 0;
  color: rgba(21, 19, 11, 0.72);
  line-height: 1.6;
}

.tournament-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tournament-server-overview .button.primary {
  color: #f3f5f7;
  border-color: #111318;
  background: #111318;
}

.tournament-server-overview .button.secondary {
  color: #111318;
  border-color: rgba(21, 19, 11, 0.25);
  background: rgba(255, 255, 255, 0.2);
}

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

.tournament-overview-grid article {
  padding: 22px;
  border: 1px solid rgba(21, 19, 11, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.tournament-overview-grid h4 {
  margin: 9px 0 0;
  font-size: 20px;
}

.tournament-overview-grid dl {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
}

.tournament-overview-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tournament-overview-grid dt,
.tournament-overview-grid p {
  color: rgba(21, 19, 11, 0.62);
}

.bracket-placeholder > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 7px;
  margin-top: 15px;
  font-size: 10px;
}

.bracket-placeholder p {
  margin-top: 14px;
  font-size: 10px;
  line-height: 1.5;
}

.vip-tier-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.vip-tier-tabs button {
  min-height: 58px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.vip-tier-tabs button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-muted);
}

.vip-tier-tabs button.active {
  color: #111318;
  border-color: var(--violet);
  background: var(--violet);
}

.vip-tier-stage .price-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  min-height: 430px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.vip-card-visual {
  position: relative;
  grid-row: 1 / 3;
  min-height: 430px;
  margin: 0;
  background: #080b0e;
}

.vip-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, var(--surface));
}

.vip-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-card-visual figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 20px;
  color: #efe8ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.vip-card-copy,
.vip-card-purchase {
  padding: 32px 36px 0;
}

.vip-card-copy h3 {
  margin: 24px 0 0;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.vip-card-copy > p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.vip-feature-list {
  display: grid;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  color: #c8cfd6;
  list-style: none;
  font-size: 10px;
}

.vip-feature-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
}

.vip-benefits {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.vip-benefits summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.vip-benefits summary small {
  color: var(--muted-2);
  font-size: 8px;
}

.vip-card-purchase {
  align-self: end;
  padding-bottom: 32px;
}

.vip-card-purchase > p {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
}

.vip-card-purchase small {
  color: var(--muted);
}

.vip-card-purchase strong {
  font-size: 25px;
}

.catalog-note {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 10px;
}

.daily-cases-section {
  position: relative;
}

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

.daily-case {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 20px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 24%, rgba(245, 184, 0, 0.12), transparent 48%),
    linear-gradient(155deg, #171d24, #0d1217);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.daily-case::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}

.daily-case:not(:disabled):hover {
  z-index: 1;
  border-color: rgba(245, 184, 0, 0.62);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), 0 0 30px rgba(245, 184, 0, 0.09);
  transform: translateY(-4px);
}

.daily-case > span {
  position: relative;
  width: 76px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 2px solid rgba(245, 184, 0, 0.5);
  border-radius: 10px 10px 15px 15px;
  background: #12171c;
  box-shadow: inset 0 0 24px rgba(245, 184, 0, 0.08);
}

.daily-case > span i {
  position: absolute;
  left: 17px;
  right: 17px;
  top: -17px;
  height: 20px;
  border: 2px solid rgba(245, 184, 0, 0.5);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.daily-case > span b {
  font-size: 29px;
}

.daily-case > strong {
  font-size: 15px;
}

.daily-case > small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daily-case.opening > span {
  animation: daily-case-open 0.42s ease-in-out infinite alternate;
}

.daily-case.opened {
  border-color: rgba(67, 230, 160, 0.6);
  box-shadow: 0 0 32px rgba(67, 230, 160, 0.12);
}

@keyframes daily-case-open {
  from { transform: rotate(-3deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-5px); }
}

.daily-case-state {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.daily-case-state strong {
  font-size: 12px;
}

.daily-case-state span {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.daily-case-state time {
  color: var(--blue-hover);
}

.home-final-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 110px;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #171d24, #0d1116);
}

.home-final-cta h2 {
  margin: 16px 0 0;
  font-size: clamp(35px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.footer {
  color: var(--muted);
  border-color: var(--line);
  background: #080a0d;
}

.footer strong {
  color: var(--ink);
}

.flash {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-muted);
}

.panel,
.price-card,
.table-wrap,
.stat-card,
.form-card {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

input,
textarea,
select {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #0d1217;
}

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

  .home-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .neon-b-sign {
    right: 48%;
    opacity: 0.72;
  }

  .public-nav a {
    padding-inline: 10px;
  }
}

@media (max-width: 940px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .community-chat-card {
    max-width: 680px;
  }

  .neon-b-sign {
    top: 52px;
    right: 4%;
    opacity: 0.62;
  }

  .loadout-grid,
  .tournament-overview-grid {
    grid-template-columns: 1fr;
  }

  .tournament-server-overview > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .vip-tier-stage .price-card {
    grid-template-columns: 1fr;
  }

  .vip-card-visual {
    grid-row: auto;
    min-height: 320px;
  }

  .vip-card-visual::after {
    background: linear-gradient(0deg, var(--surface), transparent 38%);
  }
}

@media (max-width: 760px) {
  .is-public #main-content {
    padding-inline: 16px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .vip-arsenal-gateway {
    grid-template-columns: 1fr;
  }

  .vip-gateway-art {
    min-height: 240px;
  }

  .vip-gateway-art::after {
    background: linear-gradient(0deg, transparent, var(--surface));
  }

  .tournament-server-overview {
    padding: 30px 22px;
  }

  .vip-tier-tabs {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    overflow-x: auto;
  }

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

  .home-final-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 34px 26px;
  }
}

@media (max-width: 520px) {
  .home-hero h1 {
    font-size: 46px;
  }

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

  .community-chat-card > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-section-tabs {
    width: 100%;
  }

  .chat-section-tabs button {
    flex: 1;
  }

  .chat-history {
    height: 390px;
  }

  .complaint-private-note {
    min-height: 390px;
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-composer .button {
    width: 100%;
  }

  .chat-composer-disabled {
    grid-template-columns: 36px 1fr;
  }

  .chat-composer-disabled .button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .loadout-visual {
    min-height: 230px;
  }

  .vip-card-copy,
  .vip-card-purchase {
    padding-inline: 23px;
  }

  .daily-case-grid {
    gap: 8px;
  }

  .daily-case {
    min-height: 165px;
    padding: 14px;
  }

  .daily-case-state {
    align-items: flex-start;
    flex-direction: column;
  }

  .daily-case-state span {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neon-b-sign span,
  .neon-b-sign i,
  .daily-case.opening > span {
    animation: none;
  }
}

.home-news-section {
  padding-top: 88px;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #141a21, #0e1217);
}

.news-card-visual {
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 30%, rgba(245, 184, 0, 0.18), transparent 36%),
    #090c10;
}

.news-card-visual img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.news-card:hover .news-card-visual img {
  transform: scale(1.025);
}

.news-card-visual > span,
.news-empty > span {
  color: var(--blue);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 36px rgba(245, 184, 0, 0.28);
}

.news-card > div {
  padding: 24px;
}

.news-card time,
.news-article-page time {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.news-card h2,
.news-card h3 {
  margin: 12px 0 10px;
  line-height: 1.12;
}

.news-card h2 {
  font-size: 27px;
}

.news-card h3 {
  font-size: 22px;
}

.news-card h2 a,
.news-card h3 a {
  color: var(--ink);
}

.news-card p {
  min-height: 4.5em;
  color: var(--muted);
  line-height: 1.5;
}

.news-card-link {
  display: inline-flex;
  margin-top: 15px;
  color: var(--blue);
  font-weight: 800;
}

.news-empty {
  display: flex;
  align-items: center;
  min-height: 190px;
  gap: 28px;
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 22, 28, 0.72);
}

.news-empty strong {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
}

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

.news-page-hero,
.news-article-page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.news-page-hero {
  padding: 92px 0 52px;
}

.news-page-hero h1,
.news-article-page h1 {
  margin: 10px 0 16px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.news-page-hero > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 18px;
}

.news-page-hero .button {
  margin-top: 20px;
}

.news-list-section {
  padding-top: 0;
  padding-bottom: 100px;
}

.news-card-large .news-card-visual {
  min-height: 260px;
}

.news-article-page {
  max-width: 900px;
  padding: 58px 0 110px;
}

.news-breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
}

.news-breadcrumb a {
  color: var(--ink-soft);
}

.news-article-page h1 {
  max-width: 850px;
  font-size: clamp(42px, 6vw, 76px);
}

.news-article-summary {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.5;
}

.news-article-lead {
  margin: 42px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #080b0e;
}

.news-article-lead img {
  width: 100%;
  height: auto;
}

.news-article-body {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
  margin: 1.6em 0 0.55em;
  color: var(--ink);
  line-height: 1.15;
}

.news-article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-article-page > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 52px;
}

.registration-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.registration-summary-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #151b22, #0f1419);
}

.registration-summary-grid span,
.registration-summary-grid strong,
.registration-summary-grid small {
  display: block;
}

.registration-summary-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registration-summary-grid strong {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.registration-summary-grid small,
.registration-note,
.admin-statistics-heading p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.registration-panel {
  margin-bottom: 52px;
}

.registration-note {
  max-width: 820px;
  margin: -2px 0 18px;
}

.registration-table {
  min-width: 1040px;
}

.registration-table code,
.registration-table small {
  display: block;
}

.registration-table code {
  color: var(--ink-soft);
  font-size: 10px;
  white-space: nowrap;
}

.registration-table small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.registration-account strong {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registration-steam-id a {
  color: var(--blue-hover);
}

.registration-empty {
  color: var(--muted);
  font-size: 10px;
}

.registration-statuses {
  display: grid;
  gap: 6px;
}

.registration-statuses .status-pill {
  font-size: 8px;
}

.admin-statistics-heading {
  margin: 0 0 20px;
}

.admin-statistics-heading h2 {
  margin: 8px 0 6px;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.035em;
}

.admin-statistics-heading p {
  max-width: 720px;
  margin: 0;
}

.vip-wallet-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -22px 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(75, 190, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(7, 22, 36, 0.94), rgba(8, 14, 24, 0.9));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.vip-wallet-action strong,
.vip-wallet-action p {
  display: block;
}

.vip-wallet-action strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
}

.vip-wallet-action p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.anew-topup-panel {
  margin-top: 18px;
}

.anew-topup-panel .wallet-topup label {
  display: grid;
  gap: 7px;
}

.anew-topup-panel .wallet-topup label > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anew-topup-panel .wallet-topup select {
  width: 100%;
}

@media (max-width: 940px) {
  .home-news-grid,
  .news-list-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .home-news-grid,
  .news-list-grid,
  .registration-summary-grid {
    grid-template-columns: 1fr;
  }

  .news-page-hero {
    padding-top: 58px;
  }

  .news-empty {
    align-items: flex-start;
  }

  .vip-wallet-action,
  .anew-topup-panel .wallet-topup {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .vip-wallet-action {
    display: grid;
    margin-top: -10px;
  }
}
