/* =========================================================
   LegitRP — styles.css (FULL CLEAN VERSION)
   - Removes duplicates / conflicting overrides
   - Fixes creators centering + sizing
   - Keeps your theme + layout the same
   ========================================================= */


/* =========================
   THEME
   ========================= */
:root{
  --bg:#0b0c0f;
  --bg2:#07080a;

  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);

  --text:#f5f6f8;
  --muted: rgba(245,246,248,.70);

  --gold:#ffdf87;
  --gold2:#f6c85b;

  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --radius: 18px;
  --radius2: 26px;
  --wrap: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
a{ color: inherit; text-decoration:none; }
code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

/* Optional smooth scroll */
html{ scroll-behavior: smooth; }

/* =========================
   BACKGROUND + BASE
   ========================= */
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  overflow-x:hidden;

  /* room for fixed nav */
  padding-top: 74px;

  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(255,223,135,.12), transparent 60%),
    radial-gradient(900px 700px at 10% 15%, rgba(255,255,255,.04), transparent 55%),
    radial-gradient(1000px 800px at 50% 120%, rgba(0,0,0,.75), rgba(0,0,0,.95)),
    linear-gradient(180deg, #0b0c0f, #07080a);
}

/* Fixed wallpaper layer */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;

  background-image: url("assets/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: .16;
  filter: saturate(1.1) contrast(1.05);
  transform: translateZ(0);
}

/* Smooth overlay */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(900px 520px at 70% 10%, rgba(255,223,135,.16), transparent 60%),
    radial-gradient(900px 700px at 15% 10%, rgba(255,255,255,.05), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(0,0,0,.70), rgba(0,0,0,.92)),
    linear-gradient(180deg, rgba(7,8,10,.45), rgba(7,8,10,.85));
}

.wrap{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

/* subtle top glow */
.top-glow{
  position: fixed;
  inset: -220px -220px auto -220px;
  height: 280px;
  background: radial-gradient(closest-side, rgba(255,223,135,.16), transparent 65%);
  pointer-events:none;
  filter: blur(10px);
  z-index: 0;
}

#particles{
  position: fixed;
  inset: 0;
  z-index: -3;              /* behind everything */
  pointer-events: none;
}


/* =========================
   NAV
   ========================= */
.nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(5,6,8,.75);

  border-bottom: 1px solid rgba(255,255,255,.08);

  box-shadow:
    0 1px 0 rgba(255,255,255,.65),
    0 10px 30px rgba(0,0,0,.25);
}

.nav__inner{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  height: 74px;
  display:flex;
  align-items:center;
  gap: 18px;
  justify-content: flex-start;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 120px;
}

.brand__mark{
  width: 34px;
  height: 34px;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.5));
}

.brand__word{ height: 22px; object-fit:contain; opacity:.95; }

.nav__links{
  margin-left:auto;
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav__links a{
  font-weight: 800;
  font-size: 13px;
  opacity: .86;
  padding: 10px 10px;
  border-radius: 10px;
  transition: .2s ease;
}
.nav__links a:hover{ opacity: 1; background: rgba(255,255,255,.06); }

.nav__burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  cursor:pointer;
}
.nav__burger span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.85);
  margin: 4px auto;
  border-radius: 3px;
}

.nav__mobile{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display:none;
  flex-direction:column;
  gap: 10px;
}

.nav__mobile[hidden]{ display:none !important; }

.nav__mobile a{
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}

.nav__mobile-ctas{ display:flex; gap: 10px; margin-top: 6px; flex-wrap:wrap; }

.nav-socials{
  display:flex;
  gap: 10px;
  align-items:center;
}

.nav-icon{
  width: 38px;
  height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.nav-icon:hover{
  transform: translateY(-1px);
  border-color: rgba(255,223,135,.25);
  background: rgba(255,255,255,.06);
}
.nav-icon svg{
  width: 18px;
  height: 18px;
  fill: rgba(245,246,248,.85);
}

/* =========================
   HERO
   ========================= */
.hero{
  position: relative;
  padding: 74px 0 38px;
  z-index: 1;
}

.hero__overlay{
  position:absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 70% 10%, rgba(255,223,135,.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.78));
}

.hero__content{
  position: relative;
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 22px;
  align-items: start;
}

.hero__right{ display:flex; justify-content:flex-end; }
.hero-card{ width: min(520px, 100%); }

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 800;
}

.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255,223,135,.14);
}

h1{
  margin: 14px 0 10px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  letter-spacing: .5px;
}

.h1__brand{
  display:block;
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 900;
  line-height: 1.02;
}

.h1__sub{
  display:block;
  margin-top: 8px;
  font-size: clamp(14px, 2.1vw, 18px);
  font-weight: 700;
  opacity: .78;
}

.lead{
  margin: 0 0 18px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.cta-row{ display:flex; flex-wrap:wrap; gap: 10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-weight: 900;
  font-size: 13px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 14px 45px rgba(0,0,0,.25);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }

.btn--gold{
  background: linear-gradient(135deg, rgba(255,223,135,.28), rgba(255,223,135,.12));
  border-color: rgba(255,223,135,.35);
}
.btn--gold:hover{ background: linear-gradient(135deg, rgba(255,223,135,.34), rgba(255,223,135,.14)); }

.btn--ghost{ background: rgba(255,255,255,.03); }

/* STATUS button */
.btn--status{
  background: linear-gradient(135deg, rgba(255,223,135,.28), rgba(255,223,135,.12));
  border-color: rgba(255,223,135,.35);
}
.btn--status:hover{
  background: linear-gradient(135deg, rgba(255,223,135,.34), rgba(255,223,135,.14));
}

.status-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #777;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

.btn--status.is-online .status-dot{
  background: #3dff7a;
  box-shadow: 0 0 0 4px rgba(61,255,122,.15), 0 0 14px rgba(61,255,122,.55);
}

.btn--status.is-offline .status-dot{
  background: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255,77,77,.15), 0 0 14px rgba(255,77,77,.45);
}

/* =========================
   HERO CARD
   ========================= */
.hero-card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.26);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.hero-card__top{
  padding: 18px 18px 10px;
  display:flex;
  gap: 12px;
  align-items:center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}

.crown{
  width: 54px; height: 54px; object-fit:contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55));
}

.hero-card__kicker{
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-card__name{ font-size: 18px; font-weight: 900; letter-spacing: .3px; }

/* 3 small stat cards */
.hero-card__stats{
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-card__stats .stat{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.hero-card__stats .stat__label{
  font-size: 11px;
  color: rgba(245,246,248,.70);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-card__stats .stat__value{
  margin-top: 6px;
  font-weight: 900;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-card__stats .stat__value::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #777;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

.hero-card__stats .stat--active .stat__value::before{
  background: #3dff7a;
  box-shadow: 0 0 0 4px rgba(61,255,122,.15), 0 0 14px rgba(61,255,122,.55);
}

.hero-card__stats .stat--open .stat__value::before{
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255,223,135,.14), 0 0 14px rgba(255,223,135,.45);
}

@media (max-width: 720px){
  .hero-card__stats{ grid-template-columns: 1fr; }
}

/* =========================
   SECTIONS
   ========================= */
.section{ padding: 58px 0; position:relative; z-index: 1; }
.section__head{ margin-bottom: 18px; }

.section__head h2{
  margin: 0 0 8px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 26px;
  letter-spacing: .3px;
}

.section__head p{ margin: 0; color: var(--muted); line-height: 1.6; }
.section__head.center{ text-align:center; }

.kicker{
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 42px;
  line-height: 1;
  color: var(--gold);
}

.muted{ color: var(--muted); line-height: 1.6; font-size: 14px; margin: 0; }
.muted.max{ max-width: 82ch; margin: 0 auto; }

.center{ display:flex; justify-content:center; }

/* =========================
   ABOUT SECTION
   ========================= */

.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
}

.about-card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow);
  padding: 22px;
}

.about-kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-card h3{
  margin: 0 0 12px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 900;
}

.about-card p{
  margin: 0 0 12px;
  color: rgba(245,246,248,.78);
  line-height: 1.7;
  font-size: 14.5px;
}

.about-card p:last-child{
  margin-bottom: 0;
}

.gold{
  color: var(--gold);
  font-weight: 900;
}

/* RIGHT VISUAL */
.about-visual{
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual img{
  width: min(360px, 100%);
  height: auto;
  filter:
    drop-shadow(0 0 20px rgba(255,223,135,.25))
    drop-shadow(0 0 60px rgba(255,223,135,.15));
  opacity: .95;
}

/* Swap About layout: image LEFT, text RIGHT */
.about-grid{
  grid-template-columns: 0.9fr 1.1fr;
}

.about-visual{
  order: 1;
}

.about-card{
  order: 2;
}

/* Responsive */
@media (max-width: 980px){
  .about-grid{
    grid-template-columns: 1fr;
  }

  .about-visual{
    order: -1; /* crown goes above text on mobile */
    margin-bottom: 10px;
  }

  .about-visual img{
    width: 240px;
  }
}


/* =========================
   JOBS
   ========================= */
.jobs{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.job-card.logo-card{
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow);
  overflow:hidden;

  height: 260px;
  padding: 26px 22px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 14px;

  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.job-card.logo-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 55%);
  pointer-events:none;
}

.job-card.logo-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,223,135,.22);
  background: rgba(0,0,0,.28);
}

.job-logo{
  width: 132px;
  height: auto;
  max-width: 75%;
  filter: drop-shadow(0 0 10px rgba(255,223,135,.35));
  transition: transform .18s ease, filter .18s ease;
}

.job-card.logo-card:hover .job-logo{
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(255,223,135,.55));
}

.job-title{
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 13px;
  color: rgba(245,246,248,.90);
  text-transform: uppercase;
}

/* =========================
   TABS
   ========================= */
.tabs{ display:flex; gap: 10px; flex-wrap:wrap; }
.tab{
  appearance:none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.tab:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.tab.is-active{
  border-color: rgba(255,223,135,.28);
  background: rgba(255,223,135,.10);
  color: rgba(255,223,135,.95);
}
.tabs .tab::before,
.tabs .tab::after{ content:none !important; display:none !important; }

/* =========================
   STAFF (center leftover rows)
   ========================= */
.staff-grid{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;

  /* keep a “5 across” container so it looks clean */
  max-width: calc((200px * 5) + (14px * 4));
  margin-left: auto;
  margin-right: auto;
}

.staff-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  padding: 16px 14px;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);

  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  text-align:center;

  width: 200px;
  max-width: 200px;
}

.staff-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,223,135,.25);
  background: rgba(0,0,0,.28);
}

.staff-avatar{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 2px solid rgba(255,223,135,.35);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  overflow:hidden;
}
.staff-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.staff-name{
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .3px;
}

.staff-role{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,246,248,.60);
  margin-top: -2px;
}

.staff-platform{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  margin-top: 2px;
  color: rgba(245,246,248,.85);
}

/* =========================
   CONTENT CREATORS (FINAL)
   - ALL tab = 200px cards, centered leftover row (like staff)
   - Twitch/Kick = bigger embeds
   ========================= */
#streamGrid{
  margin-top: 16px;
  gap: 14px;
  align-items: start;
}

/* ALL tab (cards) */
#streamGrid.stream-grid--cards{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, 200px) !important;
  justify-content: center !important;
}

#streamGrid.stream-grid--cards .streamer-card{
  width: 200px;
  max-width: 200px;
}

/* Twitch/Kick embeds */
#streamGrid.stream-grid--embeds{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)) !important;
  justify-content: stretch !important;
}

@media (max-width: 520px){
  #streamGrid.stream-grid--embeds{
    grid-template-columns: 1fr !important;
  }
}

/* Streamer cards */
.streamer-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  text-align:center;
}
.streamer-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,223,135,.25);
  background: rgba(0,0,0,.28);
}

.streamer-avatar{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 2px solid rgba(255,223,135,.35);
  background: rgba(255,255,255,.06);
  color: var(--gold);
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  overflow: hidden;
}
.streamer-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display:block;
}

.streamer-name{ font-weight: 900; font-size: 14px; letter-spacing: .3px; margin-top: 2px; }
.streamer-platform{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,246,248,.60);
  margin-top: -2px;
}

.streamer-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.streamer-status:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }

/* =========================
   RULES (Home rules teaser cards)
   ========================= */
.rules{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.rule{
  display:flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}

.rule__num{
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(255,223,135,.10);
  border: 1px solid rgba(255,223,135,.18);
  font-weight: 900;
}

.rule__title{ font-weight: 900; margin-bottom: 6px; }
.rule__text{ color: var(--muted); font-size: 14px; line-height: 1.6; }
.rules__footer{ margin-top: 14px; }

.rule-subtitle{
  margin: 12px 0 6px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,223,135,.95);
}

/* =============================
   RULEBOOK SWITCH BUTTON
   ============================= */
.rules-switch {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0 24px;
}

.rules-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #ffdf87;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(255,223,135,0.15),
      rgba(255,223,135,0.05)
    );
  border: 1px solid rgba(255,223,135,0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.rules-switch__btn:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(
      180deg,
      rgba(255,223,135,0.25),
      rgba(255,223,135,0.10)
    );
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 14px 40px rgba(0,0,0,0.45);
}

/* =============================
   RULES HEADER INLINE LAYOUT
   ============================= */
.section__head--rules {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

/* Prevent wrapping */
.section__head--rules .kicker {
  white-space: nowrap;
}

/* Button sizing tweak for header */
.section__head--rules .rules-switch__btn {
  padding: 8px 14px;
  font-size: 12px;
}

/* Mobile fallback */
@media (max-width: 640px) {
  .section__head--rules {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}


/* =========================
   UPDATES
   ========================= */
.updates{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
  align-items: stretch;
}

.updates__frame{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  overflow:hidden;
  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;

  height: 520px;
}

.updates__header{
  padding: 14px 16px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  flex: 0 0 auto;
}

.updates__title{ font-weight: 900; letter-spacing: .2px; }
.updates__hint{ font-size: 12px; color: var(--muted); }

.updates__list{
  padding: 14px 16px 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow:auto;

  scrollbar-gutter: stable;
  padding-right: 20px;

  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.14) transparent;
}

.updates__loading{ color: var(--muted); padding: 10px 0; }

.updates__list::-webkit-scrollbar{ width: 8px; }
.updates__list::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.12); border-radius: 999px; }
.updates__list::-webkit-scrollbar-track{ background: transparent; }

.update{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  margin-bottom: 10px;
}

/* consistent right column for date */
.update__top{
  display: grid;
  grid-template-columns: 1fr 80px;
  align-items: center;
  gap: 12px;
  padding-right: 6px;
}

.update__tag{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,223,135,.95);
}

.update__date{
  justify-self: end;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.update__title{ margin: 8px 0 6px; font-weight: 900; }
.update__text{ margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

/* =========================
   LINKS
   ========================= */
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.biglink{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,223,135,.18);
  background: linear-gradient(135deg, rgba(255,223,135,.10), rgba(255,255,255,.03));
  padding: 18px;
  transition: transform .18s ease, border-color .18s ease;
}

.biglink:hover{ transform: translateY(-2px); border-color: rgba(255,223,135,.30); }
.biglink__title{ font-weight: 900; font-size: 18px; }
.biglink__sub{ margin-top: 6px; color: var(--muted); }

/* =========================
   FOOTER
   ========================= */
.footer{ padding: 30px 0 44px; border-top: 1px solid rgba(255,255,255,.06); }

.footer__inner{ display:flex; align-items:center; justify-content:space-between; gap: 16px; }
.footer__left{ display:flex; align-items:center; gap: 12px; }

.footer__mark{ width: 34px; height: 34px; object-fit:contain; opacity: .95; }
.footer__name{ font-weight: 900; }
.footer__copy{ color: var(--muted); font-size: 13px; margin-top: 4px; }
.footer__right{ display:flex; gap: 14px; color: rgba(255,255,255,.80); }
.footer__right a{ padding: 10px 8px; border-radius: 12px; }
.footer__right a:hover{ background: rgba(255,255,255,.05); }

/* =========================
   REVEAL
   ========================= */
.reveal{ opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================
   WHAT LEGIT OFFERS
   ========================= */
.offers-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.offer-card{
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.20);
}

.offer-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,223,135,.10);
  border: 1px solid rgba(255,223,135,.18);
  flex: 0 0 auto;
}

.offer-title{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.offer-text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   MEMORIAL (Mike)
   ========================= */
.memorial-link{
  color: var(--gold);
  border-bottom: 1px solid rgba(255,223,135,.35);
  padding-bottom: 1px;
}
.memorial-link:hover{
  border-bottom-color: rgba(255,223,135,.75);
  text-shadow: 0 0 16px rgba(255,223,135,.25);
}

.memorial{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 14px;
  align-items: start;
}

.memorial__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}

.memorial__quote{
  margin-top: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.memorial__bar{
  width: 4px;
  height: 100%;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255,223,135,.75);
  box-shadow: 0 0 18px rgba(255,223,135,.20);
}

.mike{
  padding-top: 36px;
}

.mike__head{ margin-bottom: 18px; }

.mike__back{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(245,246,248,.85);
  font-weight: 800;
  font-size: 13px;
}

.mike__title{
  margin: 16px 0 8px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.mike__sub{
  margin: 0;
  color: rgba(245,246,248,.70);
  line-height: 1.6;
  max-width: 70ch;
}

.mike__grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}

.mike__photo{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
  overflow: hidden;
  position: sticky;
  top: 92px;
}

.mike__photo img{
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  filter: saturate(1.02) contrast(1.02);
  opacity: .98;
}

.mike__card{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  overflow: hidden;
}

.mike__text{ padding: 18px 18px 6px; }

.mike__text p{
  margin: 0 0 12px;
  color: rgba(245,246,248,.78);
  line-height: 1.75;
  font-size: 14.5px;
}

.mike__footer{
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  display: grid;
  gap: 10px;
}

.mike__tag{
  display:inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,223,135,.22);
  background: rgba(255,223,135,.10);
  color: rgba(255,223,135,.95);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 12px;
}

.mike__sig{
  color: rgba(245,246,248,.80);
  line-height: 1.6;
  font-weight: 700;
}

.mike__name{
  color: rgba(245,246,248,.65);
  font-weight: 800;
  margin-top: 2px;
}

/* =========================
   RULES PAGE (accordion + TOC)
   ========================= */
.rules-page{ padding-top: 22px; }

.rules-layout{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
  align-items: start;
}

.rules-doc{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rules-actions{
  padding: 14px 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}

.rule-section{
  border-top: 1px solid rgba(255,255,255,.08);
  scroll-margin-top: 92px;
}

.rule-toggle{
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  background: transparent;
  border: 0;
  color: rgba(245,246,248,.92);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  cursor: pointer;
  font-weight: 900;
}

.rule-toggle__hint{
  font-size: 12px;
  font-weight: 800;
  color: rgba(245,246,248,.65);
  letter-spacing: .02em;
}

.rule-toggle__chev{
  width: 10px;
  height: 10px;
  justify-self: end;
  margin-top: -26px;
  border-right: 2px solid rgba(245,246,248,.60);
  border-bottom: 2px solid rgba(245,246,248,.60);
  transform: rotate(45deg);
  transition: transform .18s ease, opacity .18s ease;
  opacity: .7;
}

.rule-section.is-open .rule-toggle__chev{
  transform: rotate(225deg);
  opacity: 1;
}

.rule-panel{ padding: 0 14px 14px; }

.rule-list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(245,246,248,.78);
  line-height: 1.7;
  font-size: 14px;
}
.rule-list li{ margin: 8px 0; }

.rules-toc{
  position: sticky;
  top: 92px;
  align-self: start;
}

.rules-toc__card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 14px;
}

.rules-toc__title{
  font-weight: 900;
  margin: 0 0 10px;
  color: rgba(245,246,248,.92);
}

.rules-toc__actions{
  display:flex;
  gap: 10px;
  margin: 0 0 12px;
}

.rules-toc__btn{
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(245,246,248,.90);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.rules-toc__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,223,135,.25);
  background: rgba(255,255,255,.06);
}

.rules-toc__list{
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 260px);
  overflow: auto;
  padding-right: 8px;
  min-height: 120px;
}

.rules-toc__list::-webkit-scrollbar{ width: 6px; }
.rules-toc__list::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.12); border-radius: 999px; }
.rules-toc__list::-webkit-scrollbar-track{ background: transparent; }

.rules-toc__link{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(245,246,248,.85);
  font-weight: 800;
}
.rules-toc__link:hover{
  border-color: rgba(255,223,135,.25);
  background: rgba(255,223,135,.06);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .hero__content{ grid-template-columns: 1fr; }
  .updates{ grid-template-columns: 1fr; }
  .jobs{ grid-template-columns: 1fr; height: auto; }
  .rules{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .offers-grid{ grid-template-columns: 1fr; }

  .nav__links{ display:none; }
  .nav__burger{ display:block; }
  .nav__mobile{ display:flex; }

  .footer__inner{ flex-direction: column; align-items:flex-start; }
  .kicker{ font-size: 36px; }

  .rules-layout{ grid-template-columns: 1fr; }
  .rules-toc{ position: relative; top: auto; }
  .rules-toc__list{ max-height: none; }

  .memorial{ grid-template-columns: 1fr; }

  .mike__grid{ grid-template-columns: 1fr; }
  .mike__photo{ position: relative; top: auto; }
}

/* =========================================
   CONTENT CREATORS — FIXED LAYOUT
   - All tab = centered grid with fixed card width (like staff)
   - Twitch/Kick = bigger embed tiles
   ========================================= */

/* Base: keep it from inheriting weird overrides */
#streamGrid{
  margin-top: 16px;
}

/* ALL tab cards */
#streamGrid.is-cards{
  display: grid !important;
  gap: 14px !important;

  /* same idea as staff: fixed card tracks */
  grid-template-columns: repeat(auto-fit, 200px) !important;

  /* centers incomplete rows */
  justify-content: center !important;
  align-items: start !important;
}

/* Make creator cards match staff width */
#streamGrid.is-cards .streamer-card{
  width: 200px !important;
  max-width: 200px !important;
}

/* Twitch / Kick embeds */
#streamGrid.is-embeds{
  display: grid !important;
  gap: 14px !important;

  /* bigger tiles */
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)) !important;
  align-items: start !important;
}

/* Optional: make embeds even bigger on very wide screens */
@media (min-width: 1200px){
  #streamGrid.is-embeds{
    grid-template-columns: repeat(2, minmax(560px, 1fr)) !important;
  }
}

/* Mobile: embed tiles go full width */
@media (max-width: 700px){
  #streamGrid.is-embeds{
    grid-template-columns: 1fr !important;
  }
  #streamGrid.is-cards{
    grid-template-columns: repeat(auto-fit, 180px) !important;
  }
  #streamGrid.is-cards .streamer-card{
    width: 180px !important;
    max-width: 180px !important;
  }
}

/* =========================================
   CONTENT CREATORS — PERFECT LAST-ROW CENTER
   ========================================= */

/* ALL tab = flex-wrap like staff (centers incomplete rows) */
#streamGrid.is-cards{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;  /* ✅ centers the last row */
  gap: 14px !important;
  margin-top: 16px !important;

  /* Optional: keeps the row width “staff-like” instead of spanning full wrap width */
  max-width: calc((200px * 5) + (14px * 4)); /* 5 cards + 4 gaps */
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Cards same width as staff (and DO NOT stretch) */
#streamGrid.is-cards .streamer-card{
  flex: 0 0 200px !important; /* ✅ fixed card width */
  width: 200px !important;
  max-width: 200px !important;
}

/* Twitch / Kick embeds stay bigger (grid) */
#streamGrid.is-embeds{
  display: grid !important;
  gap: 14px !important;
  margin-top: 16px !important;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)) !important;
  align-items: start !important;
}

/* Responsive tweaks */
@media (max-width: 1150px){
  #streamGrid.is-cards{ max-width: calc((200px * 4) + (14px * 3)); }
}
@media (max-width: 950px){
  #streamGrid.is-cards{ max-width: calc((200px * 3) + (14px * 2)); }
}
@media (max-width: 720px){
  #streamGrid.is-cards{
    max-width: calc((180px * 2) + (14px * 1));
  }
  #streamGrid.is-cards .streamer-card{
    flex: 0 0 180px !important;
    width: 180px !important;
    max-width: 180px !important;
  }
  #streamGrid.is-embeds{
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   CREATORS — CLEAN EMBED LAYOUT (Twitch/Kick)
   ========================================= */

#streamGrid.is-embeds{
  /* 2 columns on desktop, centered */
  display: grid !important;
  gap: 14px !important;

  grid-template-columns: repeat(2, minmax(0, 560px)) !important;
  justify-content: center !important;
  align-items: start !important;

  margin-top: 16px !important;
}

/* make each embed card consistent */
#streamGrid.is-embeds .stream{
  width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

/* header spacing consistent */
#streamGrid.is-embeds .stream > .stream__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* keep embeds perfectly sized */
#streamGrid.is-embeds .stream__player{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.03);
}

#streamGrid.is-embeds iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive: 1 column on smaller screens */
@media (max-width: 1200px){
  #streamGrid.is-embeds{
    grid-template-columns: 1fr !important;
  }
  #streamGrid.is-embeds .stream{
    max-width: 720px;
    margin: 0 auto;
  }
}

/* =========================
   FIX: Development Posts equal height (Roadmap + Changelogs)
   Paste at VERY BOTTOM of styles.css
   ========================= */

#updates .updates{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  align-items: stretch !important; /* key */
}

/* both columns = same height container */
#updates .updates__frame{
  display: flex !important;
  flex-direction: column !important;

  height: 520px !important;      /* adjust if you want */
  min-height: 520px !important;
  max-height: 520px !important;

  overflow: hidden !important;
}

/* header stays fixed */
#updates .updates__header{
  flex: 0 0 auto !important;
}

/* list is the scroll area */
#updates .updates__list{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: auto !important;

  scrollbar-gutter: stable;
  padding-right: 18px;
  background: transparent;
}

/* responsive stack */
@media (max-width: 980px){
  #updates .updates{
    grid-template-columns: 1fr !important;
  }
  #updates .updates__frame{
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
  }
}

@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.about-visual img{
  animation: floaty 5s ease-in-out infinite;
}



@media (max-width: 820px){
  .community-stats{ grid-template-columns: 1fr; }
}

/* =========================================
   DEV POSTS — tighter typography
   ========================================= */

/* Card titles */
.update__title,
.update h3 {
  font-size: 14px;        /* was ~15–16 */
  line-height: 1.35;
}

/* Card body text */
.update__text,
.update p {
  font-size: 13px;        /* was ~14–15 */
  line-height: 1.55;
}

/* Small labels (ADDED / FIX / QOL etc.) */
.update__tag {
  font-size: 10px;
  letter-spacing: .12em;
}

/* Right-side meta (Recent / names) */
.update__date {
  font-size: 11px;
}


/* =========================================
   Scroll fade — depth cue for dev panels
   ========================================= */

/* Ensure panels can host overlay */
.updates__frame {
  position: relative;
  overflow: hidden;
}

/* Bottom fade overlay */
.updates__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.35),
    transparent
  );
}

/* Make sure scroll area stays scrollable */
.updates__list {
  position: relative;
  z-index: 1;
}

/* =========================================
   STRONG scroll fade (forces visible)
   ========================================= */

/* Make sure the panel can host an overlay */
#updates .updates__frame{
  position: relative !important;
  overflow: hidden !important;
}

/* Give the scroll list room so text can slide under the fade */
#updates .updates__list{
  padding-bottom: 58px !important; /* IMPORTANT: fade space */
}

/* Bottom fade overlay (stronger + matches your panel) */
#updates .updates__frame::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:64px !important;
  pointer-events:none !important;
  z-index: 5 !important;

  /* fade into your panel look, not transparent */
  background: linear-gradient(
    to top,
    rgba(7,8,10,.92),
    rgba(7,8,10,.55),
    rgba(7,8,10,0)
  ) !important;
}

#updates .updates__frame::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  height:34px !important;
  pointer-events:none !important;
  z-index: 5 !important;

  background: linear-gradient(
    to bottom,
    rgba(7,8,10,.72),
    rgba(7,8,10,0)
  ) !important;
}


/* Rules TOC: smaller text + tighter buttons */
.rules-toc__link{
  font-size: 12px !important;
  padding: 9px 10px !important;
  border-radius: 12px;
}

.rules-toc__btn{
  font-size: 11px !important;
  padding: 9px 10px !important;
}

.rules-toc__title{
  font-size: 14px !important;
}
