:root {
  --bg: #0d0d14;
  --bg2: #171722;
  --panel: rgba(26, 24, 36, 0.92);
  --panel-2: rgba(39, 34, 52, 0.92);
  --text: #f4efe8;
  --muted: #b7afc3;
  --line: rgba(233, 197, 117, 0.18);
  --gold: #e9c575;
  --gold-strong: #ffd890;
  --red: #bf5b5b;
  --green: #67b18c;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(15, 10, 18, 0.82), rgba(11, 12, 18, 0.94)),
    url("./assets/media/camp-banner.png") center top / cover no-repeat fixed;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 18px auto 44px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  padding: 28px;
  overflow: hidden;
  align-items: center;
}

.hero-banner__copy {
  align-self: center;
}

.hero-banner__logo {
  width: clamp(220px, 42vw, 440px);
  max-width: 100%;
  height: auto;
  margin: 0 0 10px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.hero-banner__art {
  align-self: end;
  justify-self: center;
  max-width: 320px;
  background: radial-gradient(circle at center, rgba(233, 197, 117, 0.18), transparent 60%);
}

.hero-banner__art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  font-family: Cinzel, Georgia, serif;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

.lede,
.muted {
  color: var(--muted);
}

.lede {
  max-width: 60ch;
  margin: 14px 0 0;
}

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

.grid-two {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-two--inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stack > * + * {
  margin-top: 14px;
}

.stack-lg > * + * {
  margin-top: 14px;
}

.stack-lg {
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 15px;
}

input::placeholder,
textarea::placeholder {
  color: #998da9;
}

.btn {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #1b1207;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.segmented {
  display: inline-flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 8px;
}

.segmented__btn {
  border: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.segmented__btn.is-active {
  background: rgba(233, 197, 117, 0.18);
  color: var(--gold-strong);
}

.notice,
.world-card,
.summary-card {
  background: var(--panel-2);
  border: 1px solid rgba(233, 197, 117, 0.14);
  border-radius: 20px;
  padding: 16px;
}

.world-card h3,
.world-card h4,
.summary-card h4 {
  margin-bottom: 8px;
}

.world-card p,
.summary-card p,
.notice p {
  margin: 0;
  color: var(--muted);
}

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

.section-divider {
  border-top: 1px solid var(--line);
  margin: 4px 0 0;
}

.hidden {
  display: none !important;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(17, 18, 27, 0.94);
  border: 1px solid rgba(233, 197, 117, 0.24);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.status-pill {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(103, 177, 140, 0.16);
  color: #b8efd3;
  border: 1px solid rgba(103, 177, 140, 0.24);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.session-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-strong);
}

.kv {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  font-size: 0.95rem;
}

.kv + .kv {
  margin-top: 8px;
}

.kv strong {
  color: var(--gold);
}

@media (max-width: 860px) {
  .hero-banner,
  .grid-two,
  .grid-two--inner,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner__logo {
    width: min(78vw, 360px);
    margin: 0 auto 12px;
  }

  .hero-banner__copy {
    text-align: center;
  }

  .hero-banner__art {
    max-width: 220px;
  }

  .hero-actions {
    justify-content: center;
  }

  .page-shell {
    width: min(100%, calc(100% - 16px));
  }
}