@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Libre+Franklin:wght@300;400;500;600;700&display=swap');

:root{
  --bg:#100c09;
  --bg-2:#19120d;
  --ink:#21170f;
  --paper:#d8c49c;
  --paper-2:#bda475;
  --cream:#f2e8d0;
  --muted:#b8aa94;
  --line:rgba(255,255,255,.12);
  --accent:#a63d2f;
  --accent-2:#d8a44a;
  --shadow:0 24px 80px rgba(0,0,0,.38);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--cream);
  background:var(--bg);
  font-family:"Libre Franklin",Segoe UI,Arial,sans-serif;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{display:block;width:100%}
button,a{-webkit-tap-highlight-color:transparent}

.film-grain{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.16;
  mix-blend-mode:soft-light;
  z-index:9999;
  background-image:
    radial-gradient(circle at 20% 40%,rgba(255,255,255,.18) 0 1px,transparent 1.5px),
    radial-gradient(circle at 75% 20%,rgba(255,255,255,.11) 0 1px,transparent 1.5px);
  background-size:7px 7px,11px 11px;
}

.topbar{
  position:fixed;
  left:0;right:0;top:0;
  height:82px;
  padding:0 clamp(22px,4vw,68px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:1000;
  transition:.35s ease;
  border-bottom:1px solid transparent;
}
.topbar.scrolled{
  background:rgba(13,9,7,.94);
  backdrop-filter:blur(14px);
  border-color:rgba(255,255,255,.08);
  height:70px;
}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{
  display:grid;
  place-items:center;
  width:43px;height:43px;
  border:1px solid rgba(242,232,208,.45);
  border-radius:50%;
  font-family:"Cinzel",serif;
  font-size:13px;
  font-weight:800;
}
.brand-copy{display:flex;flex-direction:column;line-height:1}
.brand-copy strong{
  font-family:"Cinzel",serif;
  letter-spacing:.14em;
  font-size:15px;
}
.brand-copy small{
  color:#c9b995;
  letter-spacing:.32em;
  margin-top:5px;
  font-size:8px;
}
.nav{display:flex;gap:30px;align-items:center}
.nav a{
  font-size:11px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#e4d8bf;
  position:relative;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:-9px;
  height:1px;
  background:var(--accent-2);
  transition:.25s;
}
.nav a:hover::after{right:0}
.menu-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.18);
  background:transparent;
  color:white;
  width:42px;height:42px;
  font-size:20px;
}

.hero{
  min-height:100svh;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
}
.hero-bg{
  position:absolute;inset:0;
  background:
    url("assets/hero-western.svg") center/cover no-repeat;
  transform:scale(1.02);
  z-index:-3;
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(6,4,3,.36),rgba(6,4,3,.12) 40%,rgba(10,7,5,.9)),
    radial-gradient(circle at center,transparent 0 38%,rgba(0,0,0,.5) 100%);
  z-index:-2;
}
.hero-content{
  width:min(980px,88vw);
  text-align:center;
  padding-top:70px;
}
.eyebrow,.kicker{
  color:#d6be8b;
  letter-spacing:.34em;
  font-weight:700;
  font-size:11px;
  text-transform:uppercase;
}
.hero h1{
  margin:14px 0 16px;
  font-family:"Cinzel",serif;
  font-size:clamp(46px,8vw,112px);
  letter-spacing:.04em;
  line-height:.86;
  text-shadow:0 10px 35px rgba(0,0,0,.7);
}
.hero h1 span{display:block;font-weight:900}
.hero h1:not(span){font-weight:600}
.hero-lead{
  max-width:700px;
  margin:0 auto 32px;
  font-size:clamp(15px,1.5vw,19px);
  line-height:1.7;
  color:#e2d7c4;
}
.hero-actions,.community-actions{
  display:flex;justify-content:center;gap:14px;flex-wrap:wrap
}
.btn{
  min-width:190px;
  padding:15px 22px;
  border:1px solid rgba(255,255,255,.25);
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  transition:.25s;
}
.btn-primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff7e8;
  box-shadow:0 12px 35px rgba(166,61,47,.25);
}
.btn-primary:hover{transform:translateY(-2px);background:#bc4b3b}
.btn-secondary{
  background:rgba(8,6,4,.22);
  backdrop-filter:blur(5px);
}
.btn-secondary:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-2px)
}
.server-strip{
  margin:55px auto 0;
  max-width:850px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid rgba(255,255,255,.18);
}
.server-strip>div{
  padding:18px 20px;
  min-height:78px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.server-strip>div+div{border-left:1px solid rgba(255,255,255,.15)}
.server-strip strong{
  font-family:"Cinzel",serif;
  font-size:12px;
  letter-spacing:.12em;
}
.server-strip small{margin-top:6px;color:#bbae98;font-size:10px}
.status-dot{
  width:7px;height:7px;
  border-radius:50%;
  background:#80ad6c;
  display:inline-block;
  margin-right:7px;
  box-shadow:0 0 12px #80ad6c;
}
.scroll-cue{
  position:absolute;
  bottom:23px;left:50%;
  transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;
  color:#b7aa95;
  font-size:8px;
  letter-spacing:.28em;
}
.scroll-cue i{
  width:1px;height:34px;
  background:linear-gradient(#c5b898,transparent);
}

.section{padding:110px 0}
.section-inner{width:min(1160px,88vw);margin:0 auto}
.split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:70px;
  align-items:center;
}
.parchment{
  color:var(--ink);
  background:
    linear-gradient(rgba(218,197,156,.95),rgba(202,179,132,.95)),
    url("assets/paper.svg") center/300px repeat;
  position:relative;
}
.parchment::before,.parchment::after{
  content:"";position:absolute;left:0;right:0;height:24px;
  background:linear-gradient(135deg,transparent 12px,#130e0a 13px) 0 0/25px 25px repeat-x;
  opacity:.25;
}
.parchment::before{top:0;transform:rotate(180deg)}
.parchment::after{bottom:0}
.section-copy h2,.section-heading h2{
  font-family:"Cinzel",serif;
  font-size:clamp(34px,4.2vw,62px);
  line-height:1.05;
  margin:10px 0 24px;
}
.section-copy p,.section-heading p{
  font-size:15px;
  line-height:1.85;
  max-width:730px;
}
.parchment .kicker{color:#7b2e24}

.wanted-card{
  width:min(420px,100%);
  margin-inline:auto;
  min-height:470px;
  padding:35px;
  text-align:center;
  background:
    linear-gradient(rgba(235,219,181,.93),rgba(219,195,148,.95)),
    url("assets/paper.svg") center/240px repeat;
  border:1px solid rgba(52,32,18,.38);
  box-shadow:var(--shadow);
  transform:rotate(1.2deg);
  position:relative;
}
.wanted-card::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(46,29,17,.35);
}
.wanted-top{
  font-size:10px;
  letter-spacing:.3em;
  font-weight:800;
}
.wanted-symbol{
  font-size:58px;
  margin:32px 0 5px;
  color:#5a3a20;
}
.wanted-card h3{
  margin:0;
  font-family:"Cinzel",serif;
  font-size:54px;
  letter-spacing:.05em;
}
.wanted-card p{
  max-width:290px;
  margin:18px auto;
  font-family:Georgia,serif;
  font-size:18px;
  line-height:1.5;
}
.wanted-seal{
  display:inline-grid;place-items:center;
  width:84px;height:84px;
  border:3px double #6b2f25;
  color:#6b2f25;
  border-radius:50%;
  font-size:11px;font-weight:900;letter-spacing:.12em;
  transform:rotate(-10deg);
  margin-top:20px;
}

.dark-section{
  background:
    radial-gradient(circle at 15% 10%,rgba(120,75,37,.13),transparent 35%),
    linear-gradient(180deg,#100c09,#18110c);
}
.section-heading{text-align:center;margin-bottom:45px}
.section-heading p{margin-inline:auto;color:#bcb09e}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.feature-card{
  min-height:245px;
  padding:34px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  transition:.3s;
  position:relative;
  overflow:hidden;
}
.feature-card::after{
  content:"";
  position:absolute;
  inset:auto -20px -50px auto;
  width:120px;height:120px;
  border:1px solid rgba(216,164,74,.14);
  border-radius:50%;
}
.feature-card:hover{
  background:rgba(255,255,255,.025);
  transform:translateY(-3px);
}
.feature-number{font-size:10px;color:#a7926e;letter-spacing:.18em}
.feature-card h3{
  font-family:"Cinzel",serif;
  font-size:24px;
  margin:38px 0 12px;
}
.feature-card p{color:#aa9d8b;line-height:1.75;font-size:13px}

.rules-section{
  background:
    linear-gradient(rgba(21,14,10,.92),rgba(21,14,10,.94)),
    url("assets/hero-western.svg") center/cover fixed;
}
.rules-layout{grid-template-columns:.9fr 1.1fr}
.rules-board{
  color:#25170f;
  background:
    linear-gradient(rgba(222,201,158,.94),rgba(194,166,113,.95)),
    url("assets/paper.svg") center/260px repeat;
  padding:45px 42px;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
  position:relative;
  transform:rotate(-.8deg);
}
.board-pin{
  position:absolute;
  top:13px;
  width:10px;height:10px;border-radius:50%;
  background:#5e3d28;
  box-shadow:0 2px 5px rgba(0,0,0,.4)
}
.pin-a{left:18px}.pin-b{right:18px}
.board-small{
  text-align:center;
  font-size:9px;
  letter-spacing:.3em;
  font-weight:800;
}
.rules-board h3{
  font-family:"Cinzel",serif;
  text-align:center;
  font-size:36px;
  margin:7px 0 25px;
  border-bottom:3px double rgba(46,25,13,.5);
  padding-bottom:15px;
}
.rules-board ol{padding-left:22px;margin:0}
.rules-board li{
  padding:11px 0;
  border-bottom:1px solid rgba(55,33,18,.18);
  line-height:1.5;
  font-family:Georgia,serif;
  font-size:16px;
}
.rules-section .section-copy p{color:#b9aa96}
.text-link{
  display:inline-block;
  margin-top:15px;
  color:#d9b46d;
  font-size:11px;
  letter-spacing:.16em;
  font-weight:800;
}

.gallery-section{background:#d4bd90;color:#24180f}
.gallery-section .section-heading p{color:#66513e}
.gallery-section .kicker{color:#7b2e24}
.gallery-grid{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  grid-template-rows:repeat(2,255px);
  gap:14px;
}
.gallery-item{
  margin:0;
  position:relative;
  overflow:hidden;
  background:#1b130d;
}
.gallery-item.large{grid-row:1/3}
.gallery-item img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .6s ease,filter .6s ease;
  filter:saturate(.75) contrast(1.05);
}
.gallery-item:hover img{transform:scale(1.035);filter:saturate(.95)}
.gallery-item figcaption{
  position:absolute;
  left:18px;bottom:16px;
  background:rgba(12,8,5,.7);
  color:#f0e3c9;
  padding:9px 12px;
  font-size:9px;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.community{
  min-height:620px;
  display:grid;
  place-items:center;
  position:relative;
  text-align:center;
  overflow:hidden;
  isolation:isolate;
}
.community-bg{
  position:absolute;inset:0;
  background:
    linear-gradient(rgba(8,5,4,.55),rgba(8,5,4,.88)),
    url("assets/community.svg") center/cover no-repeat;
  z-index:-1;
}
.community-inner{width:min(820px,88vw)}
.community h2{
  font-family:"Cinzel",serif;
  font-size:clamp(40px,6vw,74px);
  margin:10px 0 18px;
  line-height:1;
}
.community p{
  color:#c9bcaa;
  line-height:1.75;
  max-width:650px;
  margin:0 auto 30px;
}
.config-note{
  font-size:10px!important;
  color:#887b6b!important;
  margin-top:22px!important;
}
.config-note strong{color:#a79883}

footer{
  background:#090706;
  border-top:1px solid rgba(255,255,255,.08);
  padding:34px 0;
}
.footer-inner{
  width:min(1160px,88vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
}
.footer-brand{display:flex;flex-direction:column}
.footer-brand strong{
  font-family:"Cinzel",serif;
  letter-spacing:.12em;
}
.footer-brand span{font-size:7px;letter-spacing:.22em;color:#877a68;margin-top:5px}
.footer-links{display:flex;gap:22px}
.footer-links a{font-size:9px;text-transform:uppercase;letter-spacing:.14em;color:#a99c89}
.footer-copy{text-align:right;color:#6f6558;font-size:9px}

.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .75s ease,transform .75s ease;
}
.reveal.visible{opacity:1;transform:none}

@media (max-width:900px){
  .nav{
    position:absolute;
    top:70px;left:18px;right:18px;
    background:#120d09;
    border:1px solid rgba(255,255,255,.1);
    padding:22px;
    flex-direction:column;
    align-items:flex-start;
    transform:translateY(-10px);
    opacity:0;
    pointer-events:none;
    transition:.25s;
  }
  .nav.open{opacity:1;transform:none;pointer-events:auto}
  .menu-toggle{display:block}
  .split,.rules-layout{grid-template-columns:1fr;gap:45px}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr;text-align:center}
  .footer-brand{align-items:center}
  .footer-links{justify-content:center;flex-wrap:wrap}
  .footer-copy{text-align:center}
}
@media (max-width:640px){
  .topbar{height:70px;padding:0 18px}
  .brand-copy{display:none}
  .hero-content{width:91vw}
  .hero h1{font-size:52px}
  .server-strip{grid-template-columns:1fr;margin-top:38px}
  .server-strip>div+div{border-left:0;border-top:1px solid rgba(255,255,255,.15)}
  .section{padding:78px 0}
  .feature-grid{grid-template-columns:1fr}
  .gallery-grid{display:block}
  .gallery-item,.gallery-item.large{height:260px;margin-bottom:12px}
  .community{min-height:560px}
  .btn{width:100%}
}
