:root {
  --bg: #0b0b0d;
  --panel: #121317;
  --panel-2: #171a20;
  --soft: #a7abb4;
  --text: #f5f7fa;
  --line: rgba(255,255,255,0.08);
  --accent: #9094FF;
  --accent-2: #B2CCFB;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

:root {
  --cod-accent: #B2CCFB;     /* default theme */
  --cod-accent-soft: rgba(178,204,251,0.25);
}

/* MW = Blue */
.theme-mw {
  --cod-accent: #3d91ff;
  --cod-accent-soft: rgba(61,162,255,0.25);
}

/* MWII = Green */
.theme-mwii {
  --cod-accent: #3dff8a;
  --cod-accent-soft: rgba(61,255,138,0.25);
}

/* MWIII = Red */
.theme-mwiii {
  --cod-accent: #ff3434;
  --cod-accent-soft: rgba(255,77,77,0.25);
}

/* Vanguard = Gold */
.theme-vg {
  --cod-accent: #ff950a;
  --cod-accent-soft: rgba(212,166,58,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 157, 255, 0.14), transparent 25%),
    radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 22%),
    linear-gradient(180deg, #0a0a0b 0%, #0c0d10 45%, #090909 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.cod-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(14px);
}

.cod-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-mark {
  color: var(--accent);
  font-size: 0.96rem;
}

.brand-title {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
}

.brand-sub {
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.nav-links, .nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link-item {
  padding: 9px 12px;
  color: #d9dde3;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-game-icon {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: transform 0.16s ease, opacity 0.16s ease, filter 0.16s ease;
}

.nav-game-icon {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: transform 0.16s ease, opacity 0.16s ease, filter 0.16s ease;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  background: linear-gradient(90deg, var(--accent), #B2CCFB);
  color: #fff;
  padding: 11px 15px;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(255,106,0,0.22);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #0b0c0f;
  padding: 16px 20px 20px;
}

.mobile-menu.open { display: block; }
.mobile-stack { display: grid; gap: 8px; }

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,8,0.95) 0%, rgba(10,10,12,0.82) 30%, rgba(10,10,12,0.44) 58%, rgba(10,10,12,0.86) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.05) 0%, rgba(10,10,10,0.2) 35%, rgba(10,10,12,0.92) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 28px 46px;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 760px);
  gap: 34px;
  align-items: end;
}

.hero-rail {
  display: grid;
  gap: 12px;
  align-self: center;
}

.hero-rail .eyebrow {
  color: var(--accent-2);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.hero-jumps {
  display: grid;
  gap: 9px;
  max-width: 260px;
}

.hero-jumps a {
  color: #d7d9de;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-jumps a:hover { color: white; }

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

.hero-kicker {
  color: var(--accent-2);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.hero-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.95;
  max-width: 9ch;
}

.hero-desc {
  margin: 18px 0 0;
  color: #e8ebef;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.6;
  max-width: 58ch;
}

.hero-quote {
  margin-top: 18px;
  color: #c6cad1;
  font-style: italic;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-cod,
.btn-cod-alt {
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cod {
  background: linear-gradient(90deg, var(--accent), #B2CCFB);
  color: white;
}

.btn-cod-alt {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
}

.page-shell,
.home-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px;
}

.intel-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-radius: 18px;
  margin-top: -26px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.intel-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dde1e8;
  background: rgba(255,255,255,0.03);
  font-size: 0.92rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.side-panel,
.content-panel,
.promo-panel,
.home-panel,
.card-grid article,
.game-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.panel-title {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  margin: 0 0 16px;
}

.toc-list,
.quick-list {
  display: grid;
  gap: 9px;
}

.toc-list a,
.quick-list a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #d7dbe2;
  background: rgba(255,255,255,0.025);
  border: 1px solid transparent;
  transition: 0.18s ease;
  font-weight: 650;
}

.toc-list a:hover,
.quick-list a:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--line);
  color: white;
}

.content-panel {
  padding: 22px;
  overflow: hidden;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.feature-card {
  position: relative;
  /*overflow: hidden;*/
  border-radius: 18px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;

  background-image: var(--card-image);
  background-size: cover;
  background-position: var(--card-position, center center);
  background-repeat: no-repeat;

  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.48) 38%,
    rgba(0,0,0,0.16) 62%,
    rgba(0,0,0,0.00) 100%
  );
}

.feature-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}

.feature-kicker {
  color: var(--cod-accent);
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.feature-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #f3f3f3;
  max-width: 80%;
}

.feature-text {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 82%;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}

.article-content {
  line-height: 1.72;
  color: #edf0f3;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.02;
}

.article-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 1rem 0 1rem;
}

.article-content h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  margin-top: 2.6rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.article-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-top: 1.7rem;
}

.article-content p,
.article-content li {
  color: #e2e6eb;
}

.article-content img {
  border-radius: 18px;
  margin: 1rem 0;
  border: 1px solid var(--line);
}

.article-content blockquote {
  margin: 1rem 0;
  border-left: 4px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1rem;
  color: #f1f3f6;
  background: rgba(255,255,255,0.03);
  border-radius: 0 14px 14px 0;
}

.article-content pre {
  overflow-x: auto;
  background: #0a0c11;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.article-content code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.96rem;
  overflow: hidden;
  border-radius: 18px;
}

.article-content table th,
.article-content table td {
  border: 1px solid rgba(255,255,255,0.09);
  padding: 12px 14px;
  vertical-align: top;
}

.article-content table th {
  background: rgba(255,255,255,0.05);
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}

.command-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, var(--cod-accent-soft), rgba(255,255,255,0.02));
  border: 1px solid var(--cod-accent-soft);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 10px 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}



.command-card:hover {
  border-color: var(--cod-accent);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transform: translateY(-1px);
}

.command-main {
  min-width: 0;
  flex: 1;
}

.command-label {
  color: var(--cod-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.command-text {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.96rem;
  word-break: break-word;
}

.command-copy {
  flex: 0 0 auto;
  border: 1px solid var(--cod-accent-soft);
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}

.command-copy:hover {
  border-color: var(--cod-accent);
  background: var(--cod-accent-soft);
}

.command-copy:active {
  transform: scale(0.97);
}

.command-copy.copied {
  background: var(--cod-accent-soft);
  border-color: var(--cod-accent);
  color: white;
}

.command-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.command-info-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #f5f7fa;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.18s ease;
}

.command-info-btn:hover {
  border-color: var(--cod-accent);
  background: var(--cod-accent-soft);
  color: white;
}

.command-info-pop {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.96);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
}

.command-info-title {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--cod-accent);
  margin-bottom: 8px;
}

.command-info-body {
  color: #dfe4ea;
  line-height: 1.55;
  font-size: 0.95rem;
}

.command-info-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #f5f7fa;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.command-info-btn:hover {
  transform: scale(1.08);
  border-color: var(--cod-accent);
  background: var(--cod-accent-soft);
}

.command-info-btn::after {
  content: "Info";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);

  padding: 4px 8px;
  border-radius: 6px;

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;

  color: white;
  background: rgba(10,10,14,0.95);
  border: 1px solid var(--line);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.command-info-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.note-box,
.info-box {
  border-radius: 18px;
  padding: 16px 18px;
  margin: 16px 0;
  border: 1px solid var(--line);
}

.note-box {
  background: rgba(255,255,255,0.03);
}

.info-box {
  background: rgba(255,106,0,0.08);
  border-color: rgba(255,106,0,0.18);
}

.note-title {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.promo-panel {
  padding: 18px;
  margin-top: 20px;
}

.loading-state,
.error-state {
  text-align: center;
  padding: 48px 20px;
  color: #d4d7dd;
}

.spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--accent);
  margin: 0 auto 16px;
  animation: spin 0.9s linear infinite;
}

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

.home-hero {
  min-height: 78vh;
}

.home-panel {
  padding: 22px;
  margin-top: 26px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-heading p {
  color: var(--soft);
  margin: 0;
  max-width: 58ch;
}

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

.game-card {
  overflow: hidden;
  transition: 0.24s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.game-thumb {
  aspect-ratio: 1.75 / 1;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  position: relative;
}

.game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.88));
}

.game-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  font-family: "Oswald", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.game-body {
  padding: 16px 18px 18px;
}

.game-body p {
  color: #d3d8df;
  margin: 0 0 14px;
  line-height: 1.6;
}

.footer {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding: 26px 28px 50px;
  color: var(--soft);
  text-align: center;
}

@media (max-width: 1180px) {
  .hero-grid,
  .section-grid,
  .card-grid,
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-rail { order: 2; }
}

@media (max-width: 920px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .section-grid,
  .card-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .side-panel {
    position: static;
  }
  .hero {
    min-height: 64vh;
  }
}

@media (max-width: 640px) {
  .cod-nav-inner,
  .page-shell,
  .home-shell,
  .hero-grid,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand-title { font-size: 1.35rem; }
  .hero-title { max-width: 100%; }
  .intel-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

table img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

table img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

.copy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: linear-gradient(180deg, #202020 0%, #141414 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  -webkit-tap-highlight-color: transparent;
}

.copy-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cod-accent);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.copy-btn:active {
  transform: translateY(0) scale(0.97);
}

.copy-btn:focus-visible {
  outline: none;
  border-color: var(--cod-accent);
  box-shadow:
    0 0 0 3px rgba(0, 76, 255, 0.22),
    0 8px 18px rgba(0,0,0,0.3);
}

.copy-btn.copied {
  background: linear-gradient(180deg, var(--cod-accent));
  border-color: var(--cod-accent);
  color: #fff;
}

.copy-btn.copied .copy-btn-text {
  animation: copyPop 0.25s ease;
}

@keyframes copyPop {
  0%   { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .copy-btn {
    min-width: 100px;
    height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy-btn {
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  }

  .copy-btn:hover,
  .copy-btn:active {
    transform: none;
  }

  .copy-btn.copied .copy-btn-text {
    animation: none;
  }
}

.wz-logo {
  height: 500px;
  width: 1200px;
  vertical-align: middle;
  margin-right: 6px;
}

.camo-logo {
  height: 400px;
  width: auto;
  align-content: center;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.event-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 18px 20px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.event-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-icon {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.event-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.event-version {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 3px;
}

.event-command {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  font-family: Consolas, monospace;
  font-size: 0.85rem;
  word-break: break-word;
}

.event-footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.event-icon-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.command-text-wrap,
.event-command-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.command-text,
.event-command {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.command-text.collapsed,
.event-command.collapsed {
  max-height: calc(1.5em * 3);
}

.command-text.expanded,
.event-command.expanded {
  max-height: 1000px;
}

.command-text.is-truncated.collapsed::after,
.event-command.is-truncated.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.6em;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.38) 100%
  );
  pointer-events: none;
}

.expand-btn {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cod-accent);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease;
}

.expand-btn:hover {
  color: #ffae73;
}

.expand-btn.hidden {
  display: none;
}

#site-loader {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .35s ease, visibility .35s ease;
}

#site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  width: 280px;
}

.loader-logo {
  font-family: "Oswald", sans-serif;
  letter-spacing: .2em;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.loader-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.loader-progress {
  width: 40%;
  height: 100%;
  background: var(--cod-accent);
  animation: loaderMove 1.2s infinite linear;
}

.loader-text {
  font-size: .8rem;
  opacity: .6;
}

@keyframes loaderMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

html, body {
  cursor: url('../cursors/jup.cur'), auto;
}

a,
button,
.nav-link-item,
.nav-cta,
.game-card,
.feature-card,
.copy-btn,
.expand-btn,
.command-info-btn {
  cursor: url('../cursors/jup-select.cur'), pointer;
}
