:root {
  --site-bg: #0a0f14;
  --site-panel: #101820;
  --site-panel-soft: rgba(16, 24, 32, 0.78);
  --site-text: #eef2f6;
  --site-muted: #a5b0bd;
  --site-gold: #e5b567;
  --site-pine: #1f5c4f;
  --site-border: rgba(255, 255, 255, 0.14);
  --site-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --site-radius: 18px;
  --site-container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.site-body {
  min-height: 100vh;
  color: var(--site-text);
  background:
    radial-gradient(1000px 520px at 12% 0%, rgba(31, 92, 79, 0.2), transparent 60%),
    radial-gradient(960px 520px at 88% 8%, rgba(229, 181, 103, 0.16), transparent 60%),
    linear-gradient(180deg, #0a0f14, #111a24);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--site-gold);
  outline-offset: 2px;
}

.container {
  width: min(var(--site-container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1500;
  padding: 10px 12px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: var(--site-panel);
  color: var(--site-text);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1200;
}

.site-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--site-border);
  background: rgba(8, 13, 18, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--site-shadow);
}

.site-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.site-brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.site-nav__toggle {
  display: none;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--site-text);
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 9px 11px;
  cursor: pointer;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.35px;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.72);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav__links a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.site-nav__links a.is-active {
  border-color: rgba(229, 181, 103, 0.55);
  background: linear-gradient(135deg, rgba(229, 181, 103, 0.28), rgba(31, 92, 79, 0.28));
  color: #fff4db;
}

.page-hero {
  position: relative;
  margin: 0;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(5, 9, 13, 0.42) 0%, rgba(5, 9, 13, 0.68) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 520px at 18% 5%, rgba(31, 92, 79, 0.22), transparent 60%),
    radial-gradient(820px 460px at 82% 12%, rgba(229, 181, 103, 0.2), transparent 60%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: inherit;
  text-align: center;
  padding-top: clamp(88px, 10vh, 120px);
  padding-bottom: clamp(88px, 10vh, 120px);
}

.page-hero--large {
  min-height: 82vh;
}

.page-hero--medium {
  min-height: 52vh;
}

.page-hero--compact {
  min-height: 42vh;
}

.page-hero__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--site-gold);
}

.page-hero__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.08;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

.page-hero__text {
  margin: 0;
  width: min(800px, 100%);
  color: #eff3f9;
  font-size: clamp(16px, 2vw, 21px);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.62);
}

.hero-player-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 17, 24, 0.78);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.hero-player-count__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-player-count__label {
  color: #cfd8e6;
  font-weight: 700;
  font-size: 14px;
}

.hero-player-count__value {
  font-family: "Cinzel", serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.35px;
}

.hero-player-count.is-online .hero-player-count__dot {
  background: #48c78e;
  box-shadow: 0 0 10px rgba(72, 199, 142, 0.75);
}

.hero-player-count.is-online .hero-player-count__value {
  color: #66e2a8;
}

.hero-player-count.is-offline .hero-player-count__dot {
  background: #ff6b6b;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

.hero-player-count.is-offline .hero-player-count__value {
  color: #ff8d8d;
}

.page-main {
  padding: 36px 0 46px;
}

.page-main--stats {
  padding-top: 0;
}

.page-section {
  padding: 34px 0;
}

.section-heading {
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.16;
}

.section-intro {
  margin: 0 0 22px;
  color: var(--site-muted);
  font-size: clamp(16px, 1.8vw, 19px);
}

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

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-card {
  padding: 22px;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.7));
  box-shadow: var(--site-shadow);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  line-height: 1.2;
}

.content-card p {
  margin: 0 0 12px;
  color: var(--site-muted);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--site-muted);
}

.content-card li + li {
  margin-top: 8px;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(229, 181, 103, 0.35);
  background: rgba(229, 181, 103, 0.12);
  color: #f9e9c7;
  font-size: 14px;
  font-weight: 700;
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: #fff;
}

.pill-links a:hover {
  border-color: rgba(229, 181, 103, 0.5);
  background: rgba(229, 181, 103, 0.2);
}

.site-footer {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 11, 15, 0.75);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 86px;
  font-size: 14px;
  color: var(--site-muted);
}

.site-footer__inner p {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__links a {
  color: var(--site-text);
  opacity: 0.88;
}

.site-footer__links a:hover {
  opacity: 1;
  color: #fff4db;
}

.home-bottom-stack {
  display: grid;
  gap: 22px;
}

.home-glow-list-wrap,
.home-vote-block {
  padding: 24px;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.75));
  box-shadow: var(--site-shadow);
}

.home-glow-title,
.home-vote-title {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: clamp(26px, 3.6vw, 40px);
}

.glow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.glow-list li {
  position: relative;
  padding-left: 24px;
  color: #d9e2ef;
  font-size: 17px;
}

.glow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #66e2a8;
  box-shadow: 0 0 14px rgba(102, 226, 168, 0.95);
}

.vote-button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vote-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(229, 181, 103, 0.45);
  background: linear-gradient(135deg, rgba(229, 181, 103, 0.42), rgba(31, 92, 79, 0.42));
  color: #fff;
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vote-button:hover {
  transform: translateY(-1px);
  border-color: rgba(229, 181, 103, 0.72);
  box-shadow: 0 10px 28px rgba(229, 181, 103, 0.3);
}

.rules-list {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 10px;
  color: #d7e0ec;
  font-size: 17px;
}

.rules-list li::marker {
  color: var(--site-gold);
  font-weight: 800;
}

.command-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.command-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.command-list code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(229, 181, 103, 0.35);
  background: rgba(229, 181, 103, 0.12);
  color: #ffe8b7;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
}

.command-list span {
  color: #d7e0ec;
  display: inline-flex;
  align-items: center;
}

.discord-cta-wrap {
  text-align: center;
}

.discord-big-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  min-width: min(560px, 100%);
  min-height: 86px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid rgba(198, 129, 255, 0.65);
  background: linear-gradient(135deg, rgba(137, 70, 247, 0.95), rgba(98, 35, 206, 0.95));
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 0 0 1px rgba(199, 138, 255, 0.25), 0 18px 44px rgba(109, 51, 222, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discord-big-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(215, 166, 255, 0.4), 0 24px 54px rgba(109, 51, 222, 0.62);
}

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

.crew-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.95), rgba(16, 24, 32, 0.78));
  box-shadow: var(--site-shadow);
  text-align: center;
}

.crew-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.22);
}

.crew-card__role {
  margin: 0;
  color: var(--site-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.crew-card__name {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 22px;
  line-height: 1.1;
}

.vip-maintenance-wrap {
  display: flex;
  justify-content: center;
}

.vip-maintenance-line {
  margin: 0;
  width: min(860px, 100%);
  text-align: center;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.4px;
}

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

  .split-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .site-nav {
    top: 10px;
  }

  .site-nav__inner {
    min-height: 62px;
  }

  .site-brand img {
    height: 36px;
  }

  .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--site-border);
    background: rgba(8, 13, 18, 0.94);
    box-shadow: var(--site-shadow);
  }

  .site-nav__links.is-open {
    display: flex;
  }

  .site-nav__links a {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    font-size: 16px;
  }

  .page-hero__inner {
    padding-top: clamp(78px, 9vh, 104px);
    padding-bottom: clamp(78px, 9vh, 104px);
  }

  .page-hero--large {
    min-height: 72vh;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--site-container), calc(100% - 24px));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .crew-grid {
    grid-template-columns: 1fr;
  }

  .command-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-card {
    padding: 18px;
  }

  .page-section {
    padding: 24px 0;
  }

  .page-main {
    padding-top: 24px;
  }

  .site-footer__inner {
    min-height: 72px;
    padding: 12px 0;
  }
}
