:root {
  --bg: #17181a;
  --bg-deep: #0c0d0e;
  --cream: #ebdec4;
  --cream-dim: #a9a093;
  --accent: #d5432a;
  --accent-dim: #7a2a1c;
  --border: rgba(235, 222, 196, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background:
    radial-gradient(ellipse at 50% -10%, #232527 0%, var(--bg) 45%, var(--bg-deep) 100%);
  color: var(--cream);
  font-family: "Oswald", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("DarkForest.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.trap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--cream);
  stroke-width: 1;
  opacity: 0.06;
  z-index: -1;
}

.title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 0 40px rgba(213, 67, 42, 0.15);
}

.title::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin: 1.25rem auto 0;
  background: var(--accent);
}

.subtitle {
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--cream-dim);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.pill {
  display: inline-block;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill:hover {
  border-color: var(--cream);
  background: rgba(235, 222, 196, 0.08);
}

.pill--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
  font-weight: 600;
}

.pill--accent:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--bg-deep);
}

.topbar {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.quick-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.quick-menu__link {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.quick-menu__link:hover {
  color: var(--cream);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.back:hover {
  color: var(--cream);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--cream);
}

.page-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--accent);
}

.page-subtitle {
  max-width: 560px;
  margin: 1.25rem auto 2.5rem;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.6;
}

.admin-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin: -1rem 0 2rem;
}

.admin-badge a {
  color: inherit;
  text-decoration: underline;
}

.char-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
