/* Corevaine's Pack — black & gold */

:root {
  --bg: #070705;
  --bg-raised: #100f0b;
  --bg-card: #14130e;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-soft: #f0e0a8;
  --gold-dim: #8a7318;
  --gold-line: rgba(201, 162, 39, 0.35);
  --text: #f4f0e4;
  --text-muted: #b7a98a;
  --black: #050504;
  --header-h: 72px;
  --radius: 16px;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); }
a:hover { color: var(--gold-bright); }
h1, h2, h3, .brand-name, .founder-name, .counter-value, .badge {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0.15em 0 0.3em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 0.7em; }
h3 { font-size: 1.25rem; margin: 0 0 0.5em; color: var(--gold-soft); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.section-inner {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 5rem 0;
}
main > section[id] {
  scroll-margin-top: var(--header-h);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.intro {
  max-width: 46rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-line);
}
.header-inner {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--gold-line);
}
.brand-name {
  font-size: 1rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.brand:hover { color: var(--gold-soft); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.15rem;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-line);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Buttons */
.btn-gold,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--black);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.22);
}
.btn-gold:hover {
  color: var(--black);
  background: var(--gold-soft);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-bright);
}
.btn-small { padding: 0.7rem 1.1rem; font-size: 0.8rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gold-line);
}
.hero-glow {
  position: absolute;
  inset: -10% 10% auto;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-emblem {
  width: min(280px, 58vw);
  height: auto;
  border-radius: 50%;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 0 1px var(--gold-line), 0 0 80px rgba(201, 162, 39, 0.18);
}
.lede {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.12rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.counters {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}
.counter[hidden] {
  display: none !important;
}
.counter {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  background: var(--bg-raised);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  padding: 0.65rem 1rem 0.65rem 0.9rem;
  min-height: 68px;
}
.counter-value {
  font-size: 1.85rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 1.4ch;
}
.counter-copy { display: flex; flex-direction: column; gap: 0.15rem; }
.counter-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.counter-online {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dce6a;
  box-shadow: 0 0 8px rgba(125, 206, 106, 0.8);
}

/* About */
.about { background: linear-gradient(180deg, var(--bg), var(--bg-raised)); }
.about-grid,
.wardogs-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 3rem;
  align-items: center;
}
.founder-portrait,
.wardogs-portrait {
  margin: 0;
  justify-self: center;
}
.founder-portrait img,
.wardogs-portrait img {
  width: min(340px, 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 10px rgba(201, 162, 39, 0.08), var(--shadow);
}
.founder-name {
  font-size: 1.6rem;
  margin: 0 0 0.55rem;
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  margin: 0 0 1.15rem;
}
.founder-copy p,
.wardogs-copy p { color: var(--text-muted); }
.founder-copy p.founder-name,
.founder-copy p.badge,
.founder-copy .eyebrow,
.wardogs-copy .eyebrow { color: inherit; }
.founder-copy p.founder-name { color: var(--text); }
.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.4rem;
}
.text-link {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 0.15rem;
}
.text-link:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

/* Members */
.member-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.info-card,
.apply-card,
.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.info-card p,
.apply-card p,
.sponsor-card p { color: var(--text-muted); }

/* War Dogs */
.wardogs {
  background: var(--bg-raised);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.wardogs-cta { justify-content: flex-start; margin-top: 1.5rem; }
.twitch-embed {
  margin-top: 2.5rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}
.twitch-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Apply */
.apply-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.apply-card {
  text-align: center;
  padding: 2.2rem 1.6rem 1.8rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    var(--bg-card);
  position: relative;
}
.apply-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 12px;
  pointer-events: none;
}
.apply-emblem {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold-line);
}
.apply-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.apply-card h3 {
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.apply-status {
  color: var(--gold-soft) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.apply-by { font-size: 0.85rem; margin-bottom: 1.3rem !important; }

/* Sponsors */
.sponsors .sponsor-card { max-width: 36rem; }
.sponsor-card h3 { color: var(--gold-soft); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--gold-line);
  background: var(--black);
}
.footer-inner { padding: 2.6rem 0; }
.footer-note { color: var(--text-muted); margin: 1rem 0; max-width: 36rem; }
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold-bright); }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 7, 5, 0.97);
    border-bottom: 1px solid var(--gold-line);
    flex-direction: column;
    padding: 0.8rem 1.2rem 1.2rem;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .about-grid,
  .wardogs-grid,
  .member-cards,
  .apply-cards { grid-template-columns: 1fr; }
  .about-grid, .wardogs-grid { gap: 1.8rem; }
  .wardogs-cta, .hero-cta { justify-content: center; }
  .founder-copy, .wardogs-copy { text-align: center; }
  .founder-links { justify-content: center; }
  .section-inner { padding: 3.4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-gold, .btn-outline { transition: none; }
}

.sponsor-link{color:inherit;text-decoration:underline;text-underline-offset:3px}
.sponsor-link:hover{color:#c9a227}
.sponsor-products{list-style:none;padding:0;margin:1rem 0;display:flex;flex-wrap:wrap;gap:.5rem}
.sponsor-products a{display:inline-block;padding:.4rem .8rem;border:1px solid rgba(201,162,39,.5);border-radius:999px;color:#c9a227;text-decoration:none}
.sponsor-products a:hover{background:rgba(201,162,39,.15)}
.sponsor-card + .sponsor-card{margin-top:1.25rem}
