/* ==========================================================================
   home-red.css — index.html only. Sidebar/nav theme now lives in base.css
   (shared by every page). This file only owns index-specific sections:
   hero, guild carousel, explore/hire tiles, footer tweaks, scroll reveal.
   ========================================================================== */

html{
  background:#000 url('/assets/sitebg.gif') center/cover fixed no-repeat;
}
body{ background:transparent; }

/* fidget wheel, lives inside the shared nav on this page only */
.rail-wheel{ display:flex; flex-direction:column; align-items:center; gap:8px; margin:8px 0; }
.wheel{
  width:40px; height:40px; border-radius:50%; position:relative; cursor:grab;
  background:
    conic-gradient(from 0deg,
      var(--red) 0deg 24deg, transparent 24deg 48deg,
      var(--red) 48deg 72deg, transparent 72deg 96deg,
      var(--red) 96deg 120deg, transparent 120deg 144deg,
      var(--red) 144deg 168deg, transparent 168deg 192deg,
      var(--red) 192deg 216deg, transparent 216deg 240deg,
      var(--red) 240deg 264deg, transparent 264deg 288deg,
      var(--red) 288deg 312deg, transparent 312deg 336deg,
      var(--red) 336deg 360deg);
  transition:transform 2s cubic-bezier(.1,.85,.2,1);
}
.wheel:active{ cursor:grabbing; }
.wheel-label{ font-size:.6rem; letter-spacing:.1em; text-transform:uppercase; color:var(--dim); }

/* in-sidebar server dock, sits under the wheel, never widens the 220px rail */
nav{ gap:24px !important; } /* tighter than base.css default so the dock has room to breathe */
.nav-dock{
  flex:1 1 auto; min-height:0; width:100%;
  overflow:hidden; position:relative;
  -webkit-mask-image:linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image:linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.nav-dock-track{
  display:flex; flex-direction:column; gap:12px;
  animation:dockScroll 16s linear infinite;
}
.nav-dock:hover .nav-dock-track{ animation-play-state:paused; }
@keyframes dockScroll{ from{ transform:translateY(0); } to{ transform:translateY(-50%); } }

.nsr{ display:flex; align-items:center; gap:8px; padding:2px 0; }
.nsr-icon{
  width:22px; height:22px; border-radius:50%; flex:none; overflow:hidden;
  background:#2a0810; display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; color:var(--ink); font-size:.6rem;
}
.nsr-icon img{ width:100%; height:100%; object-fit:cover; }
.nsr-info{ min-width:0; }
.nsr-name{ font-size:.7rem; color:var(--ink); font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:120px; }
.nsr-sub{ display:flex; align-items:center; gap:5px; font-size:.6rem; color:var(--dim); margin-top:1px; }
.nsr-dot{ width:5px; height:5px; border-radius:50%; background:#3ecf6a; box-shadow:0 0 4px rgba(62,207,106,.6); flex:none; }

@media (max-width:860px){
  .nav-dock{ display:none; } /* sidebar becomes a horizontal bottom bar here, no room for a vertical ticker */
}

/* mobile-only horizontal server strip - the sidebar ticker (.nav-dock) is
   hidden below 860px since the nav collapses to a bottom bar, so this is
   the mobile equivalent: a horizontally-scrollable row of chips, shown
   right under the hero. hidden on desktop where the sidebar version lives. */
.mobile-server-strip{ display:none; }
@media (max-width:860px){
  .mobile-server-strip{
    display:flex; gap:10px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none;
    padding:0 clamp(16px,6vw,32px) 36px;
  }
  .mobile-server-strip::-webkit-scrollbar{ display:none; }
}
.msr-chip{
  flex:0 0 auto; display:flex; align-items:center; gap:8px;
  padding:8px 14px 8px 8px; border-radius:999px;
  background:rgba(8,2,2,.9); border:1px solid var(--line);
}
.msr-icon{
  width:26px; height:26px; border-radius:50%; flex:none; overflow:hidden;
  background:#2a0810; display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; color:var(--ink); font-size:.65rem;
}
.msr-icon img{ width:100%; height:100%; object-fit:cover; }
.msr-name{ font-size:.76rem; color:var(--ink); font-weight:500; white-space:nowrap; }
.msr-count{ font-size:.68rem; color:var(--dim); white-space:nowrap; }

/* party button confetti particles — spawned/animated in JS, styled here */
.party-flower{
  position:fixed; top:0; left:0; pointer-events:none; z-index:999;
  object-fit:contain; will-change:transform, opacity;
}

/* ============================== hero ============================= */
.hero{
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  padding:0 clamp(24px,6vw,72px);
  position:relative;
}
/* real, solid-enough scrim panel behind the text block — not a blur trick.
   Sized to the text, not full-bleed, so the gif is still dominant elsewhere. */
.hero-copy{
  max-width:640px;
  padding:44px clamp(24px,4vw,56px);
  border-radius:24px;
  background:linear-gradient(135deg, rgba(5,1,1,.82), rgba(10,2,3,.68));
  border:1px solid rgba(255,60,80,.2);
  box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.hero-tag{
  display:inline-flex; align-items:center; gap:8px; width:fit-content;
  font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--red-soft);
  margin-bottom:20px;
}
.hero-tag .pip{ width:6px; height:6px; border-radius:50%; background:var(--red); }

.hero h1{
  font-family:'Fraunces',serif; font-weight:300;
  font-size:clamp(2.6rem, 6vw, 4.6rem); line-height:1.02; letter-spacing:-.01em;
  color:var(--ink);
}
.hero h1 em{ font-style:italic; font-weight:400; color:var(--red-soft); }

.hero-sub{
  margin-top:22px; max-width:46ch; font-size:1rem; line-height:1.7;
  color:var(--body);
}

.hero-actions{ margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; }

.hero-scroll{
  position:absolute; right:clamp(24px,6vw,72px); bottom:36px;
  writing-mode:vertical-rl; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--dim); display:flex; align-items:center; gap:12px;
}
.hero-scroll .line{ width:1px; height:44px; background:linear-gradient(var(--red), transparent); }

@media (max-width:860px){
  .hero{ min-height:auto; padding:60px clamp(16px,6vw,32px) 40px; }
  .hero-scroll{ display:none; } /* decorative only, and would sit under the hero-copy card at this width */
  .hero-copy{ padding:32px 24px; }
}

/* ============================== panel sections ============================= */
.panel-head{ margin-bottom:48px; max-width:60ch; }
.panel-kicker{
  display:inline-block; margin-bottom:14px;
  font-size:12px; letter-spacing:.2em; text-transform:uppercase;
  color:#7a0f1c;
}
.panel-title{
  font-family:'Fraunces',serif; font-weight:300; font-size:clamp(2rem,4.4vw,3rem);
  color:#170203; line-height:1.08;
  text-shadow:0 1px 0 rgba(255,255,255,.08);
}

.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:780px){ .grid2{ grid-template-columns:1fr; } }

.tile{
  padding:38px; border-radius:20px; position:relative;
  background:rgba(8,2,2,.82); border:1px solid var(--line);
  transition:border-color .3s ease, transform .3s ease;
}
.tile:hover{ border-color:var(--red); transform:translateY(-4px); }
.tile-num{ font-family:'Fraunces',serif; font-style:italic; color:var(--red-soft); font-size:.9rem; display:block; margin-bottom:18px; }
.tile h3{ font-family:'Fraunces',serif; font-weight:400; font-size:1.5rem; color:var(--ink); margin-bottom:10px; }
.tile p{ color:var(--body); font-size:.92rem; line-height:1.65; max-width:34ch; margin-bottom:22px; }
.tile-link{
  display:inline-flex; align-items:center; gap:8px; font-size:.85rem; color:var(--ink);
  border-bottom:1px solid var(--line); padding-bottom:2px; transition:.25s ease;
}
.tile-link:hover{ border-color:var(--red); gap:12px; color:var(--red-soft); }
.tile-link svg{ width:13px; height:13px; }

/* ============================== footer ============================= */
footer .brand .dot{ background:var(--red); }
footer .tagline{ font-size:.8rem; color:var(--dim); }

/* ============================== scroll reveal ============================= */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal.out{ opacity:0; transform:translateY(-28px); }