*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-void: #05030e;
  --bg-deep: #080514;
  --bg-card: #0e0920;
  --bg-card2: #130c28;
  --purple-core: #7c3aed;
  --purple-bright: #9d5ff5;
  --purple-glow: #b47dff;
  --purple-muted: #3d1f6e;
  --purple-mid: #5b21b6;
  --accent-violet: #c084fc;
  --text-primary: #f0eaff;
  --text-secondary: #a694c8;
  --text-muted: #5a4a7a;
  --border: rgba(124,58,237,0.3);
  --border-bright: rgba(160,90,255,0.5);
  --glow: 0 0 30px rgba(124,58,237,0.4);
  --glow-sm: 0 0 14px rgba(124,58,237,0.45);
  --card-bg: rgba(14,9,32,0.85);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-void);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── ATMOSPHERIC BG ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 15% 60%, rgba(80,20,180,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(100,30,200,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(40,10,100,0.3) 0%, transparent 60%),
    linear-gradient(180deg, #080514 0%, #05030e 100%);
  pointer-events: none;
}

/* ─── NAV ─── */


.nav-links li a:hover { color: var(--text-primary); }
.nav-links li a.active { color: #fff; }
.nav-links li a.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 2px;
  background: var(--purple-core);
  box-shadow: var(--glow-sm);
}

.nav-discord:hover {
  background: rgba(124,58,237,0.2);
  box-shadow: var(--glow-sm);
}

/* ─── PAGE SYSTEM ─── */


/* ─── INNER PAGES ─── */

.page-header { margin-bottom: 3rem; }
.page-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--purple-glow); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-label::after { content: ''; flex: 1; height: 1px; background: var(--border); max-width: 60px; }
.page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.75rem;
}
.page-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.7;}

.section-divider {
  height: 1px; background: var(--border);
  margin: 3rem 0;
}

/* ─── DISCORD BANNER ─── */
.discord-banner {
  background: linear-gradient(135deg, #1a0d35, #2e1060);
  border: 1px solid var(--purple-muted); border-radius: 10px;
  padding: 2.25rem 2.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin-top: 3rem; box-shadow: var(--glow);
}
.discord-banner-left { flex: 1; }
.discord-banner-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent-violet); margin-bottom: 0.4rem;
}
.discord-banner-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem;
}
.discord-banner-sub { font-size: 0.875rem; color: var(--text-secondary); }
.btn-discord {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #5865F2; color: #fff; border-radius: 4px;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.8rem 1.8rem; white-space: nowrap;
  box-shadow: 0 0 18px rgba(88,101,242,0.4);
  transition: background 0.2s, transform 0.15s;
}
.btn-discord:hover { background: #4752c4; transform: translateY(-2px); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg-deep); border-top: 1px solid var(--border);
  padding: 2.25rem 3rem; text-align: center;
  margin-top: 4rem;
}
.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--purple-glow); letter-spacing: 0.12em;
  text-shadow: var(--glow-sm); margin-bottom: 0.4rem;
}
.footer-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.25rem;
}
.footer-nav { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; cursor: pointer;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--purple-glow); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .home-bottom { grid-template-columns: 1fr; }
  .bottom-col { border-right: none; border-bottom: 1px solid var(--border); }
  .bottom-col:last-child { border-bottom: none; }
}
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { gap: 0; }
  .nav-links li a { padding: 0.4rem 0.6rem; font-size: 0.72rem; }
  .home-hero { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .about-grid, .contact-grid, .recruit-grid, .rules-grid, .events-grid { grid-template-columns: 1fr; }
  .games-grid, .members-grid, .media-grid { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .inner-page { padding: 88px 1.5rem 3rem; }
  .discord-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .games-grid, .members-grid, .media-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .future-grid { grid-template-columns: 1fr; }
}

/* ═════════════════════════════════════════════════════════════
   2026 HOME REDESIGN — mockup-matched front page
   ═════════════════════════════════════════════════════════════ */
.page {
display: none;
display: none !important;
}
.page.active {
display: block;
display: block !important;
}
#page-home { min-height: 100vh; padding-top: 64px; }
#page-home:not(.active) { display: none !important; }
#page-home.active { display: block !important; }

/* Keep every inner page visually independent from the homepage. */
body:has(.page:not(#page-home).active) {
  background: var(--bg-void);
}

/* Top navigation: centered lettering with no top-left logo dependency. */


.nav-links li a {
font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none;
  padding: 0.4rem 1.1rem;
  position: relative;
  transition: color 0.2s;
  cursor: pointer;
padding: .45rem .72rem;
  font-size: .82rem;
}


.mock-hero-left {
  min-width: 0;
  padding-left: .3rem;
}


.mock-copy h1 span,
.mock-copy h1 strong { display: block; }
.mock-copy h1 strong {
  color: #9f5dff;
  font-weight: 700;
  margin-top: .25rem;
  text-shadow: 0 0 18px rgba(124,58,237,.42);
}


.mock-discord-btn:hover {
  background: linear-gradient(135deg, #5e1ed9, #7c3aed);
}
.mock-learn-btn:hover {
  background: rgba(51, 26, 100, 0.6);
}

.mock-discord-btn {
  color: #fff;
  border: 1px solid #8e43ff;
  background: linear-gradient(135deg, #6f27df, #913ff0);
  box-shadow: 0 0 28px rgba(124,58,237,.28);
}
.mock-learn-btn {
  color: #fff;
  background: rgba(7,3,15,.6);
  border: 1px solid rgba(157,95,245,.55);
}
.mock-learn-btn span { color: #a45cff; font-size: 1.1rem; }


.mock-video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 11px;
  background: #030108;
}


.mock-icon { color: #9b4cff; font-size: 1.15rem; }
.mock-view {
  border: 0;
  background: transparent;
  color: #a75cff;
  font-family: 'Rajdhani', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}


.mock-news-row:last-child { border-bottom: 0; padding-bottom: .2rem; }

.mock-news-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(217,176,255,.85) 0 2px, rgba(140,53,255,.32) 8%, transparent 27%),
    linear-gradient(145deg, rgba(38,8,75,.25), rgba(108,25,204,.75) 58%, rgba(12,3,28,.95));
}
.mock-news-art::after {
  content: "";
  position: absolute;
  left: 7%; right: 7%; bottom: 0;
  height: 48%;
  background: linear-gradient(160deg, transparent 0 30%, rgba(1,1,8,.72) 31% 100%);
  clip-path: polygon(0 68%, 18% 32%, 27% 55%, 46% 11%, 61% 55%, 76% 26%, 100% 69%, 100% 100%, 0 100%);
}
.mock-news-art span { position: relative; z-index: 2; opacity: .5; }
.art-two::before { filter: hue-rotate(8deg) brightness(.83); }
.art-three::before { filter: hue-rotate(-11deg) brightness(1.12); }


.mock-news-copy time {
  display: block;
  color: #a857ff;
  font-size: .72rem;
  margin-bottom: .24rem;
}
.mock-news-copy p {
  color: #aaa0b7;
  font-size: .73rem;
  line-height: 1.44;
}


.mock-event-row:last-child { border-bottom: 0; }

.mock-date span {
  font-family: 'Rajdhani', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: #a75cff;
  letter-spacing: .04em;
}

.mock-event-text p,
.mock-event-text small {
  display: block;
  font-size: .74rem;
  color: #b2a9bd;
  line-height: 1.42;
}
.mock-event-text small { color: #777086; }
.mock-event-mark {
  color: #9947ff;
  text-align: center;
  font-size: 1.45rem;
  text-shadow: 0 0 12px rgba(145,71,255,.4);
}


.mock-online-now {
  color: #31dc77;
  text-transform: uppercase;
  font-weight: 700;
}
.mock-online i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #28d16d;
  box-shadow: 0 0 8px rgba(40,209,109,.75);
  margin-right: .35rem;
}
.mock-online strong { font-weight: 500; color: #fff; }
.mock-recent {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #aa63e8;
  font-size: .72rem;
  margin: .1rem 0 .3rem;
}


.mock-person-copy b,
.mock-person-copy span {
  display: block;
}


/* The inner pages are distinct pages, not a continuation of Home. */
.inner-page {
padding: 96px 3rem 4rem;
  max-width: 1200px; margin: 0 auto;
  min-height: 100vh;
min-height: calc(100vh - 64px);
}
.page:not(#page-home).active + .page { display:none !important; }

@media (max-width: 1120px) {
  .mock-hero {
    grid-template-columns: 1fr;
  }
  .mock-hero-left {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(280px, 1.1fr);
    gap: 2rem;
    align-items: center;
  }
  .mock-main-logo { margin: 0; }
  .mock-copy { margin-top: 0; }
  .mock-dashboard { grid-template-columns: 1fr 1fr; }
  .mock-community { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  nav { padding: 0 1rem; }
  .nav-discord { display: none; }
  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .mock-hero,
  .mock-dashboard {
    width: min(100% - 2rem, 760px);
  }
  .mock-hero-left { grid-template-columns: 1fr; }
  .mock-main-logo { width: min(100%, 470px); margin-inline: auto; }
  .mock-copy { width: 100%; text-align: center; }
  .mock-actions { justify-content: center; }
  .mock-dashboard { grid-template-columns: 1fr; }
  .mock-community { grid-column: auto; }
}
@media (max-width: 560px) {
  .mock-hero { padding-top: 1.4rem; gap: 1.4rem; }
  .mock-video-shell { padding: 5px; border-radius: 11px; }
  .mock-news-row { grid-template-columns: 88px 1fr; }
  .mock-news-art { height: 68px; }
  .mock-online { grid-template-columns: 1fr 1fr; padding-block: .6rem; }
  .mock-online strong { grid-column: 1 / -1; }
}


/* ═════════════════════════════════════════════════════════════
   V2 REQUESTED LAYOUT UPDATES
   ═════════════════════════════════════════════════════════════ */

/* Contact is intentionally parked for later. */
#page-contact { display: none !important; }

/* Tighter home so the full dashboard is visible sooner on desktop. */
.mock-hero,
.mock-dashboard {
position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 4.5rem));
  margin-inline: auto;
width: min(1420px, calc(100% - 5rem));
}
.mock-hero {
display: grid;
  grid-template-columns: minmax(350px, .86fr) minmax(580px, 1.34fr);
  gap: 2.6rem;
  align-items: center;
  padding: 2.15rem 0 1.6rem;
grid-template-columns: minmax(320px, .78fr) minmax(520px, 1.22fr);
  gap: 2rem;
  padding: 1.15rem 0 .85rem;
}
.mock-main-logo {
width: min(100%, 510px);
  display: block;
  object-fit: contain;
  margin: 0 0 .5rem;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 22px rgba(139,69,255,.42));
width: min(88%, 430px);
  max-height: 305px;
  object-fit: contain;
  margin: 0 auto -.15rem 0;
}
.mock-copy {
width: min(100%, 500px);
  margin-top: -.35rem;
width: min(100%, 455px);
}
.mock-copy h1 {
font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: clamp(1.8rem, 2.45vw, 2.55rem);
  line-height: 1.02;
  margin: 0 0 1.05rem;
font-size: clamp(1.55rem, 2vw, 2.15rem);
  margin-bottom: .7rem;
}
.mock-copy p {
color: #c2b9cf;
  font-size: .96rem;
  line-height: 1.55;
  margin-bottom: 1.3rem;
font-size: .86rem;
  line-height: 1.45;
  margin-bottom: .85rem;
}
.mock-actions {
display: flex;
  gap: .9rem;
  align-items: center;
  flex-wrap: wrap;
gap: .65rem;
}
.mock-discord-btn,
.mock-learn-btn {
height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 0 1.5rem;
  border-radius: 5px;
  font-family: 'Rajdhani', sans-serif;
  font-size: .86rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  height: 42px;
  padding: 0 1.15rem;
  font-size: .78rem;
}
.mock-video-shell {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 1920px;
  border: 1px solid rgba(174, 93, 255, 0.9);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(4, 2, 10, 0.92);
  box-shadow:
    0 0 0 1px rgba(109, 38, 190, 0.22),
    0 0 26px rgba(124, 58, 237, 0.40),
    0 22px 55px rgba(0, 0, 0, 0.42);
  justify-self: end;
}
.mock-dashboard {
display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: .9rem;
  padding: 0 0 2.25rem;
gap: .7rem;
  padding-bottom: .8rem;
}
.mock-card {
min-width: 0;
  border-radius: 10px;
  padding: 1.05rem 1.05rem .95rem;
  background:
    linear-gradient(180deg, rgba(15,10,29,.96), rgba(8,5,18,.96));
  border: 1px solid rgba(122,69,193,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.015), 0 15px 45px rgba(0,0,0,.18);
padding: .72rem .85rem .65rem;
}
.mock-card-head {
display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 31px;
  padding: 0 0 .75rem;
  border-bottom: 1px solid rgba(124,58,237,.16);
min-height: 26px;
  padding-bottom: .48rem;
}
.mock-card-title {
display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: #fff;
font-size: .84rem;
}
.mock-news-row {
display: grid;
  grid-template-columns: 115px 1fr;
  gap: .9rem;
  padding: .78rem 0;
  border-bottom: 1px solid rgba(124,58,237,.11);
  text-decoration: none;
grid-template-columns: 96px 1fr;
  gap: .68rem;
  padding: .48rem 0;
}
.mock-news-art {
height: 78px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(145,71,255,.22);
  color: rgba(255,255,255,.8);
  font-size: 1.4rem;
height: 60px;
}
.mock-news-copy h3,
.mock-event-text h3 {
font-family: 'Rajdhani', sans-serif;
  font-size: .91rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin-bottom: .12rem;
font-size: .82rem;
}
.mock-news-copy time,
.mock-news-copy p,
.mock-event-text p,
.mock-event-text small {
  font-size: .66rem;
}
.mock-event-row {
display: grid;
  grid-template-columns: 70px 1fr 34px;
  gap: .85rem;
  align-items: center;
  padding: .82rem 0;
  border-bottom: 1px solid rgba(124,58,237,.13);
grid-template-columns: 58px 1fr 28px;
  padding: .48rem 0;
}
.mock-date {
height: 68px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(124,58,237,.35);
  background: rgba(17,10,36,.86);
height: 55px;
}
.mock-date b {
font-family: 'Rajdhani', sans-serif;
  font-size: 1.55rem;
  line-height: 1.05;
  color: #fff;
font-size: 1.25rem;
}
.mock-online {
margin: .75rem 0 .85rem;
  min-height: 50px;
  border-radius: 7px;
  border: 1px solid rgba(124,58,237,.28);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0 .8rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .76rem;
min-height: 40px;
  margin: .5rem 0 .55rem;
}
.mock-person {
display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: .7rem;
  align-items: center;
  padding: .47rem 0;
padding: .28rem 0;
}
.mock-avatar {
width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, #6a27be, #9e4eff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
width: 29px;
  height: 29px;
}
.mock-person-copy b {
font-family: 'Rajdhani', sans-serif;
  font-size: .82rem;
  color: #b56cff;
font-size: .76rem;
}
.mock-person-copy span {
color: #b1a8ba;
  font-size: .72rem;
  line-height: 1.25;
font-size: .65rem;
}
.mock-person time {
font-size: .68rem;
  color: #777087;
  white-space: nowrap;
font-size: .62rem;
}

@media (min-width: 1200px) and (min-height: 760px) {
  .mock-home {
    min-height: calc(100vh - 64px);
  }
}

/* Games */
#page-games .page-header {
  margin-bottom: 2rem;
}
#page-games .page-desc {
  font-size: 1.05rem;
  transform: translateY(-2px);
}
.future-games-section {
  margin-top: 3.25rem;
}
.future-games-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.4rem;
}
.future-games-heading .future-label {
  margin-bottom: .35rem;
}
.future-games-heading h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  color: var(--text-primary);
}
.future-games-heading p {
  max-width: 520px;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: right;
}
.future-grid-large {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}
.future-card-large {
  padding: 0;
  min-height: 220px;
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  opacity: 1;
  border-style: solid;
  background: var(--bg-card);
}
.future-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.future-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(192,132,252,.22), transparent 60%);
}
.future-logo-mark {
  position: relative;
  z-index: 1;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: #efe6ff;
  text-shadow: 0 0 24px rgba(157,95,245,.7);
}
.future-throne { background: linear-gradient(135deg, #180725, #3b1263); }
.future-marathon { background: linear-gradient(135deg, #071a28, #143d5c); }
.future-ashes { background: linear-gradient(135deg, #261408, #673b12); }
.future-vote { background: linear-gradient(135deg, #090b18, #2d2055); }
.future-content {
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.future-card-large .future-name {
  font-size: 1.35rem;
  margin-bottom: .55rem;
}
.future-card-large .future-status {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Recruitment */
.join-us-center {
  display: flex;
  justify-content: center;
  margin: 2rem 0 2.5rem;
}
.join-us-card {
  width: min(680px, 100%);
  text-align: center;
  background: linear-gradient(135deg, rgba(28,13,55,.96), rgba(49,18,98,.92));
  border: 1px solid var(--purple-core);
  border-radius: 10px;
  padding: 2rem 2.4rem;
  box-shadow: var(--glow);
}
.join-us-kicker {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: var(--purple-glow);
}
.join-us-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: .45rem 0 .65rem;
}
.join-us-copy {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 1.25rem;
}
.join-us-btn {
  margin: 0 auto;
}

/* Members */
.members-page-header {
  margin-bottom: 2rem;
}
.staff-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.staff-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.35rem;
}
.staff-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: .45rem;
  border-bottom: 1px solid var(--border);
}
.staff-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  color: var(--purple-glow);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.staff-panel h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
}
.staff-panel-head > span {
  font-family: 'Rajdhani', sans-serif;
  font-size: .76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.staff-list {
  display: grid;
  gap: .45rem;
}
.staff-slot {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: .8rem;
  min-height: 56px;
  padding: .55rem .7rem;
  border: 1px solid rgba(124,58,237,.14);
  border-radius: 6px;
  background: rgba(9,5,20,.65);
}
.staff-slot.filled {
  border-color: rgba(124,58,237,.30);
}
.staff-slot.empty {
  opacity: .58;
  border-style: dashed;
}
.staff-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  font-size: 1.05rem;
}
.staff-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.staff-role {
  color: var(--text-muted);
  font-size: .72rem;
  margin-top: .08rem;
}

/* Media */
.media-page-header {
  margin-bottom: 2rem;
}
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.media-column {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem;
}
.media-column-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.media-column-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(124,58,237,.18);
  border: 1px solid var(--purple-muted);
  color: var(--purple-glow);
  font-size: 1.25rem;
}
.media-column-kicker {
  font-family: 'Rajdhani', sans-serif;
  color: var(--purple-glow);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  font-weight: 700;
}
.media-column h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin: .15rem 0 .35rem;
}
.media-column-head p {
  color: var(--text-secondary);
  font-size: .8rem;
  line-height: 1.5;
}
.media-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.media-upload-card {
  min-height: 155px;
  border: 1px dashed rgba(157,95,245,.34);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(19,12,40,.85), rgba(7,4,17,.95));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  transition: border-color .2s, transform .2s;
}
.media-upload-card:hover {
  border-color: var(--purple-core);
  transform: translateY(-2px);
}
.media-upload-icon {
  font-size: 1.8rem;
  color: var(--purple-glow);
  margin-bottom: .55rem;
}
.media-upload-card b {
  font-family: 'Rajdhani', sans-serif;
  font-size: .9rem;
  color: var(--text-primary);
}
.media-upload-card span {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

@media (max-width: 1050px) {
  .staff-split,
  .media-split {
    grid-template-columns: 1fr;
  }
  .future-games-heading {
    align-items: start;
    flex-direction: column;
  }
  .future-games-heading p {
    text-align: left;
  }
}
@media (max-width: 760px) {
  .future-grid-large {
    grid-template-columns: 1fr;
  }
  .future-card-large {
    grid-template-columns: 1fr;
  }
  .future-visual {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .media-upload-grid {
    grid-template-columns: 1fr;
  }
}


/* V3 requested edits */
.aion2-banner{padding:0!important;overflow:hidden!important;height:250px!important;background:#080410!important;position:relative;}
.aion2-banner img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;}
.aion2-banner .game-badge{position:absolute;top:12px;right:12px;}
#page-games .games-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:900px){#page-games .games-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){#page-games .games-grid{grid-template-columns:1fr;}}


/* V6 Future Games additions */
.future-x7 { background: linear-gradient(135deg, #07111e, #153d59); }
.future-bellatores { background: linear-gradient(135deg, #1b0d08, #5a2718); }


/* V7 Chrono Odyssey artwork */
.chrono-odyssey-visual {
  padding: 0 !important;
  overflow: hidden !important;
  background: #09070c !important;
}
.chrono-odyssey-visual::after {
  display: none !important;
}
.future-game-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* V8 Guild Wars 3 artwork */
.guild-wars-3-visual {
  padding: 0 !important;
  overflow: hidden !important;
  background: #09070c !important;
}
.guild-wars-3-visual::after {
  display: none !important;
}
.guild-wars-3-visual .future-game-image {
  object-position: center;
}


/* V9 Bellatores artwork */
.bellatores-visual {
  padding: 0 !important;
  overflow: hidden !important;
  background: #09070c !important;
}


/* V10 Bellatores structure/layout repair */
.bellatores-card .bellatores-visual,
.bellatores-visual {
  min-height: 220px !important;
  height: 220px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #09070c !important;
}
.bellatores-visual::after {
display: none !important;
display: none !important;
}
.bellatores-visual .future-game-image {
width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
  object-position: center;
width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}


/* V11 Project X7 + Lord of Mysteries artwork */
.project-x7-visual,
.lord-mysteries-visual {
  padding: 0 !important;
  overflow: hidden !important;
  background: #09070c !important;
}
.project-x7-visual::after,
.lord-mysteries-visual::after {
  display: none !important;
}
.project-x7-visual .future-game-image,
.lord-mysteries-visual .future-game-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}


/* V12 Game Nights artwork */
.game-nights-banner {
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  background: #09070c !important;
}
.game-nights-banner .game-nights-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 250px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 24px !important;
  box-sizing: border-box !important;
}
.game-nights-banner .game-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
}

/* ─── NAV BAR LAYOUT ─── */
nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(5,3,14,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
padding: 0 3rem;
  gap: 1.5rem;
position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Left, Center, Right */
  align-items: center;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(5, 3, 14, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

/* Brand Container (Left Slot) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  justify-self: start; /* Align to the left */
}

.nav-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-brand-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

/* Centered Navigation Links (Center Slot) */
.nav-links {
display: flex; gap: 0; list-style: none;
  flex: 1; justify-content: center;
justify-content: center;
  gap: clamp(.15rem, 1.3vw, 1.15rem);
display: flex;
  gap: 0.5rem;
  list-style: none;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Right Side Discord Button (Right Slot) */
.nav-discord {
display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--purple-core);
  color: var(--text-primary); text-decoration: none;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
margin-left: auto;
display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--purple-core);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  justify-self: end;
}

/* ==========================================================================
   MOBILE BAR ADD-ON (Updated background & updated button placement)
   ========================================================================== */

/* Hide by default on desktop/tablet */
.mob-bar-wrapper,
.mob-menu-overlay {
  display: none;
}

@media (max-width: 768px) {
  .mob-bar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0 1.25rem;
    background: rgba(5, 3, 14, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 250;
    border-bottom: 1px solid var(--border);
  }

  .mob-bar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
  }

  .mob-bar-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .mob-bar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.1em;
  }

  /* Hamburger Toggle Button */
  .mob-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    padding: 0 9px;
  }

  .mob-toggle-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--purple-glow);
    transition: transform 0.2s, opacity 0.2s;
  }

  /* Slide-down Mobile Drawer with semi-transparent visible background */
  .mob-menu-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    /* Visible semi-transparent background showing page content beneath */
    background: rgba(8, 5, 20, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 240;
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .mob-menu-overlay.mob-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Distinct card panel behind the navigation links */
  .mob-menu-content {
    background: rgba(18, 12, 38, 0.65);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  }

  .mob-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
  }

  .mob-nav-list li a {
    display: block;
    padding: 0.85rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

  .mob-nav-list li a:hover,
  .mob-nav-list li a.active {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.4);
  }

  /* Discord Button fixed to bottom of hamburger menu */
  .mob-menu-footer {
    margin-top: 1.5rem;
  }

  .mob-btn-discord-full {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem;
    background: var(--purple-core);
    border: 1px solid var(--purple-glow);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
    transition: background 0.2s, box-shadow 0.2s;
  }

  .mob-btn-discord-full:hover {
    background: #6d28d9;
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
  }
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--purple-core) var(--bg-void);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
  border-left: 1px solid rgba(124, 58, 237, 0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg, 
    var(--accent-violet) 0%,
    var(--purple-glow) 20%,
    var(--purple-core) 40%,
    var(--purple-muted) 50%,
    var(--purple-core) 60%,
    var(--purple-glow) 80%,
    var(--accent-violet) 100%
  );
  border-radius: 6px;
  border: 2px solid var(--bg-deep);
  transition: filter 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg, 
    #e9d5ff 0%,
    var(--accent-violet) 20%,
    var(--purple-bright) 40%,
    var(--purple-core) 50%,
    var(--purple-bright) 60%,
    var(--accent-violet) 80%,
    #e9d5ff 100%
  );
  filter: drop-shadow(0 0 6px rgba(180, 125, 255, 0.7));
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(
    180deg, 
    #ffffff 0%,
    var(--purple-glow) 30%,
    var(--purple-bright) 50%,
    var(--purple-glow) 70%,
    #ffffff 100%
  );
}

::-webkit-scrollbar-corner {
  background: var(--bg-void);
}