@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  --bg:        #333333;
  --bg2:       #0b0e15;
  --surface:   #0f1520;
  --surface2:  #141c2a;
  --border:    #1a2535;
  --border2:   #243047;

  --gold:      #c8a840;
  --gold2:     #f0d070;
  --gold3:     #fff3b0;
  --gold-dim:  #7a6520;
  --ember:     #e05a20;
  --ember2:    #ff7a40;
  --teal:      #2dc8a0;
  --teal2:     #60e8c8;
  --purple:    #8060c8;

  --text:      #d8cfc0;
  --text2:     #b0a898;
  --muted:     #5a6878;

  --glow-gold:   0 0 40px rgba(200,168,64,.3);
  --glow-ember:  0 0 30px rgba(224,90,32,.25);
  --glow-teal:   0 0 30px rgba(45,200,160,.2);

  --section-pad: 7rem 2rem;
  --ease:   cubic-bezier(.25,.46,.45,.94);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) var(--bg);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }


* { cursor: none !important; }

#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s var(--bounce), height .2s var(--bounce), background .2s;
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease), height .2s var(--ease), opacity .2s;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 18px; height: 18px; background: var(--gold2); }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 54px; height: 54px; opacity: .45; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 998;
}


body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.65) 100%);
  pointer-events: none;
  z-index: 997;
}


::selection { background: rgba(200,168,64,.25); color: var(--gold2); }


nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3.5rem;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}

nav.scrolled {
  padding: 1rem 3.5rem;
  background: rgba(7,9,16,.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(200,168,64,.07);
  box-shadow: 0 4px 50px rgba(0,0,0,.6);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .05em;
  text-shadow: 0 0 25px rgba(200,168,64,.55);
  transition: text-shadow .3s;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}

.nav-logo:hover { text-shadow: 0 0 45px rgba(200,168,64,.9); }
.nav-logo:hover::after { transform: scaleX(1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}

.nav-links a:hover { color: var(--gold2); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(200,168,64,.35) !important;
  padding: .5rem 1.6rem;
  border-radius: 1px;
  background: rgba(200,168,64,.04);
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold) !important;
  color: #060810 !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 28px rgba(200,168,64,.35) !important;
}

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(200,168,64,.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(224,90,32,.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(45,200,160,.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 70% 10%, rgba(128,96,200,.04) 0%, transparent 50%);
}


.hero-grid {
  position: absolute;
  inset: -5%;
  background-image:
    linear-gradient(rgba(200,168,64,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,64,.05) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  animation: gridDrift 25s linear infinite;
}

@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(55px, 55px); }
}


.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: rgba(200,168,64,.06);
  top: -120px; left: 50%;
  transform: translateX(-50%);
  animation: orbPulse 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(224,90,32,.06);
  bottom: 8%; left: 8%;
  animation: orbPulse 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 260px; height: 260px;
  background: rgba(45,200,160,.05);
  bottom: 18%; right: 6%;
  animation: orbPulse 12s ease-in-out infinite 3s;
}

@keyframes orbPulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.18); }
}

/* Scan line */
.hero-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,168,64,.15) 20%, rgba(200,168,64,.45) 50%, rgba(200,168,64,.15) 80%, transparent 100%);
  animation: scanDown 14s linear infinite;
  pointer-events: none;
}

@keyframes scanDown {
  0%   { top: -2px; opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: .2; }
  100% { top: 100%; opacity: 0; }
}

.hero-eyebrow {
  position: relative;
  z-index: 2;
  font-size: .76rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp .7s .3s forwards;
  text-shadow: 0 0 22px rgba(224,90,32,.5);
}

.hero-title {
  position: relative;
  z-index: 2;
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.01em;
  background: linear-gradient(160deg,
    var(--gold3) 0%,
    var(--gold2) 22%,
    var(--gold)  52%,
    #a07830      80%,
    #6a4c18      100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 60px rgba(200,168,64,.5)) drop-shadow(0 0 120px rgba(200,168,64,.2));
  opacity: 0;
  animation: fadeUp .9s .5s forwards, titleGlow 4s 1.5s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from { filter: drop-shadow(0 0 40px rgba(200,168,64,.4)) drop-shadow(0 0 80px rgba(200,168,64,.15)); }
  to   { filter: drop-shadow(0 0 90px rgba(200,168,64,.7)) drop-shadow(0 0 180px rgba(200,168,64,.3)); }
}

.hero-sub {
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--text2);
  max-width: 520px;
  margin: 2.2rem auto 0;
  opacity: 0;
  animation: fadeUp .8s .8s forwards;
  line-height: 1.9;
}

.hero-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1.2rem;
  margin-top: 3.2rem;
  opacity: 0;
  animation: fadeUp .8s 1.05s forwards;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  font-family: 'Crimson Pro', serif;
  font-size: .92rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--ember) 100%);
  color: #060810;
  font-weight: 700;
  border: none;
  border-radius: 1px;
  cursor: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--bounce), box-shadow .3s;
  box-shadow: 0 4px 30px rgba(200,168,64,.22), inset 0 1px 0 rgba(255,255,255,.12);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold2) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity .3s;
}


.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-22deg);
  transition: left .55s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 45px rgba(200,168,64,.4), 0 0 0 1px rgba(200,168,64,.25);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover::after  { left: 170%; }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  font-family: 'Crimson Pro', serif;
  font-size: .92rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
  border-radius: 1px;
  cursor: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color .3s, border-color .3s, transform .2s var(--bounce), box-shadow .3s;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,168,64,.05);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.btn-secondary:hover {
  color: var(--gold2);
  border-color: rgba(200,168,64,.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0,0,0,.35);
}
.btn-secondary:hover::before { transform: scaleX(1); }


.hero-ip {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(15,21,32,.8);
  border: 1px solid var(--border2);
  border-radius: 2px;
  padding: .9rem 2rem;
  opacity: 0;
  animation: fadeUp .8s 1.3s forwards;
  backdrop-filter: blur(12px);
  transition: border-color .3s, box-shadow .3s;
}

.hero-ip::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(200,168,64,.3), transparent 50%, rgba(45,200,160,.15));
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
}

.hero-ip:hover { border-color: rgba(200,168,64,.3); box-shadow: var(--glow-gold); }
.hero-ip:hover::before { opacity: 1; }

.hero-ip span {
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-ip code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: var(--gold2);
  letter-spacing: .06em;
  text-shadow: 0 0 14px rgba(240,208,112,.3);
}

.copy-btn {
  background: none;
  border: none;
  cursor: none;
  color: var(--muted);
  font-size: .9rem;
  padding: .2rem .5rem;
  border-radius: 2px;
  transition: color .2s, background .2s, transform .15s var(--bounce);
}

.copy-btn:hover {
  color: var(--gold);
  background: rgba(200,168,64,.1);
  transform: scale(1.2);
}

#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float var(--dur) var(--delay) infinite;
  box-shadow: 0 0 5px var(--gold);
}

@keyframes float {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: .8; }
  50%  { transform: translateY(-50vh) translateX(calc(var(--drift) * .5)) scale(1.5); }
  90%  { opacity: .15; }
  100% { transform: translateY(-115vh) translateX(var(--drift)) scale(.5); opacity: 0; }
}

section { padding: var(--section-pad); }

.section-label {
  font-size: .7rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  text-shadow: 0 0 16px rgba(45,200,160,.4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: var(--gold2);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 30px rgba(200,168,64,.18);
}

.section-desc {
  color: var(--muted);
  max-width: 560px;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.85;
}

.divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200,168,64,.08));
  margin: 2rem 0 3.5rem;
  position: relative;
}

.divider::before {
  content: '◆';
  position: absolute;
  left: -1px; top: 50%;
  transform: translateY(-50%);
  font-size: .38rem;
  color: var(--gold);
}

#features {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

#features::before,
#features::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,64,.15), transparent);
}
#features::before { top: 0; }
#features::after  { bottom: 0; }

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .4s;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(200,168,64,.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}

.feature-card:hover { background: var(--surface2); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after  { opacity: 1; }

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 1.4rem;
  display: block;
  transition: transform .35s var(--bounce), filter .35s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.18) translateY(-4px);
  filter: drop-shadow(0 5px 14px rgba(200,168,64,.28));
}

.feature-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: .92rem;
  color: var(--gold);
  margin-bottom: .85rem;
  letter-spacing: .06em;
  transition: color .3s, text-shadow .3s;
}

.feature-card:hover .feature-title {
  color: var(--gold2);
  text-shadow: 0 0 20px rgba(200,168,64,.35);
}

.feature-text {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  transition: color .3s;
}

.feature-card:hover .feature-text { color: var(--text2); }

#mods {
  background: var(--bg);
  position: relative;
}

#mods::before, #mods::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,64,.08), transparent);
}
#mods::before { top: 0; }
#mods::after  { bottom: 0; }

.mods-inner {
  max-width: 980px;
  margin: 0 auto;
}

.mods-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.mod-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 1.4rem;
  background: var(--surface);
  padding: 1.3rem 1.8rem;
  transition: background .25s, transform .25s var(--ease);
  position: relative;
  overflow: hidden;
}

.mod-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--ember));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}

.mod-row:hover { background: var(--surface2); }
.mod-row:hover::before { transform: scaleY(1); }

.mod-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: .7rem;
  color: var(--border2);
  text-align: right;
  transition: color .3s;
}

.mod-row:hover .mod-num { color: var(--gold-dim); }

.mod-name {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color .3s;
}

.mod-row:hover .mod-name { color: var(--gold2); }

.mod-desc {
  color: var(--muted);
  font-size: .88rem;
  font-style: italic;
  margin-top: .18rem;
  transition: color .3s;
}

.mod-row:hover .mod-desc { color: var(--text2); }

.mod-tag {
  font-size: .67rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .28rem .8rem;
  border-radius: 1px;
  white-space: nowrap;
  transition: box-shadow .3s;
}

.tag-core  { background: rgba(200,168,64,.08); color: var(--gold);   border: 1px solid rgba(200,168,64,.2); }
.tag-magic { background: rgba(45,200,160,.07); color: var(--teal);   border: 1px solid rgba(45,200,160,.18); }
.tag-tech  { background: rgba(224,90,32,.07);  color: var(--ember);  border: 1px solid rgba(224,90,32,.2); }
.tag-world { background: rgba(128,96,200,.07); color: var(--purple); border: 1px solid rgba(128,96,200,.18); }

.mod-row:hover .tag-core  { box-shadow: 0 0 14px rgba(200,168,64,.22); }
.mod-row:hover .tag-magic { box-shadow: 0 0 14px rgba(45,200,160,.22); }
.mod-row:hover .tag-tech  { box-shadow: 0 0 14px rgba(224,90,32,.22); }
.mod-row:hover .tag-world { box-shadow: 0 0 14px rgba(128,96,200,.22); }


#rules {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.rules-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.rules-list {
  counter-reset: rules;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.rules-list li {
  counter-increment: rules;
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 1.3rem 1.8rem;
  background: var(--surface);
  border-left: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, background .3s, transform .25s var(--ease), box-shadow .3s;
}

.rules-list li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200,168,64,.04) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}

.rules-list li:hover {
  border-left-color: var(--gold);
  background: var(--surface2);
  transform: translateX(5px);
  box-shadow: -5px 0 25px rgba(200,168,64,.08);
}

.rules-list li:hover::after { opacity: 1; }

.rules-list li::before {
  content: counter(rules, decimal-leading-zero);
  font-family: 'Cinzel Decorative', serif;
  font-size: .7rem;
  color: var(--gold);
  min-width: 2.2rem;
  padding-top: .22rem;
  flex-shrink: 0;
  transition: text-shadow .3s;
  position: relative;
  z-index: 1;
}

.rules-list li:hover::before { text-shadow: 0 0 14px rgba(200,168,64,.55); }

#join {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#join::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(200,168,64,.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(224,90,32,.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(45,200,160,.03) 0%, transparent 50%);
  pointer-events: none;
}


#join::after {
  content: '';
  position: absolute;
  top: 2.5rem; left: 2.5rem; right: 2.5rem; bottom: 2.5rem;
  border: 1px solid rgba(200,168,64,.04);
  pointer-events: none;
}

.join-inner {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  z-index: 2;
}

.join-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  color: var(--gold2);
  margin-bottom: 1.2rem;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(200,168,64,.2);
}

.join-sub {
  color: var(--muted);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  text-align: left;
  margin: 3.5rem 0;
  position: relative;
}


.steps::before {
  content: '';
  position: absolute;
  top: 2.3rem;
  left: calc(33.33% - 12px);
  right: calc(33.33% - 12px);
  height: 1px;
  background: linear-gradient(90deg, rgba(200,168,64,.15), rgba(200,168,64,.35), rgba(200,168,64,.15));
  pointer-events: none;
  z-index: 0;
}

.step {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, background .3s, transform .25s var(--bounce), box-shadow .3s;
  z-index: 1;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,168,64,.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}

.step:hover {
  border-color: rgba(200,168,64,.22);
  background: var(--surface2);
  transform: translateY(-6px);
  box-shadow: 0 14px 45px rgba(0,0,0,.45), 0 0 22px rgba(200,168,64,.06);
}

.step:hover::before { opacity: 1; }

.step-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.6rem;
  color: rgba(200,168,64,.1);
  position: absolute;
  top: .9rem; right: 1.2rem;
  line-height: 1;
  transition: color .3s;
}

.step:hover .step-num { color: rgba(200,168,64,.2); }

.step-title {
  color: var(--gold);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}

.step-text {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  transition: color .3s;
}

.step:hover .step-text { color: var(--text2); }

footer {
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  position: relative;
  background: var(--bg2);
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 4rem; right: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,64,.25), transparent);
}

.footer-logo {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold);
  font-size: 1.1rem;
  text-shadow: 0 0 22px rgba(200,168,64,.4);
  letter-spacing: .05em;
}

.footer-copy {
  color: var(--muted);
  font-size: .82rem;
  font-style: italic;
}

.footer-links { display: flex; gap: 2rem; }

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .06em;
  position: relative;
  transition: color .25s;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .28s var(--ease);
}

.footer-links a:hover { color: var(--gold2); }
.footer-links a:hover::after { width: 100%; }


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }


@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  nav, nav.scrolled { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  footer::before { left: 1.5rem; right: 1.5rem; }
  #cursor, #cursor-ring { display: none !important; }
  * { cursor: auto !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}