:root{
  --bg:#050505;
  --panel:#0b0b0b;
  --panel2:#101010;

  --text:#f2f2f2;
  --muted:#b7b7b7;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.65);

  --radius:18px;

  /* Red theme */
  --accent:#ff2a2a;
  --accent2:#ff5a5a;

  --max:1120px;
}

*{box-sizing:border-box}

body{
  min-height:100%;
  
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(2000px 500px at 20% 0%, rgba(255,42,42,.18), transparent 60%),
    radial-gradient(2000px 500px at 80% 10%, rgba(255,90,90,.10), transparent 60%),
    var(--bg);
  line-height:1.5;
}


a{color:inherit;text-decoration:none}
a:hover{opacity:.94}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin-inline:auto;
}

.skip{
  position:absolute; left:-999px; top:auto;
  width:1px;height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px;
  width:auto;height:auto;
  padding:10px 12px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  z-index:999;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(5,5,5,.72);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

/* ===== Logo wells (no red block behind red logos) ===== */
.brand-mark{
  width:48px;height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,42,42,.20);
  box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.brand-mark.small{width:36px;height:36px;border-radius:12px}

.brand-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:5px;
  display:block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.55));
}

.brand-name{font-weight:900; font-size:16px}
.brand-sub{color:var(--muted); font-size:12px; margin-top:2px}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  color:var(--muted);
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}

.header-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  transition: transform .08s ease, background .18s ease, border-color .18s ease, filter .18s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:active{transform: translateY(1px)}

.btn-primary{
  background: linear-gradient(135deg, rgba(255,42,42,.98), rgba(255,90,90,.78));
  border-color: transparent;
  color:#120202;
}
.btn-primary:hover{filter: brightness(1.03)}

.btn-ghost{
  background: rgba(255,255,255,.04);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.btn-disabled{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.10);
  color: rgba(242,242,242,.55);
  cursor:not-allowed;
}

.hero{
  position:relative;
  padding:62px 0 38px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:start;
}

.eyebrow{
  color:var(--muted);
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px;
  margin:0 0 10px;
}

h1{
  font-size:44px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.02em;
}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  max-width: 58ch;
}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 6px 0 18px;
}

.hero-bands{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top: 10px;
}
.band{
  padding:14px 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
}
.band-k{
  font-weight:900;
  font-size:13px;
  margin-bottom:4px;
}
.band-v{
  color:var(--muted);
  font-size:13px;
}

.hero-panel .panel{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.panel-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 16px 10px;
}
.panel-top.compact{padding:12px 16px 10px}
.panel-title{font-weight:900; letter-spacing:.02em}

.pill{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.03);
  font-weight:900;
  letter-spacing:.06em;
}
.pill-live{
  color: rgba(255,90,90,.95);
  border-color: rgba(255,42,42,.22);
  background: rgba(255,42,42,.08);
}
.pill-soon{
  color: rgba(242,242,242,.72);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.panel-divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin: 6px 0;
}

.panel-list{padding:10px 10px 12px}
.panel-list.compact{padding: 8px 10px 14px}

.panel-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid transparent;
}
.panel-item:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
}

.panel-item.disabled{
  opacity:.68;
  cursor:not-allowed;
}
.panel-item.disabled:hover{
  background: transparent;
  border-color: transparent;
}

/* ===== Logo crop tuning (square wells + tasteful crop) ===== */
.panel-badge.has-logo{
  width:56px;
  min-width:56px;
  height:56px;
  padding:0;
  border-radius:16px;
}
.badge.has-logo{
  width:72px;
  min-width:72px;
  height:72px;
  padding:0;
  border-radius:18px;
}

/* Base logo image */
.logo-img{
  width:100%;
  height:100%;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
}

/* Crop fill (prevents “banner cut bottom” look) */
.badge.has-logo .logo-img,
.panel-badge.has-logo .logo-img{
  padding:0;
  object-fit:cover;
  object-position: 50% 55%;
  transform:scale(1.02);
}

.panel-badge{
  min-width:64px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  overflow:hidden;
  font-weight:900;
  font-size:12px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,42,42,.20);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
}
.panel-badge.has-logo{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.panel-badge.soon{
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.panel-main{display:flex; flex-direction:column}
.panel-name{font-weight:900; font-size:13px}
.panel-sub{color:var(--muted); font-size:12px; margin-top:2px}
.panel-arrow{margin-left:auto; color:var(--muted)}

.hero-glow{
  position:absolute;
  inset:auto 0 0 0;
  height:80px;
  background: linear-gradient(180deg, transparent, rgba(5,5,5,.94));
  pointer-events:none;
}

.section{padding:54px 0}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top:none;
  border-bottom:none;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.section-head h2{
  margin:0;
  font-size:26px;
  letter-spacing:-.02em;
}
.section-head p{
  margin:0;
  color:var(--muted);
  max-width: 68ch;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top: 18px;
}

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 22px;
  padding:16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.34);
}

/* Coming Soon cards: more opaque to stop glow-banding / “stripe” artifacts */
.card-soon{
  border-color: rgba(255,255,255,.10);
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(6px);
}

.card-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.badge{
  min-width:72px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:16px;
  overflow:hidden;
  font-weight:900;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,42,42,.20);
  box-shadow: 0 10px 28px rgba(0,0,0,.48);
}
.badge.has-logo{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.badge.soon{
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.card-titles{flex:1}
.card-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.card h3{
  margin:0;
  font-size:16px;
  letter-spacing:-.01em;
}
.card p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
}

.status{
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  white-space:nowrap;
}
.status-live{
  color: rgba(255,90,90,.95);
  border-color: rgba(255,42,42,.22);
  background: rgba(255,42,42,.08);
}
.status-soon{
  color: rgba(242,242,242,.70);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.bullets{
  margin:14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size:13px;
}
.bullets li{margin:6px 0}

/* FIX: no full-width divider line inside cards (this was the “stripe”) */
.card-meta{
  margin-top:14px;
  padding:12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  border-radius: 18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.meta-block{display:flex; flex-direction:column; gap:6px}
.meta-label{color:var(--muted); font-size:12px}

.planned{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(242,242,242,.72);
  font-weight:800;
  font-size:13px;
}

.card-actions{
  display:flex;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap;
}

.callouts{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}
.callouts-wide{margin-top:0}

.callout{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 20px;
  padding:14px;
}
.callout-title{font-weight:900; font-size:13px; margin-bottom:6px}
.callout-body{color:var(--muted); font-size:13px}

.footer{
  margin-top:34px;
  border-top:1px solid var(--line);
  padding-top:18px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
}
.footer-note{color:var(--muted); font-size:12px; margin-top:6px}
.footer-right{display:flex; gap:14px; color:var(--muted)}
.footer-right a{padding:8px 10px; border-radius:12px}
.footer-right a:hover{background: rgba(255,255,255,.06); color: var(--text)}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr}
  h1{font-size:40px}
  .grid{grid-template-columns: 1fr}
  .callouts{grid-template-columns: 1fr}
  .hero-bands{grid-template-columns: 1fr}
  .nav{display:none}
  .brand{min-width:auto}
}
/* ===== Fix: Coming Soon section background banding/line ===== */


/* ===== Coming Soon: remove any special background/gradient entirely ===== */
.section-alt{
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section-alt::before,
.section-alt::after{
  content: none !important;
}
/* Make section-head copy look intentional + not “floating right” */
.section-head{
  align-items: center;
}

.section-head p{
  max-width: 56ch;
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

/* Small label chip inside the section description */
.section-kicker{
  display:inline-block;
  margin-right:10px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:1px solid rgba(255,42,42,.22);
  background: rgba(255,42,42,.08);
  color: rgba(255,90,90,.95);
}
/* Centered section headers (prevents the “text off to the right” look) */
.section-head.section-head-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  margin-bottom:22px;
}

.section-head.section-head-center h2{
  margin:0;
}

/* subtle accent underline (no gradients) */
.section-head.section-head-center h2::after{
  content:"";
  display:block;
  width:72px;
  height:3px;
  margin:12px auto 0;
  border-radius:999px;
  background: rgba(255,42,42,.75);
  box-shadow: 0 10px 22px rgba(255,42,42,.18);
}

.section-head.section-head-center .section-desc{
  margin:0;
  max-width:72ch;
  color: var(--muted);
  font-size:14px;
  padding: 0;          /* keep it clean */
  border: 0;
  background: none;
}
/* Center the card grids under the section titles */
.grid{
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;   /* centers rows */
  gap:16px;
}

/* Keep the same “3-column” feel on wide screens */
.grid > .card{
  width: calc((var(--max) - 32px) / 3);
  max-width: 360px;          /* prevents super-wide cards */
  flex: 1 1 320px;           /* wraps nicely */
}

/* Coming soon cards too */
.grid > .card.card-soon{
  width: calc((var(--max) - 32px) / 3);
  max-width: 360px;
  flex: 1 1 320px;
}

/* Mobile: full width */
@media (max-width: 980px){
  .grid > .card,
  .grid > .card.card-soon{
    width: 100%;
    max-width: 520px;        /* keeps them centered and readable */
  }
}
/* ===== Quick Access Dropdown Redesign ===== */
.qa{display:block}
.qa summary::-webkit-details-marker{display:none}

.qa-summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 14px;
  cursor:pointer;
  user-select:none;
}

.qa-title{
  font-weight:900;
  letter-spacing:.02em;
}

.qa-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.qa-chevron{
  color: var(--muted);
  font-weight:900;
  transform: translateY(-1px);
  transition: transform .18s ease, color .18s ease;
}

.qa[open] .qa-chevron{
  transform: rotate(180deg);
  color: var(--text);
}

.qa-summary:focus-visible{
  outline: 2px solid rgba(255,42,42,.55);
  outline-offset: 4px;
  border-radius: 16px;
}

.qa-content{
  padding: 10px 14px 14px;
}

.qa-divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin: 12px 2px;
}

.qa-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin: 2px 2px 10px;
}

.qa-group-title{
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
  color: rgba(242,242,242,.92);
}

/* App-style grid */
.qa-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}

/* Icon tiles */
.qa-icon{
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio: 1 / 1;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 28px rgba(0,0,0,.38);
  transition: transform .12s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

.qa-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: 50% 55%;
  transform: scale(1.03);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.55));
}

/* Placeholder letters for MC/RUST */
.qa-letter{
  font-weight:1000;
  letter-spacing:.10em;
  font-size:12px;
  color: rgba(242,242,242,.85);
}

/* Tooltip */
.qa-icon::after{
  content: attr(data-title);
  position:absolute;
  left:50%;
  bottom:-10px;
  transform: translate(-50%, 0);
  opacity:0;
  pointer-events:none;
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  font-weight:900;
  color: rgba(242,242,242,.92);
  background: rgba(10,10,10,.92);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
  transition: opacity .14s ease, transform .14s ease;
}

.qa-icon:hover::after{
  opacity:1;
  transform: translate(-50%, -8px);
}

/* Slow pulse glow on hover */
@keyframes qaPulse{
  0% { box-shadow: 0 10px 28px rgba(0,0,0,.38), 0 0 0 rgba(255,42,42,0); }
  50%{ box-shadow: 0 10px 28px rgba(0,0,0,.38), 0 0 26px rgba(255,42,42,.35); }
  100%{ box-shadow: 0 10px 28px rgba(0,0,0,.38), 0 0 0 rgba(255,42,42,0); }
}

.qa-icon:hover{
  border-color: rgba(255,42,42,.45);
  filter: brightness(1.03);
  animation: qaPulse 1.9s ease-in-out infinite;
}

/* Disabled tiles */
.qa-disabled{
  opacity:.60;
  cursor:not-allowed;
}
.qa-disabled:hover{
  border-color: rgba(255,255,255,.10);
  animation:none;
  filter:none;
}
.qa-disabled::after{
  opacity:1; /* show label on hover only (still controlled above) */
}

/* Responsive: keep grid filled nicely */
@media (max-width: 980px){
  .qa-grid{grid-template-columns: repeat(5, minmax(0, 1fr));}
}
@media (max-width: 520px){
  .qa-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}
}
/* Tooltip should ONLY show on hover (including disabled tiles) */
.qa-icon::after{
  opacity:0;
  transform: translate(-50%, 0);
}
.qa-icon:hover::after{
  opacity:1;
  transform: translate(-50%, -8px);
}

/* Cleaner Coming Soon tiles */
.qa-soon-tile{
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.10);
}

/* subtle “in dev” dot mark */
.qa-soon-tile .qa-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: rgba(255,42,42,.55);
  box-shadow: 0 0 18px rgba(255,42,42,.25);
}

/* Disabled shouldn’t try to animate/glow */
.qa-disabled:hover{
  animation:none !important;
  filter:none !important;
  border-color: rgba(255,255,255,.10) !important;
}
/* Quick Access dropdown: open as an overlay (no layout push) */
.hero-panel .panel.qa-panel{
  overflow: visible; /* override the panel's overflow:hidden */
  position: relative;
}

.qa{
  position: relative; /* anchor for the absolute dropdown */
}

/* Keep it out of the normal flow */
.qa-content{
  display: none;
}

.qa[open] .qa-content{
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px); /* just below the banner */
  z-index: 30;

  /* dropdown surface styling */
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0,0,0,.70);
}

/* optional: constrain height and scroll inside */
.qa[open] .qa-content{
  max-height: 420px;
  overflow: auto;
}

/* Mobile: let it expand normally (overlay can be annoying on small screens) */
@media (max-width: 980px){
  .qa[open] .qa-content{
    position: static;
    max-height: none;
    overflow: visible;
    margin-top: 10px;
  }
}
/* Quick Access dropdown scrollbar (red/black) */
.qa[open] .qa-content{
  scrollbar-color: rgba(255,42,42,.85) rgba(0,0,0,.55); /* Firefox */
  scrollbar-width: thin; /* Firefox */
}

/* WebKit (Chrome/Edge/Safari) */
.qa[open] .qa-content::-webkit-scrollbar{
  width: 10px;
}

.qa[open] .qa-content::-webkit-scrollbar-track{
  background: rgba(0,0,0,.55);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
}

.qa[open] .qa-content::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(255,42,42,.95), rgba(255,90,90,.65));
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.65); /* gives the black outline */
}

.qa[open] .qa-content::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, rgba(255,90,90,.98), rgba(255,42,42,.75));
}
/* ===== Hero Slideshow ===== */
.slider-card{
  margin-top: 14px;
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  overflow: hidden;
}

.slider{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  outline: none;
}

.slider-viewport{
  position: absolute;
  inset: 0;
}

.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 800ms ease, transform 900ms ease;
}

.slide.active{
  opacity: 1;
  transform: scale(1);
}

.slide-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Arrows */
.slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.45);
  color: rgba(242,242,242,.92);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: filter .18s ease, border-color .18s ease, transform .18s ease;
  backdrop-filter: blur(8px);
}
.slider-btn:hover{
  border-color: rgba(255,42,42,.45);
  filter: brightness(1.05);
}
.slider-btn:active{
  transform: translateY(-50%) scale(.98);
}
.slider-btn.prev{ left: 12px; }
.slider-btn.next{ right: 12px; }

/* Dots */
.slider-dots{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}

.slider-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.slider-dot.active{
  background: rgba(255,42,42,.85);
  border-color: rgba(255,42,42,.55);
  transform: scale(1.2);
}

/* Focus ring */
.slider:focus-visible{
  outline: 2px solid rgba(255,42,42,.55);
  outline-offset: 4px;
  border-radius: 22px;
}

/* Mobile tweaks */
@media (max-width: 980px){
  .slider-btn{ width: 40px; height: 40px; border-radius: 12px; }
}
/* Slideshow: show the entire image (no cropping) */
.slide-img{
  object-fit: contain !important;
  object-position: center !important;
  background: rgba(0,0,0,.55); /* fills the empty space around the image */
}

/* Optional: make the background look nicer behind contained images */
.slider{
  background: radial-gradient(800px 300px at 50% 30%, rgba(255,42,42,.10), transparent 65%),
              rgba(0,0,0,.55);
}
/* Slideshow layout: media area + controls below */
.slider{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 12px;
}

.slider-media{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.10);
}

.slider-viewport{
  position:absolute;
  inset:0;
}

.slider-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}

/* Buttons are no longer absolute */
.slider-btn{
  position: static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;

  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.45);
  color: rgba(242,242,242,.92);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor:pointer;
  transition: filter .18s ease, border-color .18s ease, transform .18s ease;
}

.slider-btn:hover{
  border-color: rgba(255,42,42,.45);
  filter: brightness(1.05);
}

.slider-btn:active{
  transform: scale(.98);
}

/* Dots are no longer absolute */
.slider-dots{
  position: static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;

  display:flex;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}

/* Optional: keep contain behavior if you already switched to contain */
.slide-img{
  object-fit: contain;
  object-position: center;
  background: transparent;
}
/* Slider: pure crossfade (removes the snap at the end) */
.slide{
  transform: none !important;
  transition: opacity 900ms ease !important;
  will-change: opacity;
}

.slide.active{
  transform: none !important;
}

/* If you still have any transforms on the image itself */
.slide-img{
  transform: none !important;
}
/* ===== Sticky footer layout (no absolute positioning) ===== */
html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main{
  flex: 1; /* pushes footer to the bottom when content is short */
}

/* ===== Footer spacing so text isn't stuck to the bottom ===== */
.footer{
  margin-top: auto;              /* ensures footer stays at bottom */
  padding: 26px 0 22px;          /* adds breathing room (bottom padding fixes your issue) */
}

.footer-note{
  margin-top: 10px;              /* extra space under brand row */
  padding-bottom: 2px;           /* tiny lift so it never hugs the edge */
  line-height: 1.35;
}
/* ===== Remove ALL background gradients site-wide ===== */

/* Page background */
body{
  background: var(--bg) !important;
  background-image: none !important;
}

/* Any section/background overlays that might use gradients */
.hero,
.section,
.section-alt,
.site-header{
  background-image: none !important;
}

/* Kill glow/gradient helper layers */
.hero-glow{
  background: none !important;
}

.section-alt::before,
.section-alt::after{
  content: none !important;
}
/* Live page: category nav + detailed list */
.server-type-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:18px;
}

.server-stack{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-top:18px;
}

.server-detail-top{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.server-detail-badge{
  flex:0 0 auto;
}

.server-detail-main{
  flex:1;
  min-width:0;
}

.server-detail-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.server-detail-sub{
  margin:6px 0 0;
  color: var(--muted);
  font-size:13px;
}

.server-detail-bullets{
  margin-top:12px;
}

@media (max-width: 980px){
  .server-detail-top{ flex-direction:column; }
  .server-detail-title-row{ align-items:flex-start; }
}
.brand-home{
  display:flex;
  align-items:center;
  gap:12px;
  color: inherit;
  text-decoration: none;
}
.brand-home:hover{ opacity: .96; }
.brand-home:focus-visible{
  outline: 2px solid rgba(255,42,42,.7);
  outline-offset: 4px;
  border-radius: 14px;
}
/* ===== Cozy space backdrop: red + bright white blended points ===== */
.stars-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Ensure content stays above the stars */
.site-header,
main{
  position: relative;
  z-index: 1;
}

.star{
  position: absolute;
  border-radius: 999px;

  /* Single “point” with mixed white core + red glow (same star) */
  background: radial-gradient(circle,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.80) 18%,
    rgba(255,42,42,.65) 42%,
    rgba(255,42,42,0) 72%
  );

  filter:
    drop-shadow(0 0 7px rgba(255,255,255,.22))
    drop-shadow(0 0 12px rgba(255,42,42,.28));

  opacity: 0;
  will-change: opacity, transform;
  animation: starTwinkle ease-in-out infinite;
}

@keyframes starTwinkle{
  0%   { opacity: 0;   transform: translate(0,0) scale(.92); }
  18%  { opacity: .95; transform: translate(var(--dx2), var(--dy2)) scale(1); }
  55%  { opacity: .45; transform: translate(var(--dx),  var(--dy))  scale(1.06); }
  100% { opacity: 0;   transform: translate(var(--dx),  var(--dy))  scale(.96); }
}

@media (prefers-reduced-motion: reduce){
  .stars-overlay{ display:none; }
}
/* ===== Stars overlay (global) ===== */
.stars-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Keep your site content above the stars */
.site-header,
main,
.footer{
  position: relative;
  z-index: 2;
}

/* The glowing point (white core + red glow in ONE dot) */
.star{
  position: absolute;
  border-radius: 999px;
  opacity: 0;

  background: radial-gradient(circle,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.85) 18%,
    rgba(255,42,42,.65) 44%,
    rgba(255,42,42,0) 74%
  );

  filter:
    drop-shadow(0 0 8px rgba(255,255,255,.18))
    drop-shadow(0 0 14px rgba(255,42,42,.28));

  will-change: opacity, transform;
  animation: starTwinkle ease-in-out infinite;
}

@keyframes starTwinkle{
  0%   { opacity: 0;   transform: translate(0,0) scale(.92); }
  18%  { opacity: .95; transform: translate(var(--dx2), var(--dy2)) scale(1); }
  55%  { opacity: .45; transform: translate(var(--dx),  var(--dy))  scale(1.06); }
  100% { opacity: 0;   transform: translate(var(--dx),  var(--dy))  scale(.96); }
}

@media (prefers-reduced-motion: reduce){
  .stars-overlay{ display:none; }
}
/* Canvas layer for spark-written words (behind content, above stars) */
.spark-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;   /* same as stars; canvas is later in DOM so it renders above */
}

/* If you haven't already: keep site content above effects */
.site-header,
main,
.footer{
  position: relative;
  z-index: 2;
}
/* Force effects to stay behind ALL site content */
body{ position: relative; }

.stars-overlay,
.spark-overlay{
  z-index: 0 !important;
}

.site-header,
main,
.footer{
  position: relative;
  z-index: 2 !important;
}
/* Create a clean stacking context for the whole page */
body{
  position: relative;
  isolation: isolate; /* prevents weird z-index bleed across stacking contexts */
}

/* Effects always behind content */
.stars-overlay,
.spark-overlay{
  z-index: 0 !important;
}

/* Site content always above effects */
.site-header,
main,
.footer{
  position: relative;
  z-index: 10 !important;
}
/* Make UI surfaces opaque so background effects never show through */
.panel,
.card,
.band,
.callout{
  background-color: rgba(5,5,5,.92) !important;
}

.site-header{
  background: rgba(5,5,5,.92) !important; /* overrides the translucent header */
}
/* Header Discord icon */
.discord-link{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  transition: transform .08s ease, background .18s ease, border-color .18s ease, filter .18s ease;
}
.discord-link:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}
.discord-link:active{ transform: translateY(1px); }
.discord-link:focus-visible{
  outline: 2px solid rgba(255,42,42,.7);
  outline-offset: 4px;
}

.discord-icon{
  width:22px;
  height:22px;
  display:block;
  object-fit:contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.55));
}
