body.page-discord { color: var(--text); font-family: inherit; }

.discord-hero-band {
  width: 100%;
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(127,87,255,0.035), transparent 50%);
  position: relative;
}

.discord-mark {
  position: absolute;
  top: 0.6rem;                 
  left: 50%;
  width: 360px;                
  max-width: 40%;            
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.10;              
  z-index: 0;
  filter: blur(0.6px) saturate(0.95);
  display: block;
}

@media (max-width: 1400px) {
  .discord-mark { width: 320px; max-width: 38%; opacity: 0.09; }
}

@media (max-width: 1100px) {
  .discord-mark { width: 220px; max-width: 46%; opacity: 0.08; top: 0.4rem; }
  .discord-hero-inner { flex-direction:column; gap:1rem; }
  .hero-right { order:-1; justify-content:center; }
  .feature-pills-vertical { width:100%; }
}

@media (max-width: 560px) {
  .discord-mark { display: none; }
}

.discord-hero-inner {
  display:flex;
  gap:2rem;
  align-items:center;
  justify-content:space-between;
  position: relative;
  z-index: 1;
}

.hero-left { flex:1 1 60%; max-width:760px; }

.hero-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 .5rem 0;
  color: var(--accent);
  font-weight:900;
  letter-spacing: 0.6px; 
  text-transform: none;  
  display:inline-block;
  padding-bottom:.35rem;
  border-bottom:2px solid rgba(155,123,255,0.18); 
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent-strong) 48%, rgba(0,0,0,0));
  animation: titleGlow 2.2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 8px color-mix(in srgb, var(--accent-strong) 50%, rgba(0,0,0,0));
    color: var(--accent);
  }
  100% {
    text-shadow: 0 0 28px var(--accent), 0 0 48px var(--accent-strong);
    color: color-mix(in srgb, var(--accent) 90%, white 10%);
  }
}

.hero-sub {
  color:var(--muted);
  margin:0 0 1.25rem 0;
  font-size:1.03rem;
  max-width:62ch;
}

.hero-cta-row { display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }
.btn-cta {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color:#fff;
  border-radius:999px;
  padding:.75rem 1.35rem;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  text-decoration:none;
  border:0;
  box-shadow: 0 8px 28px rgba(81,35,168,0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(81,35,168,0.3);
}
.btn-cta .cta-emoji { font-size:1.15rem; transform:translateY(-1px); }

.btn-animated { animation: pulseScale 1.6s ease-in-out infinite; }
@keyframes pulseScale {
  0%{ transform: scale(1); box-shadow: 0 6px 18px rgba(81,35,168,0.12); }
  50%{ transform: scale(1.04); box-shadow: 0 14px 36px rgba(81,35,168,0.2); }
  100%{ transform: scale(1); box-shadow: 0 6px 18px rgba(81,35,168,0.12); }
}

.social-stats { display:flex; gap:.6rem; align-items:center; margin-left:.6rem; }
.stat { text-align:center; color:var(--muted); min-width:72px; }
.stat-num { font-weight:900; color:var(--text); font-size:1.05rem; }
.stat-label { font-size:.82rem; color:var(--muted); }
.stat-label.online { color: white; }
#onlineCount { color: #00ff00; }

.hero-right { flex:1 1 34%; display:flex; justify-content:flex-end; align-items:flex-start; }
.feature-pills-vertical {
  width: 320px;
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  position: relative;
  --pill-count: 7;
}

.feature-pill {
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 96%, rgba(255,255,255,0.01) 4%), var(--card));
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 800;
  color: var(--text);
  box-shadow: var(--shadow);
  line-height:1.25;
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease, transform 160ms ease;
  position: relative;
  z-index: 1;
  cursor: default;
}

.feature-pill:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(127,87,255,0.06);
}

.feature-pill.highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 8px 28px rgba(127,87,255,0.18);
  transform: translateY(-3px);
}

.muted-small { color:var(--muted); font-size:.95rem; }

.btn-sparkle { position:relative; overflow:visible; }
.btn-sparkle .sparkle { position:absolute; inset:0; pointer-events:none; mix-blend-mode:screen; opacity:0; transition: opacity .28s ease; }
.btn-sparkle.sparkle-on .sparkle { opacity:1; animation: sparkleBurst .9s ease-out; }
@keyframes sparkleBurst { 0%{opacity:1;transform:scale(.9)} 60%{opacity:1;transform:scale(1.05)} 100%{opacity:0;transform:scale(1.2)} }

@media (max-width:1100px) {
  .discord-hero-inner { flex-direction:column; gap:1rem; }
  .hero-right { order:-1; justify-content:center; }
  .feature-pills-vertical { width:100%; }
}