.server-hero-tarnished {
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 198, 116, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15), transparent 24%);
}

.server-badge-wrap {
  display: flex;
  justify-content: center;
}

.server-badge-card {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.server-badge-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(240, 198, 116, 0.24);
  box-shadow:
    0 0 0 20px rgba(245, 158, 11, 0.04),
    0 0 80px rgba(245, 158, 11, 0.14);
}

.server-badge-core {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1b1408;
  background: linear-gradient(135deg, #f7d58a, #f59e0b);
  box-shadow: 0 25px 70px rgba(245, 158, 11, 0.28);
}

.split-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.info-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: #f0c674;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.tt-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tt-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tt-hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.06) brightness(0.38);
  transform: scale(1.03);
}

.tt-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 136, 0, 0.20), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(255, 115, 0, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(2, 8, 23, 0.96) 100%);
}

.tt-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.tt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffb15d;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  font-weight: 800;
}

.tt-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff8a00;
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.8);
}

.tt-hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.tt-hero-copy h1 span {
  display: block;
  background: linear-gradient(135deg, #ffcf99 0%, #ff8a00 42%, #ffd7ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 36px rgba(255, 138, 0, 0.12);
}

.tt-lead {
  max-width: 760px;
  color: #d7d8df;
  font-size: 1.08rem;
  line-height: 1.82;
}

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

.tt-btn-fire {
  background: linear-gradient(135deg, #ffcc8c 0%, #ff8a00 42%, #ff6a00 100%);
  color: #1a0d00;
  box-shadow: 0 18px 38px rgba(255, 115, 0, 0.24);
}

.tt-btn-fire:hover {
  box-shadow: 0 22px 42px rgba(255, 115, 0, 0.34);
}

.tt-live-strip {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tt-live-pill {
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 171, 94, 0.14);
  background: linear-gradient(180deg, rgba(19, 19, 24, 0.82), rgba(19, 19, 24, 0.58));
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.tt-live-pill strong {
  display: block;
  margin-bottom: 4px;
  color: #fff0df;
  font-size: 0.95rem;
}

.tt-live-pill span {
  color: #c7c9d3;
  font-size: 0.92rem;
}

.tt-command-card {
  border-radius: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 166, 82, 0.14);
  background:
    linear-gradient(180deg, rgba(16, 16, 19, 0.88), rgba(20, 20, 24, 0.72));
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease;
}

.tt-command-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tt-icon {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 173, 99, 0.16);
  box-shadow: 0 14px 28px rgba(255, 115, 0, 0.12);
}

.tt-command-top small {
  display: block;
  color: #ffbd7b;
  margin-bottom: 4px;
}

.tt-command-top strong {
  color: #fff6ea;
  font-size: 1.08rem;
}

.tt-command-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tt-mini-card {
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 171, 94, 0.10);
}

.tt-mini-card span {
  display: block;
  color: #ffbb76;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.tt-mini-card strong {
  color: #f4f0e9;
  font-size: 0.96rem;
  line-height: 1.45;
}

.tt-section-top {
  padding-top: 26px;
}

.tt-tab-shell {
  border-radius: 30px;
  padding: 18px;
  border: 1px solid rgba(255, 171, 94, 0.12);
  background:
    linear-gradient(180deg, rgba(14, 15, 18, 0.90), rgba(14, 15, 18, 0.78));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.tt-tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tt-tab-btn {
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  color: #cfd1da;
  transition: 0.22s ease;
}

.tt-tab-btn:hover,
.tt-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.20), rgba(255, 185, 120, 0.12));
  color: #fff3e5;
  box-shadow: inset 0 0 0 1px rgba(255, 171, 94, 0.12);
}

.tt-tab-panel {
  display: none;
}

.tt-tab-panel.active {
  display: block;
}

.tt-panel-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.tt-info-panel,
.tt-side-panel,
.tt-highlight-card,
.tt-dual-cta,
.tt-platform-card {
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 171, 94, 0.10);
  background:
    linear-gradient(180deg, rgba(20, 20, 25, 0.82), rgba(18, 18, 22, 0.70));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.tt-panel-kicker {
  display: inline-block;
  color: #ffb76d;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tt-info-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.08;
  color: #fff7f0;
}

.tt-info-panel p,
.tt-side-panel p {
  margin: 0;
  color: #cfd1d8;
  line-height: 1.76;
}

.tt-stat-line {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tt-stat-line:last-child {
  border-bottom: 0;
}

.tt-stat-line span {
  display: block;
  color: #ffb56a;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.tt-stat-line strong {
  color: #fff7ee;
  font-size: 1rem;
}

.tt-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tt-platform-badge {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  color: #fff0de;
  border: 1px solid rgba(255, 171, 94, 0.10);
}

.tt-platform-badge.modded {
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.20), rgba(255, 208, 153, 0.09));
}

.tt-platform-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tt-platform-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffb56a;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tt-platform-card strong {
  display: block;
  margin-bottom: 10px;
  color: #fff7ef;
  font-size: 1.16rem;
}

.tt-platform-card p {
  margin: 0;
  color: #cfd1da;
  line-height: 1.72;
}

.tt-check-list {
  margin: 0;
  padding-left: 18px;
  color: #f2f3f7;
}

.tt-check-list li {
  margin-bottom: 12px;
  line-height: 1.65;
}

.tt-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tt-highlight-card h3 {
  margin: 0 0 10px;
  color: #fff7ef;
}

.tt-highlight-card p {
  margin: 0;
  color: #cdd0d9;
  line-height: 1.72;
}

.tt-highlight-icon {
  display: inline-flex;
  min-width: 48px;
  height: 36px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.18), rgba(255, 197, 128, 0.12));
  color: #fff0de;
  border: 1px solid rgba(255, 171, 94, 0.12);
}

.tt-dual-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.tt-dual-cta-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  color: #fff7ef;
}

.tt-dual-cta-copy p {
  margin: 0;
  color: #cfd1da;
  line-height: 1.75;
  max-width: 700px;
}

.tt-dual-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tt-floating-join {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.tt-floating-join a {
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd29d 0%, #ff8a00 42%, #ff6a00 100%);
  color: #1e0f00;
  box-shadow: 0 18px 42px rgba(255, 115, 0, 0.28);
}

@media (max-width: 1180px) {
  .tt-hero-inner,
  .tt-panel-grid,
  .tt-platform-layout,
  .tt-highlight-grid {
    grid-template-columns: 1fr;
  }

  .tt-dual-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1100px) {
  .split-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .tt-live-strip,
  .tt-command-grid {
    grid-template-columns: 1fr;
  }

  .tt-hero {
    min-height: auto;
  }

  .tt-hero-inner {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .tt-hero-copy h1 {
    line-height: 1;
  }

  .tt-hero-actions,
  .tt-dual-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .tt-floating-join {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .tt-floating-join a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .server-badge-core {
    width: 150px;
    height: 150px;
    font-size: 2.5rem;
  }

  .tt-tab-shell,
  .tt-info-panel,
  .tt-side-panel,
  .tt-highlight-card,
  .tt-dual-cta,
  .tt-platform-card,
  .tt-command-card {
    border-radius: 22px;
    padding: 18px;
  }

  .tt-tab-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tt-tab-btn {
    width: 100%;
    text-align: left;
  }
}

/* TarnishedTown page-only global overrides */
html body.tarnished-page,
html body.tarnished-page .page-shell,
html body.tarnished-page main {
  background: #080706 !important;
}

/* Remove global blue effects on TarnishedTown only */
html body.tarnished-page .global-bg-glow,
html body.tarnished-page .noise,
html body.tarnished-page .orb {
  display: none !important;
}

/* Header only on TarnishedTown */
html body.tarnished-page header.site-header {
  background: #0b0907 !important;
  background-image: linear-gradient(90deg, #0b0907 0%, #1b0f07 50%, #0b0907 100%) !important;
  border-bottom: 1px solid rgba(255, 171, 94, 0.18) !important;
  backdrop-filter: blur(18px) !important;
}

/* Footer only on TarnishedTown */
html body.tarnished-page footer.site-footer {
  background: #070605 !important;
  background-image: linear-gradient(180deg, #080706 0%, #050403 100%) !important;
  border-top: 1px solid rgba(255, 171, 94, 0.14) !important;
}

/* KP badge */
html body.tarnished-page header.site-header .h-9 {
  background: linear-gradient(135deg, #ffd29d 0%, #ff8a00 45%, #ff6a00 100%) !important;
  color: #1e0f00 !important;
  box-shadow: 0 14px 32px rgba(255, 115, 0, 0.28) !important;
}

/* Tarnished nav colors */
html body.tarnished-page .nav-link:hover,
html body.tarnished-page .nav-link-active {
  color: #ffbd7b !important;
}

html body.tarnished-page .nav-cta {
  background: linear-gradient(135deg, #ffd29d 0%, #ff8a00 45%, #ff6a00 100%) !important;
  color: #1e0f00 !important;
  box-shadow: 0 14px 32px rgba(255, 115, 0, 0.28) !important;
}

/* Hero */
html body.tarnished-page .tt-hero {
  min-height: calc(100vh - 58px);
  border-bottom: 0 !important;
}

html body.tarnished-page .tt-hero-inner {
  align-items: end;
  padding-top: 150px;
  padding-bottom: 64px;
}

html body.tarnished-page .tt-hero-overlay {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 136, 0, 0.16), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(255, 115, 0, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.38) 52%, rgba(8, 7, 6, 0.98) 100%) !important;
}

html body.tarnished-page .tt-floating-join {
  display: none !important;
}

@media (max-width: 860px) {
  html body.tarnished-page .tt-hero {
    min-height: auto;
  }

  html body.tarnished-page .tt-hero-inner {
    align-items: center;
    padding-top: 72px;
    padding-bottom: 48px;
  }
}

.tarnished-header {
  background: linear-gradient(90deg, #0b0907 0%, #1b0f07 50%, #0b0907 100%) !important;
  border-bottom: 1px solid rgba(255, 171, 94, 0.18) !important;
  backdrop-filter: blur(18px) !important;
}

.tarnished-footer {
  background: linear-gradient(180deg, #080706 0%, #050403 100%) !important;
  border-top: 1px solid rgba(255, 171, 94, 0.14) !important;
}