.hero{
  position:relative;
  padding:170px 0 90px;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero__bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg, rgba(6,8,12,0.55) 0%, rgba(6,8,12,0.86) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,8,12,0.55) 0%, rgba(6,8,12,0.15) 45%, rgba(6,8,12,0.55) 100%),
    url('/img/banner.png');
  background-size:cover;
  background-position:center 30%;
  z-index:-1;
}
.hero__inner{
  max-width:760px;
}
.hero__inner > *{
  opacity:0;
  animation:heroIn .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__eyebrow{animation-delay:.05s;}
.hero__title{animation-delay:.15s;}
.hero__subtitle{animation-delay:.25s;}
.hero__connect{animation-delay:.35s;}
.hero__actions{animation-delay:.45s;}
.hero__stats{animation-delay:.55s;}
@keyframes heroIn{
  from{opacity:0;transform:translateY(18px);}
  to{opacity:1;transform:translateY(0);}
}
.hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:var(--accent);
  background:rgba(61,169,255,0.08);
  border:1px solid rgba(61,169,255,0.3);
  padding:7px 14px;
  border-radius:999px;
  margin-bottom:26px;
  text-shadow:0 0 12px rgba(61,169,255,.4);
}
.hero__eyebrow .icon{width:14px;height:14px;}
.hero__title{
  font-family:var(--font-display);
  font-size:clamp(44px,7vw,76px);
  font-weight:700;
  letter-spacing:-1.5px;
  line-height:1;
  text-shadow:0 4px 24px rgba(0,0,0,0.55);
}
.hero__title span{color:var(--accent);}
.hero__subtitle{
  margin-top:22px;
  font-size:17px;
  color:var(--text-dim);
  max-width:560px;
  line-height:1.7;
  text-shadow:0 2px 12px rgba(0,0,0,0.5);
}
.hero__connect{
  margin-top:32px;
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:var(--surface);
  border:1px solid var(--border);
  padding:12px 12px 12px 16px;
  border-radius:12px;
}
.hero__connect .icon{width:16px;height:16px;color:var(--text-faint);}
.hero__connect code{
  font-family:'JetBrains Mono', monospace;
  font-size:13.5px;
  color:var(--text);
}
.hero__copy{
  width:30px;
  height:30px;
  border-radius:8px;
  border:1px solid var(--border-strong);
  background:transparent;
  color:var(--text-dim);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:color .2s ease,border-color .2s ease;
}
.hero__copy .icon{width:14px;height:14px;}
.hero__copy:hover{color:var(--accent);border-color:var(--accent);}
.hero__copy.is-copied{color:var(--status-green);border-color:var(--status-green);}
.hero__actions{
  margin-top:30px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.btn--lg{padding:15px 26px;font-size:14.5px;}
.hero__stats{
  margin-top:56px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  max-width:640px;
}
.stat{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 14px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.stat .icon{width:18px;height:18px;color:var(--accent);}
.stat__value{
  font-family:var(--font-display);
  font-size:22px;
  font-weight:700;
}
.stat__label{
  font-size:11px;
  color:var(--text-faint);
  text-transform:uppercase;
  letter-spacing:0.5px;
}

.quick-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.quick-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px;
  transition:transform .2s ease,border-color .2s ease;
}
.quick-card:hover{transform:translateY(-4px);border-color:var(--border-strong);}
.quick-card .icon{width:24px;height:24px;color:var(--accent);margin-bottom:16px;}
.quick-card h3{
  font-family:var(--font-display);
  font-size:16.5px;
  margin-bottom:6px;
}
.quick-card p{
  font-size:13px;
  color:var(--text-dim);
}

.promo-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
  background:linear-gradient(135deg, var(--surface), var(--surface-2));
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:42px;
}
.promo-card__text h2{
  font-family:var(--font-display);
  font-size:24px;
  margin:14px 0 10px;
}
.promo-card__text p{
  color:var(--text-dim);
  font-size:14px;
  max-width:440px;
  margin-bottom:18px;
}
.promo-card__code{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--bg);
  border:1px dashed var(--border-strong);
  padding:9px 14px;
  border-radius:10px;
  font-size:13px;
}
.promo-card__code span:first-child{color:var(--text-faint);}
.promo-card__code strong{
  font-family:'JetBrains Mono', monospace;
  letter-spacing:1px;
  color:var(--accent);
  text-shadow:0 0 8px rgba(61,169,255,.3);
}
.promo-card__code span:last-child{color:var(--status-green);font-weight:700;}

.latest-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.event-preview .event-preview__title{
  font-family:var(--font-display);
  font-size:19px;
  margin-bottom:10px;
}
.event-preview__meta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.event-preview__meta span{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12.5px;
  color:var(--text-dim);
}
.event-preview__meta .icon{width:14px;height:14px;color:var(--accent);}
.patch-preview__date{
  font-size:12px;
  color:var(--text-faint);
  margin-bottom:8px;
}
.patch-preview__title{
  font-family:var(--font-display);
  font-size:18px;
  margin-bottom:14px;
}
.patch-preview ul{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.patch-preview li{
  font-size:13px;
  color:var(--text-dim);
  padding-left:16px;
  position:relative;
}
.patch-preview li::before{
  content:'';
  position:absolute;
  left:0;
  top:7px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
}

.discord-split{
  display:grid;
  grid-template-columns:1fr auto;
  gap:48px;
  align-items:center;
}
.discord-split__text .page-header__eyebrow{
  display:inline-flex;
  margin-bottom:18px;
}
.discord-split__title{
  font-family:var(--font-display);
  font-size:clamp(22px,3.5vw,32px);
  font-weight:700;
  margin-bottom:14px;
  line-height:1.2;
}
.discord-split__desc{
  font-size:15px;
  color:var(--text-dim);
  line-height:1.7;
  max-width:440px;
  margin-bottom:26px;
}
.discord-split__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.discord-split__widget{
  flex-shrink:0;
}
.discord-split__widget iframe{
  display:block;
  border-radius:16px;
  border:1px solid rgba(61,169,255,.12);
  background:rgba(10,13,20,.95);
}

@media(max-width:960px){
  .discord-split{
    grid-template-columns:1fr;
    gap:28px;
  }
  .discord-split__widget{
    display:flex;
    justify-content:center;
  }
  .discord-split__widget iframe{
    width:100%;
    max-width:350px;
  }
}

@media (max-width:920px){
  .quick-grid{grid-template-columns:repeat(2,1fr);}
  .latest-grid{grid-template-columns:1fr;}
  .hero__stats{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
  .quick-grid{grid-template-columns:1fr;}
  .promo-card{padding:28px;}
}
