* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #110808;
  --panel: #4d2626;
  --panel-soft: #613232;
  --text: #ffffff;
  --muted: #9fccbb;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff3e3e;
  --accent-two: #6bffdf;
  --gold: #ffd166;
  --danger: #ff6b6b;
  --discord: #5865F2;
  --discord-dark: #4752C4;
}


body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 229, 255, 0.18), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(124, 255, 107, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

code {
  padding: 0.12rem 0.38rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  color: #d7fbff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  background: rgba(8, 17, 31, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: #06111d;
  box-shadow: 0 0 2rem rgba(0, 229, 255, 0.3);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.site-nav a {
  padding: 0.48rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.page-hero {
  padding: clamp(2rem, 5vw, 4.5rem) 0 2rem;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.14rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
  margin: 2rem 0 3rem;
}

.home-copy,
.start-card,
.content-card,
.notice-card,
.rule-card,
.coming-soon {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border-radius: 1.4rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.24);
}

.home-copy {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.home-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-copy p,
.content-card p,
.notice-card p,
.rule-card p,
.coming-soon p {
  color: var(--muted);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.quick-info div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info span {
  color: var(--muted);
}

.start-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(0,229,255,0.22), rgba(124,255,107,0.14)),
    rgba(255,255,255,0.04);
}

.start-card:hover {
  transform: translateY(-2px);
}

.start-card strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.start-card small {
  display: block;
  max-width: 460px;
  margin-top: 1rem;
  color: var(--text);
  font-size: 1rem;
}

.start-glow {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(8,17,31,0.6);
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.section {
  margin-top: 2rem;
}

.section-heading h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  display: block;
  min-height: 170px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-2px);
}

.feature-card span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

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

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.content-card,
.notice-card,
.rule-card {
  padding: clamp(1.2rem, 3vw, 1.7rem);
  margin-bottom: 1rem;
}

.content-card h2,
.notice-card h2,
.rule-card h2,
.coming-soon h2 {
  margin-top: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.notice-card {
  border-color: rgba(255, 209, 102, 0.35);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.14), rgba(255,255,255,0.025));
}

.steps {
  padding-left: 1.2rem;
}

.steps li {
  margin: 0.7rem 0;
  color: var(--muted);
}

.steps strong {
  color: var(--text);
}

.command-list p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.rule-list {
  display: grid;
  gap: 1rem;
}

.expand-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.coming-soon {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 2rem;
  text-align: center;
}

.coming-soon span {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: #06111d;
  font-size: 2.4rem;
  font-weight: 900;
}

.rank-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rank-track span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--gold);
}

.page-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.page-step {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  font-weight: 800;
}

.page-step.next {
  text-align: right;
}

.site-footer {
  padding: 2rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

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

@media (max-width: 620px) {
  .quick-info,
  .feature-grid,
  .page-progress {
    grid-template-columns: 1fr;
  }

  .page-step.next {
    text-align: left;
  }

  .site-nav a {
    font-size: 0.86rem;
  }
}

.discord-feature {
  border-color: rgba(88, 101, 242, 0.45);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(255, 255, 255, 0.045));
}

.discord-panel {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.discord-card {
  width: min(760px, 100%);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(88, 101, 242, 0.45);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(88, 101, 242, 0.28), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
  text-align: center;
}

.discord-card h2 {
  margin: 0.75rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.discord-card p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.discord-badge {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.18);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: var(--discord);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0.9rem 2rem rgba(88, 101, 242, 0.32);
}

.discord-button:hover {
  background: var(--discord-dark);
  transform: translateY(-2px);
}

.small-note {
  font-size: 0.9rem;
}
