:root {
  --gold: #C48A3A;
  --gold-bright: #F0C870;
  --text-dark: #2E1A04;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: #0E0A04;
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-radial {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bg-radial-1 {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(196,138,58,0.14) 0%, transparent 70%);
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
}

.bg-radial-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(240,200,112,0.08) 0%, transparent 70%);
  bottom: 12%;
  right: -80px;
}

.bg-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(196,138,58,0.02) 60px,
    rgba(196,138,58,0.02) 61px
  );
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 22px 48px;
}

nav {
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 0;
}

nav a.nav-home {
  display: block;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.2s;
}

nav a.nav-home:hover { opacity: 1; }

.nav-dot {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-dot span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.45;
}

.nav-dot span:nth-child(2) { opacity: 0.75; }
.nav-dot span:nth-child(3) { opacity: 1; background: var(--gold-bright); }

.subpage-main {
  width: 100%;
  max-width: 520px;
  margin-top: 36px;
  animation: fadeUp 0.55s ease both;
}

.subpage-back {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196,138,58,0.45);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.2s;
}

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

.subpage-main h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(28px, 6vw, 40px);
  color: rgba(240,200,112,0.88);
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.subpage-body {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
  color: rgba(196,138,58,0.55);
}

.subpage-body p + p { margin-top: 14px; }

.subpage-updated {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(196,138,58,0.34);
  margin-bottom: 20px;
}

.subpage-body h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(240,200,112,0.8);
  margin-top: 30px;
  margin-bottom: 10px;
}

.subpage-body h2:first-child { margin-top: 0; }

.subpage-body ul {
  margin-top: 12px;
  padding-left: 18px;
}

.subpage-body li {
  margin-top: 6px;
  padding-left: 2px;
}

.subpage-body li::marker { color: rgba(196,138,58,0.4); }

.subpage-body strong { color: rgba(240,200,112,0.72); }

.subpage-body a {
  color: rgba(240,200,112,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,138,58,0.35);
  transition: color 0.2s, border-color 0.2s;
}

.subpage-body a:hover {
  color: var(--gold-bright);
  border-color: rgba(240,200,112,0.45);
}

.subpage-links {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(196,138,58,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
}

.subpage-links a {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(196,138,58,0.38);
  text-decoration: none;
  transition: color 0.2s;
}

.subpage-links a:hover { color: var(--gold); }

footer.subpage-foot {
  margin-top: auto;
  padding-top: 56px;
  text-align: center;
  width: 100%;
  max-width: 520px;
}

.subpage-foot .footer-copy {
  font-size: 11px;
  color: rgba(196,138,58,0.22);
  font-weight: 600;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .subpage-links { gap: 14px 16px; }
}
