:root {
  --bg: #090909;
  --bg-soft: #111111;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(212, 175, 55, 0.25);
  --gold: #d4af37;
  --gold-bright: #f4d46a;
  --text: #f5f2e8;
  --muted: #c7c0ad;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 28%),
    linear-gradient(180deg, #060606 0%, #0b0b0b 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 9, 0.82);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-name {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.logo-placeholder {
  border: 1px dashed rgba(244, 212, 106, 0.45);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(255, 255, 255, 0.04));
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  text-align: center;
}

.logo-placeholder.small {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 0.72rem;
}

.logo-placeholder.banner {
  min-height: 320px;
  border-radius: 26px;
  padding: 2rem;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  color: var(--muted);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: 0.25s ease;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(212, 175, 55, 0.12);
}

.nav-cta {
  border: 1px solid rgba(244, 212, 106, 0.35);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-bright);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  font-size: 1.2rem;
  cursor: pointer;
}

.hero-banner,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-banner {
  padding: 6rem 0 4rem;
  min-height: 84vh;
}

.page-hero {
  padding: 5rem 0 2rem;
}

.page-hero.compact {
  padding-bottom: 1rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 40%),
    radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.1), transparent 35%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero-copy p,
.page-hero p,
.section p,
.news-card p,
.panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #111;
}

.button.secondary {
  border: 1px solid rgba(244, 212, 106, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card,
.panel,
.feature-card,
.news-card,
.content-placeholder,
.discord-placeholder {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.25rem;
}

.card-note,
.news-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 4rem 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.04), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

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

.feature-card,
.panel,
.news-card {
  padding: 1.35rem;
}

.feature-card h3,
.panel h2,
.panel h3,
.news-card h2,
.news-card h3,
.section h2 {
  margin-top: 0;
}

.center-block {
  text-align: center;
}

.content-placeholder,
.discord-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  text-align: center;
  padding: 1.5rem;
  margin-top: 1rem;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.5rem;
  align-items: start;
}

.news-column {
  display: grid;
  gap: 1rem;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.featured-news {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.11), rgba(255, 255, 255, 0.03));
}

.sidebar-column {
  display: grid;
  gap: 1rem;
}

.sticky-panel {
  position: sticky;
  top: 100px;
}

.link-list,
.styled-list {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.2rem;
}

.link-list li + li,
.styled-list li + li {
  margin-top: 0.35rem;
}

.link-list a:hover {
  color: var(--gold-bright);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-content,
  .two-column,
  .news-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: auto;
    padding-top: 4.5rem;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    text-align: center;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1,
  .page-hero h1 {
    line-height: 1.02;
  }
}

/* 9Lives image integration */
.site-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(244, 212, 106, 0.35);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

.hero-image {
  width: 100%;
  background: #000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.hero-content.single {
  display: block;
  max-width: 980px;
  text-align: center;
}

.center-copy {
  margin: 0 auto;
}

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

.hero-banner {
  min-height: auto;
  padding: 4.5rem 0;
}

@media (max-width: 720px) {
  .site-logo {
    width: 52px;
    height: 52px;
  }

  .hero-image img {
    min-height: 220px;
  }
}
