:root {
  --bg: #08080d;
  --panel: #14141d;
  --panel-soft: #1b1b27;
  --text: #f5f1e8;
  --muted: #b9af9d;
  --gold: #d6a84f;
  --gold-bright: #ffd36c;
  --border: rgba(214, 168, 79, 0.28);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(214,168,79,0.14), transparent 34rem),
    linear-gradient(180deg, #07070b 0%, #0d0d15 100%);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 5vw;
  background: rgba(8, 8, 13, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.logo {
  color: var(--gold-bright);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(255, 211, 108, 0.35);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--gold-bright);
  font-size: 1.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 5vw;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(8,8,13,0.94)),
    url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=1800&q=80') center/cover;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 12rem;
  background: linear-gradient(transparent, var(--bg));
}

.hero-content,
.page-header,
.section,
.content,
.feature-project {
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 900px; }

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

h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; }

h1 { font-size: clamp(2.7rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.35rem; color: var(--gold-bright); }

.lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero .button-row,
.centered { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #15100a;
  box-shadow: 0 0 28px rgba(214, 168, 79, 0.28);
}

.btn.secondary {
  border: 1px solid var(--border);
  color: var(--gold-bright);
  background: rgba(20, 20, 29, 0.68);
}

.section,
.content {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.card,
.highlight-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)), var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 211, 108, 0.55);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 35px rgba(214,168,79,0.12);
}

.card p,
.content p,
.feature-project p,
.vision p {
  color: var(--muted);
}

.feature-project {
  width: min(1120px, 90vw);
  margin: 2rem auto;
  padding: 4rem;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background:
    linear-gradient(90deg, rgba(8,8,13,0.94), rgba(8,8,13,0.68)),
    url('https://images.unsplash.com/photo-1514539079130-25950c84af65?auto=format&fit=crop&w=1600&q=80') center/cover;
  box-shadow: var(--shadow);
}

.vision {
  text-align: center;
  max-width: 900px;
}

.page-header {
  text-align: center;
  padding: 7rem 5vw 3.5rem;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(8,8,13,0.94)),
    url('https://images.unsplash.com/photo-1534447677768-be436bb09401?auto=format&fit=crop&w=1800&q=80') center/cover;
  border-bottom: 1px solid var(--border);
}

.content {
  max-width: 960px;
  font-size: 1.08rem;
}

.highlight-box {
  margin: 2rem 0;
}

.styled-list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.styled-list li { margin: 0.6rem 0; }

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 5vw;
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 13, 0.9);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 5vw;
    background: rgba(8, 8, 13, 0.98);
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .grid.three { grid-template-columns: 1fr; }
  .feature-project { padding: 2rem; }
  .hero { min-height: 78vh; }
}

/* Custom DOTG-inspired page backgrounds */
.hero {
  background:
    radial-gradient(circle at top, rgba(255, 211, 108, 0.18), transparent 42rem),
    linear-gradient(rgba(0,0,0,0.48), rgba(8,8,13,0.94)),
    url('../images/home-bg.jpg') center/cover no-repeat;
}

.feature-project {
  background:
    linear-gradient(90deg, rgba(8,8,13,0.94), rgba(8,8,13,0.64)),
    url('../images/game-bg.jpg') center/cover no-repeat;
}

.page-header {
  background:
    radial-gradient(circle at top, rgba(255, 211, 108, 0.16), transparent 36rem),
    linear-gradient(rgba(0,0,0,0.50), rgba(8,8,13,0.94)),
    url('../images/home-bg.jpg') center/cover no-repeat;
}

.page-about .page-header {
  background:
    radial-gradient(circle at top, rgba(255, 211, 108, 0.16), transparent 36rem),
    linear-gradient(rgba(0,0,0,0.50), rgba(8,8,13,0.94)),
    url('../images/about-bg.jpg') center/cover no-repeat;
}

.page-game .page-header {
  background:
    radial-gradient(circle at top, rgba(255, 211, 108, 0.16), transparent 36rem),
    linear-gradient(rgba(0,0,0,0.50), rgba(8,8,13,0.94)),
    url('../images/game-bg.jpg') center/cover no-repeat;
}

.page-community .page-header {
  background:
    radial-gradient(circle at top, rgba(255, 211, 108, 0.16), transparent 36rem),
    linear-gradient(rgba(0,0,0,0.50), rgba(8,8,13,0.94)),
    url('../images/community-bg.jpg') center/cover no-repeat;
}

.page-support .page-header {
  background:
    radial-gradient(circle at top, rgba(255, 211, 108, 0.16), transparent 36rem),
    linear-gradient(rgba(0,0,0,0.50), rgba(8,8,13,0.94)),
    url('../images/support-bg.jpg') center/cover no-repeat;
}
