/* =========================================================
   HOME
   Chucky1337 Community
========================================================= */


/* =========================================================
   TWITCH LIVE CAROUSEL
========================================================= */

.community-live {
  position: relative;
  z-index: 5;
  padding: 20px 0 26px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% -30%, rgba(145, 70, 255, .13), transparent 52%),
    color-mix(in srgb, var(--bg-elevated) 92%, transparent);
}

.community-live::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25), transparent 90%);
  opacity: .12;
}

.community-live > .content-shell {
  position: relative;
  z-index: 1;
}


/* =========================================================
   HEADING
========================================================= */

.community-live-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.community-live .content-shell:has(.live-carousel-stage.is-single) .community-live-heading {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.community-live-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.community-live-title > div:last-child {
  display: grid;
  gap: 1px;
}

.community-live-title strong {
  font-size: .78rem;
  font-weight: 680;
}

.community-live-title > div:last-child > span {
  color: var(--text-faint);
  font-size: .58rem;
}

.community-live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff4b6e;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .12em;
}


/* =========================================================
   LIVE PULSE
========================================================= */

.live-pulse {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3158;
  box-shadow: 0 0 0 4px rgba(255, 49, 88, .10);
}

.live-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 49, 88, .45);
  border-radius: 50%;
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(.6);
    opacity: .8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}


/* =========================================================
   CONTROLS
========================================================= */

.community-live-controls {
  display: flex;
  gap: 6px;
}

.live-carousel-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.live-carousel-arrow:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: var(--accent-soft);
}


/* =========================================================
   LIVE STAGE
========================================================= */

.live-carousel-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, .4fr) minmax(420px, 560px) minmax(140px, .4fr);
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.live-carousel-stage.is-single {
  width: 100%;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  margin-inline: auto;
}

.live-carousel-stage.is-double {
  grid-template-columns: minmax(130px, .4fr) minmax(420px, 560px) minmax(130px, .4fr);
}


/* =========================================================
   SIDE STREAMS
========================================================= */

.live-side-card {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  opacity: .58;
  transform: scale(.9);
  transition: opacity .25s ease, transform .25s var(--ease), border-color .25s ease;
}

.live-side-card:hover {
  opacity: .9;
  transform: scale(.94);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.live-side-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
}

.live-side-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.72) brightness(.72);
}

.live-side-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 5, 10, .8), transparent 62%),
    linear-gradient(90deg, rgba(8, 8, 14, .26), transparent);
}

.live-side-card-left {
  transform: perspective(900px) rotateY(6deg) scale(.9);
  transform-origin: right center;
}

.live-side-card-right {
  transform: perspective(900px) rotateY(-6deg) scale(.9);
  transform-origin: left center;
}

.live-side-card-left:hover {
  transform: perspective(900px) rotateY(3deg) scale(.94);
}

.live-side-card-right:hover {
  transform: perspective(900px) rotateY(-3deg) scale(.94);
}

.live-side-info {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
}

.live-side-info > img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  object-fit: cover;
}

.live-side-info > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.live-side-info strong,
.live-side-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-side-info strong {
  font-size: .64rem;
  font-weight: 680;
}

.live-side-info span {
  color: var(--text-faint);
  font-size: .55rem;
}


/* =========================================================
   BADGES
========================================================= */

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 7px;
  background: #e9194b;
  color: #fff;
  font-size: .52rem;
  font-weight: 850;
  letter-spacing: .07em;
  box-shadow: 0 8px 28px rgba(233, 25, 75, .2);
}

.live-badge-main {
  position: static;
}

.live-badge-main i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.live-role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 7px;
  background: rgba(7, 7, 12, .58);
  color: #fff;
  backdrop-filter: blur(8px);
  font-size: .50rem;
  font-weight: 800;
  letter-spacing: .08em;
}


/* =========================================================
   ACTIVE STREAM
========================================================= */

.live-main-card {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line-strong));
  border-radius: 16px;
  background: var(--panel);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, .20),
    0 0 50px rgba(124, 58, 237, .06);
}

.live-main-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050507;
}

.live-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.live-player iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}

.live-player-top {
  position: absolute;
  inset: 9px 9px auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}


/* =========================================================
   STREAM INFO
========================================================= */

.live-main-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}

.live-main-creator {
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-main-creator > img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  object-fit: cover;
}

.live-main-creator > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.live-main-creator strong {
  font-size: .66rem;
  font-weight: 720;
}

.live-main-creator span {
  color: var(--text-faint);
  font-size: .54rem;
}

.live-main-copy {
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.live-main-copy h3 {
  margin: 0;
  overflow: hidden;
  font-size: .68rem;
  font-weight: 630;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-main-meta {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: .53rem;
}

.live-main-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.viewer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff3158;
}

.live-main-meta b {
  color: var(--text-soft);
  font-weight: 650;
}


/* =========================================================
   ACTIONS
========================================================= */

.live-main-actions {
  display: flex;
  gap: 6px;
}

.live-main-actions .button {
  padding: 7px 10px;
  font-size: .60rem;
  white-space: nowrap;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 760px) {
  .community-live {
    padding: 18px 0 22px;
  }

  .live-carousel-stage,
  .live-carousel-stage.is-single,
  .live-carousel-stage.is-double {
    grid-template-columns: minmax(0, 560px);
  }

  .live-side-card {
    display: none;
  }

  .community-live .content-shell:has(.live-carousel-stage.is-single) .community-live-heading {
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  .live-carousel-stage,
  .live-carousel-stage.is-single,
  .live-carousel-stage.is-double {
    grid-template-columns: minmax(0, 100%);
  }

  .community-live .content-shell:has(.live-carousel-stage.is-single) .community-live-heading {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .live-main-info {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .live-main-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 420px) {
  .community-live-title {
    gap: 8px;
  }

  .community-live-kicker {
    font-size: .50rem;
  }

  .live-main-card {
    border-radius: 14px;
  }

  .live-main-actions .button {
    padding: 6px 8px;
    font-size: .56rem;
  }
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 90%);
  opacity: .18;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-one {
  top: -260px;
  right: 3%;
  background: var(--accent);
  opacity: .15;
}

.hero-glow-two {
  bottom: -330px;
  left: 15%;
  background: #00b7ff;
  opacity: .05;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,.94fr) minmax(460px,1.06fr);
  gap: clamp(48px,6vw,95px);
  align-items: center;
  padding-block: 92px;
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: .69rem;
  font-weight: 760;
  letter-spacing: .13em;
}

.hero-eyebrow-mark {
  padding: 5px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .57rem;
  letter-spacing: .09em;
}

.hero h1 {
  max-width: 720px;
  margin: 24px 0 25px;
  font-size: clamp(4rem,7vw,7.1rem);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 590;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 76%, transparent);
}

.hero-lead {
  max-width: 630px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(.98rem,1.25vw,1.1rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 34px;
  color: var(--text-faint);
  font-size: .7rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta span:not(:first-child)::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 10%, transparent);
}


/* =========================================================
   HERO MEDIA
========================================================= */

.hero-media-wrap {
  position: relative;
  min-width: 0;
}

.hero-video-glow {
  position: absolute;
  inset: 8% -5%;
  border-radius: 50%;
  background: var(--accent);
  opacity: .15;
  filter: blur(75px);
  pointer-events: none;
}

.hero-video-frame {
  position: relative;
  z-index: 2;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line-strong));
  border-radius: 28px 8px 28px 8px;
  background: #050507;
  clip-path: polygon(
    7% 0,
    100% 0,
    100% 91%,
    93% 100%,
    0 100%,
    0 9%
  );
  box-shadow:
    0 35px 90px rgba(0,0,0,.28),
    0 0 90px rgba(124,58,237,.08);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}


/* =========================================================
   HERO TWITCH
========================================================= */

.hero-twitch-player {
  border: 0;
  object-fit: initial;
  transform: none;
}

.hero-video-brand-live {
  gap: 7px;
  color: #fff;
  border-color: rgba(255,49,88,.28);
  background: rgba(30,7,14,.62);
}

.hero-live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #ff3158;
  box-shadow: 0 0 0 5px rgba(255,49,88,.12);
}

.hero-live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255,49,88,.42);
  border-radius: 50%;
  animation: heroLivePulse 1.8s ease-out infinite;
}

@keyframes heroLivePulse {
  0% {
    transform: scale(.6);
    opacity: .8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.hero-live-meta {
  display: block;
  margin-top: 1px;
  color: rgba(255,255,255,.58);
  font-size: .61rem;
  line-height: 1.45;
}

.hero-video-live-link {
  flex: 0 0 43px;
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.hero-video-live-link:hover {
  transform: translateY(-2px);
  border-color: rgba(145,70,255,.55);
  background: rgba(124,58,237,.72);
}


/* =========================================================
   HERO OVERLAYS
========================================================= */

.hero-video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,9,.88), transparent 46%),
    linear-gradient(90deg, rgba(5,5,9,.2), transparent 45%),
    linear-gradient(to bottom, rgba(5,5,9,.18), transparent 30%);
  pointer-events: none;
}

.hero-video-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to top, black, transparent 75%);
}

.hero-video-top,
.hero-video-bottom {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-video-top {
  top: 24px;
}

.hero-video-bottom {
  bottom: 25px;
}

.hero-video-brand,
.hero-video-chip {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(6,6,10,.48);
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero-video-chip {
  color: #d8c9ff;
}

.hero-video-bottom > div {
  min-width: 0;
  max-width: calc(100% - 62px);
  display: grid;
  gap: 4px;
}

.hero-video-bottom small {
  color: rgba(255,255,255,.55);
  font-size: .56rem;
  font-weight: 750;
  letter-spacing: .14em;
}

.hero-video-bottom strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: .86rem;
  font-weight: 640;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-video-mark {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;

  background: rgba(8,8,13,.58);

  color: #fff;

  backdrop-filter: blur(12px);

  font-size: 1rem;
  font-weight: 850;
}


/* =========================================================
   HERO LOGO SEAL
========================================================= */

.hero-video-logo {
  position: relative;

  width: 62px;
  height: 62px;

  flex: 0 0 62px;

  margin-right: -7px;
  margin-bottom: -13px;

  overflow: hidden;

  padding: 6px;

  border:
    2px solid
    rgba(139,92,246,.78);

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(255,255,255,.14),
      transparent 42%
    ),
    rgba(8,8,13,.94);

  box-shadow:
    0 0 0 4px rgba(8,8,13,.70),
    0 0 0 5px rgba(139,92,246,.20),
    0 12px 30px rgba(0,0,0,.42),
    0 0 26px rgba(139,92,246,.22);

  backdrop-filter: blur(14px);

  transform:
    translate(4px, 2px)
    rotate(-8deg);

  z-index: 6;
}

.hero-video-logo::before {
  content: "";

  position: absolute;

  inset: 4px;

  border:
    1px solid
    rgba(255,255,255,.12);

  border-radius: 50%;

  pointer-events: none;
}

.hero-video-logo::after {
  content: "";

  position: absolute;

  inset: 8px;

  border:
    1px dashed
    rgba(139,92,246,.22);

  border-radius: 50%;

  pointer-events: none;
}

.hero-video-logo img {
  position: relative;

  z-index: 1;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  filter:
    drop-shadow(
      0 4px 9px
      rgba(0,0,0,.34)
    );
}


/* =========================================================
   HERO FLOATING CARD
========================================================= */

.hero-floating-card {
  position: absolute;
  z-index: 4;

  right: -24px;
  bottom: 104px;

  min-width: 190px;

  display: flex;
  align-items: center;

  gap: 11px;

  padding: 13px 15px;

  border: 1px solid var(--line-strong);
  border-radius: 15px;

  background:
    color-mix(
      in srgb,
      var(--panel-solid) 88%,
      transparent
    );

  backdrop-filter: blur(16px);

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, .22);

  transform: rotate(-2deg);
}

.hero-floating-icon {
  width: 35px;
  height: 35px;
  display: grid;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-floating-card > div {
  display: grid;
  gap: 2px;
}

.hero-floating-card small {
  color: var(--text-faint);
  font-size: .55rem;
  letter-spacing: .11em;
}

.hero-floating-card strong {
  font-size: .72rem;
  font-weight: 690;
}


/* =========================================================
   COMMUNITY STATS
========================================================= */

.stats-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-left: 1px solid var(--line);
}

.stats-grid-community {
  grid-template-columns: repeat(6,1fr);
}

.stats-grid article {
  min-width: 0;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.stats-grid strong {
  overflow: hidden;
  font-size: 1.52rem;
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 620;
  text-overflow: ellipsis;
}

.stats-grid span {
  margin-top: 8px;
  color: var(--text-faint);
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: 105px 0;
}

.section-soft {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.community-points-copy h2,
.community-final h2 {
  margin: 9px 0 0;
  font-size: clamp(2.3rem,5vw,4.8rem);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 590;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}


/* =========================================================
   DISCORD ACTIVITY
========================================================= */

.discord-activity-section {
  position: relative;
  overflow: hidden;
}

.discord-activity-section::before {
  content: "";
  position: absolute;
  top: 3%;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #5865f2;
  opacity: .055;
  filter: blur(110px);
  pointer-events: none;
}

.discord-activity-section > .content-shell {
  position: relative;
  z-index: 1;
}

.discord-activity-layout {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(280px,.62fr);
  gap: 16px;
  align-items: start;
}


/* =========================================================
   DISCORD VOICE PANEL
========================================================= */

.discord-voice-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(88,101,242,.07), transparent 30%),
    var(--panel);
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
}

.discord-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.discord-panel-heading h3 {
  margin: 8px 0 0;
  font-size: 1.55rem;
  font-weight: 610;
  letter-spacing: -.035em;
}

.discord-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7c88ff;
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.discord-live-indicator i {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5865f2;
  box-shadow: 0 0 0 5px rgba(88,101,242,.10);
}

.discord-live-indicator i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(88,101,242,.42);
  border-radius: 50%;
  animation: discordActivityPulse 1.8s ease-out infinite;
}

@keyframes discordActivityPulse {
  0% {
    transform: scale(.6);
    opacity: .8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.discord-panel-counter {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.discord-panel-counter strong {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 620;
  letter-spacing: -.04em;
}

.discord-panel-counter span {
  color: var(--text-faint);
  font-size: .62rem;
}


/* =========================================================
   DISCORD VOICE CHANNELS
========================================================= */

.discord-voice-channels {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.discord-voice-channel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #5865f2 20%, var(--line));
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(88,101,242,.055),
      transparent 112px
    ),
    var(--bg-soft);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.018);
  transition:
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.discord-voice-channel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 76px;
  border-radius: 0 0 4px 0;
  background:
    linear-gradient(
      to bottom,
      #7c88ff,
      rgba(88,101,242,.15)
    );
  pointer-events: none;
}

.discord-voice-channel:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, #5865f2 45%, var(--line));
  box-shadow:
    0 14px 36px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.025);
}


/* =========================================================
   VOICE ROOM HEADER
========================================================= */

.discord-voice-channel-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 15px 14px 17px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(
      90deg,
      rgba(88,101,242,.055),
      transparent 72%
    );
}

.discord-voice-channel-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.discord-voice-channel-name > div,
.discord-voice-room-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.discord-voice-channel-name strong,
.discord-voice-room-copy strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: .79rem;
  font-weight: 710;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* =========================================================
   VOICE ROOM LABEL
========================================================= */

.discord-voice-room-label {
  width: fit-content;
  color: #8791ff !important;
  font-size: .48rem !important;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .13em;
}

.discord-voice-room-members {
  color: var(--text-faint) !important;
  font-size: .57rem !important;
  line-height: 1.35;
}


/* =========================================================
   VOICE ROOM ICON
========================================================= */

.discord-voice-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(88,101,242,.22);
  border-radius: 11px;
  background:
    linear-gradient(
      145deg,
      rgba(88,101,242,.18),
      rgba(88,101,242,.075)
    );
  color: #8c95ff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035);
}

.discord-voice-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}


/* =========================================================
   VOICE ROOM STATUS
========================================================= */

.discord-voice-room-status {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.discord-voice-room-live {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(62,207,142,.16);
  border-radius: 7px;
  background: rgba(62,207,142,.065);
  color: #48d99a;
  font-size: .46rem;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .08em;
}

.discord-voice-room-live i {
  position: relative;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 0 0 4px
    rgba(62,207,142,.07);
}

.discord-voice-room-live i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(62,207,142,.25);
  border-radius: 50%;
  animation: discordRoomPulse 1.9s ease-out infinite;
}

@keyframes discordRoomPulse {
  0% {
    transform: scale(.7);
    opacity: .75;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.discord-voice-count {
  min-width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding-inline: 7px;
  border: 1px solid rgba(88,101,242,.18);
  border-radius: 8px;
  background: rgba(88,101,242,.075);
  color: #a4abff;
  font-size: .62rem;
  font-weight: 750;
}


/* =========================================================
   DISCORD VOICE USERS
========================================================= */

.discord-voice-users {
  display: grid;
  padding: 5px 13px 10px;
}

.discord-voice-user {
  min-width: 0;
  min-height: 53px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  color: inherit;
  text-decoration: none;
}

a.discord-voice-user {
  transition: opacity .18s ease;
}

a.discord-voice-user:hover {
  opacity: .75;
}

.discord-voice-user:last-child {
  border-bottom: 0;
}

.discord-voice-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.discord-voice-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 11px;
  object-fit: cover;
}

.discord-voice-avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--bg-soft);
  border-radius: 50%;
  background: #23a559;
}

.discord-voice-user-info {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

.discord-voice-user-info strong {
  overflow: hidden;
  font-size: .72rem;
  font-weight: 670;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-voice-user-info small {
  color: var(--text-faint);
  font-size: .58rem;
}

.discord-voice-user-flags {
  display: flex;
  gap: 4px;
}

.discord-voice-flag {
  display: inline-flex;
  padding: 3px 5px;
  border: 1px solid rgba(88,101,242,.2);
  border-radius: 5px;
  background: rgba(88,101,242,.08);
  color: #8f99ff;
  font-size: .47rem;
  font-weight: 800;
  letter-spacing: .05em;
}


/* =========================================================
   DISCORD MORE / EMPTY
========================================================= */

.discord-voice-more {
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  color: var(--text-faint);
}

.discord-voice-more-icon {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  font-size: .8rem;
}

.discord-voice-more > span:last-child {
  display: grid;
  gap: 2px;
}

.discord-voice-more strong {
  color: var(--text-soft);
  font-size: .67rem;
  font-weight: 650;
}

.discord-voice-more small {
  font-size: .55rem;
}

.discord-voice-private {
  display: grid;
  gap: 4px;
  padding: 17px 15px;
}

.discord-voice-private span {
  font-size: .72rem;
  font-weight: 640;
}

.discord-voice-private small {
  color: var(--text-faint);
  font-size: .59rem;
}

.discord-voice-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 38px;
  text-align: left;
}

.discord-voice-empty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  color: #7c88ff;
  font-size: 1rem;
}

.discord-voice-empty strong {
  display: block;
  font-size: .88rem;
}

.discord-voice-empty p {
  max-width: 430px;
  margin: 6px 0 0;
  color: var(--text-faint);
  font-size: .7rem;
  line-height: 1.6;
}


/* =========================================================
   DISCORD COMMUNITY CARD
========================================================= */

.discord-community-card {
  position: sticky;
  top: 90px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid color-mix(in srgb, #5865f2 24%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88,101,242,.15), transparent 34%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0,0,0,.10);
}

.discord-community-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.discord-community-card-head > div {
  min-width: 0;
}

.discord-community-card-head h3 {
  margin: 5px 0 0;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-server-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 15px;
  object-fit: cover;
}

.discord-server-icon-fallback {
  display: grid;
  place-items: center;
  background: #5865f2;
  color: #fff;
  font-size: .72rem;
  font-weight: 820;
}

.discord-community-description {
  margin: 20px 0;
  color: var(--text-soft);
  font-size: .76rem;
  line-height: 1.7;
}

.discord-community-stats {
  display: grid;
  border-top: 1px solid var(--line);
}

.discord-community-stats > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
}

.discord-community-stats strong {
  font-size: .83rem;
  font-weight: 660;
}

.discord-community-stats span {
  color: var(--text-faint);
  font-size: .61rem;
  text-align: right;
}

.discord-join-button {
  width: 100%;
  margin-top: 20px;
}


/* =========================================================
   COMMUNITY POINTS
========================================================= */

.community-points-section {
  position: relative;
}

.community-points-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.18), transparent);
  opacity: .12;
}

.community-points-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(430px,1.1fr);
  gap: clamp(50px,7vw,100px);
  align-items: center;
}

.community-points-copy p {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.community-points-note {
  max-width: 540px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.community-points-note > span {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.community-points-note p {
  margin: 2px 0 0;
  color: var(--text-faint);
  font-size: .68rem;
  line-height: 1.6;
}

.community-points-sources {
  display: grid;
  gap: 10px;
}

.community-points-sources article {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(100deg, rgba(139,92,246,.06), transparent 42%),
    var(--panel);
  transition:
    transform .22s ease,
    border-color .22s ease;
}

.community-points-sources article:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}

.points-source-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-faint);
  font-size: .6rem;
  font-weight: 700;
}

.community-points-sources article > div {
  min-width: 0;
}

.community-points-sources small {
  color: var(--accent);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.community-points-sources strong {
  display: block;
  margin-top: 3px;
  font-size: .83rem;
  font-weight: 680;
}

.community-points-sources p {
  margin: 5px 0 0;
  color: var(--text-faint);
  font-size: .65rem;
  line-height: 1.55;
}


/* =========================================================
   COMMUNITY NEWS
========================================================= */

.community-news-section {
  position: relative;
}

.community-news-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 14px;
}

.community-news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.community-news-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,.09);
}

.community-news-card-featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(139,92,246,.09), transparent 34%),
    var(--panel);
}

.community-news-image {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--bg-soft);
}

.community-news-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.community-news-card:hover .community-news-image img {
  transform: scale(1.025);
}

.community-news-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,4,8,.35), transparent 50%);
  pointer-events: none;
}

.community-news-body {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 23px;
}

.community-news-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-faint);
  font-size: .54rem;
  font-weight: 750;
  letter-spacing: .1em;
}

.community-news-meta-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.community-news-meta-copy > span + span::before {
  content: "·";
  margin-right: 9px;
}

.community-news-date {
  color: var(--accent);
}


/* =========================================================
   COMMUNITY NEWS LANGUAGE SWITCH
========================================================= */

.community-news-language {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg-soft) 88%, transparent);
}

.community-news-language-button {
  min-width: 62px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 9px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  color: var(--text-faint);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.community-news-language-code {
  display: inline-block;
  font-size: .52rem;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .08em;
}

.community-news-language-flag {
  width: 20px;
  height: 14px;
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
}

.community-news-language-flag svg {
  width: 20px;
  height: 14px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .45),
    0 0 0 2px rgba(255, 255, 255, .08);
}

.community-news-language-button:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

.community-news-language-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}

.community-news-language-button.is-active {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text) 5%, transparent);
}

.community-news-language-button.is-active:hover {
  transform: translateY(-1px);
}

html[data-theme="light"] .community-news-language {
  background: color-mix(in srgb, var(--bg-soft) 96%, #fff 4%);
}

html[data-theme="light"] .community-news-language-button.is-active {
  background: color-mix(in srgb, var(--accent-soft) 86%, #fff 14%);
}

.community-news-card h3 {
  margin: 14px 0 10px;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 630;
}

.community-news-card-featured h3 {
  font-size: 1.5rem;
}

.community-news-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: .78rem;
  line-height: 1.7;
}

.community-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 25px;
}

.community-news-author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-news-author img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  object-fit: cover;
}

.community-news-author span {
  overflow: hidden;
  color: var(--text-faint);
  font-size: .59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-news-empty {
  min-height: 190px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: var(--panel);
}

.community-news-empty > span {
  width: 58px;
  height: 58px;
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 17px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.community-news-empty strong {
  font-size: .85rem;
}

.community-news-empty p {
  max-width: 580px;
  margin: 7px 0 0;
  color: var(--text-faint);
  font-size: .7rem;
  line-height: 1.65;
}

.community-news-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}


/* =========================================================
   COMMUNITY NEWS
   EXPAND / COLLAPSE
========================================================= */

.community-news-grid {
  align-items: start;
}

.community-news-copy {
  min-width: 0;
}

.community-news-preview,
.community-news-full {
  color: var(--text-soft);
  font-size: .78rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}

.community-news-preview {
  display: block;
}

.community-news-full,
.community-news-full-static {
  margin: 0;
}

.community-news-footer .community-news-readmore {
  min-width: 0;
  min-height: 32px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 4px 0 4px 10px;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 0;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--accent);
  font: inherit;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s ease, opacity .18s ease;
}

.community-news-footer .community-news-readmore i {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .5rem;
  transform-origin: center;
  transition:
    transform .22s ease,
    border-color .18s ease,
    background .18s ease,
    color .18s ease;
}

.community-news-footer .community-news-readmore:hover {
  background: transparent !important;
  color: var(--text);
}

.community-news-footer .community-news-readmore:hover i {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 82%, var(--panel));
}

.community-news-footer .community-news-readmore:focus,
.community-news-footer .community-news-readmore:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.community-news-footer .community-news-readmore:focus-visible {
  color: var(--text);
}

.community-news-card.is-news-expanded {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  box-shadow:
    0 24px 70px rgba(0,0,0,.1),
    0 0 45px rgba(124,58,237,.035);
}

.community-news-card.is-news-expanded .community-news-readmore i {
  transform: rotate(180deg);
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: 1.18fr .91fr .91fr;
  gap: 14px;
}

.feature-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(139,92,246,.045), transparent 45%),
    var(--panel);
  transition:
    transform .25s var(--ease),
    border-color .25s ease,
    box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.feature-card-large {
  background:
    radial-gradient(circle at 80% 15%, rgba(139,92,246,.12), transparent 35%),
    var(--panel);
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text-faint);
  font-size: .64rem;
}

.feature-tag {
  color: var(--accent);
  font-size: .62rem;
  font-weight: 760;
  letter-spacing: .15em;
}

.feature-card h3 {
  max-width: 370px;
  margin: 8px 0 12px;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 610;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: .9rem;
  line-height: 1.7;
}

.feature-card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--text);
  font-size: .78rem;
  font-weight: 650;
  text-decoration: none;
}


/* =========================================================
   FINAL COMMUNITY CTA
========================================================= */

.community-final {
  position: relative;
  overflow: hidden;
}

.community-final::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -320px;
  width: 760px;
  height: 500px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .09;
  filter: blur(120px);
  transform: translateX(-50%);
  pointer-events: none;
}

.community-final-inner {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 70px;
  align-items: center;
  padding-block: 30px;
}

.community-final h2 {
  font-size: clamp(2.9rem,6vw,5.8rem);
}

.community-final p {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: .9rem;
  line-height: 1.7;
}

.community-final-actions {
  display: grid;
  min-width: 210px;
  gap: 9px;
}

.community-final-actions .button {
  width: 100%;
}


/* =========================================================
   RESPONSIVE 1200
========================================================= */

@media (max-width: 1200px) {
  .live-carousel-stage {
    grid-template-columns:
      minmax(145px,.35fr)
      minmax(460px,1.3fr)
      minmax(145px,.35fr);
    gap: 10px;
  }

  .live-side-info {
    padding: 9px;
  }

  .live-main-info {
    gap: 14px;
  }

  .hero-grid {
    grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr);
    gap: 45px;
  }

  .hero-floating-card {
    right: -5px;
  }

  .stats-grid article {
    padding-inline: 18px;
  }

  .stats-grid span {
    font-size: .58rem;
  }

  .discord-activity-layout {
    grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr);
  }

  .discord-voice-channels {
    grid-template-columns: 1fr;
  }

  .community-news-grid {
    grid-template-columns: 1.1fr .9fr .9fr;
  }
}


/* =========================================================
   RESPONSIVE 1050
========================================================= */

@media (max-width: 1050px) {
  .live-carousel-stage {
    grid-template-columns: 120px minmax(0,1fr) 120px;
  }

  .live-side-info {
    display: none;
  }

  .live-side-card {
    border-radius: 15px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 72px 86px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media-wrap {
    width: min(780px,100%);
    margin-inline: auto;
  }

  .hero-video-frame {
    min-height: 470px;
  }

  .stats-grid-community {
    grid-template-columns: repeat(3,1fr);
  }

  .stats-grid-community article:nth-child(n+4) {
    border-top: 1px solid var(--line);
  }

  .discord-activity-layout {
    grid-template-columns: 1fr;
  }

  .discord-community-card {
    position: relative;
    top: auto;
  }

  .discord-community-stats {
    grid-template-columns: repeat(5,1fr);
    border-left: 1px solid var(--line);
  }

  .discord-community-stats > div {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    border-right: 1px solid var(--line);
    text-align: center;
  }

  .discord-community-stats span {
    text-align: center;
  }

  .community-points-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .community-news-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .community-news-card-featured {
    grid-column: 1 / -1;
  }

  .community-news-card-featured .community-news-image {
    aspect-ratio: 16 / 6.8;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-large {
    grid-column: 1 / -1;
  }

  .community-final-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .community-final-actions {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .community-final-actions .button {
    width: auto;
  }
}


/* =========================================================
   RESPONSIVE 820
========================================================= */

@media (max-width: 820px) {
  .community-live {
    padding: 20px 0 26px;
  }

  .community-live-heading {
    align-items: center;
  }

  .community-live-title {
    gap: 12px;
  }

  .live-carousel-stage {
    display: block;
  }

  .live-side-card {
    display: none;
  }

  .live-main-card {
    border-radius: 18px;
  }

  .live-main-info {
    grid-template-columns: 1fr auto;
  }

  .live-main-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .live-main-actions {
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: clamp(3.7rem,14vw,6.3rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .discord-section-heading {
    margin-bottom: 30px;
  }

  .discord-community-stats {
    grid-template-columns: repeat(3,1fr);
  }

  .discord-community-stats > div:nth-child(n+4) {
    border-top: 1px solid var(--line);
  }

  .community-news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .community-news-preview,
  .community-news-full {
    font-size: .76rem;
  }

  .community-news-footer .community-news-readmore {
    font-size: .61rem;
  }
}


/* =========================================================
   RESPONSIVE 620
========================================================= */

@media (max-width: 620px) {
  .community-live-heading {
    gap: 12px;
  }

  .community-live-title {
    display: grid;
    gap: 8px;
  }

  .community-live-controls {
    margin-left: auto;
  }

  .live-carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .live-main-card {
    border-radius: 15px;
  }

  .live-main-info {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 13px;
  }

  .live-main-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .live-main-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .live-main-actions .button {
    width: 100%;
    padding-inline: 10px;
  }

  .live-player-top {
    inset: 9px 9px auto;
  }

  .hero-grid {
    gap: 42px;
    padding-block: 55px 66px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(3.15rem,16vw,5rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 9px;
  }

  .hero-meta span:not(:first-child)::before {
    display: none;
  }

  .hero-video-frame {
    min-height: 390px;
    border-radius: 22px 6px 22px 6px;
  }

  .hero-video-top,
  .hero-video-bottom {
    left: 17px;
    right: 17px;
  }

  .hero-video-top {
    top: 17px;
  }

  .hero-video-bottom {
    bottom: 18px;
  }

  .hero-video-chip {
    display: none;
  }

  .hero-live-meta {
    font-size: .58rem;
  }

  .hero-video-bottom > div {
    max-width: calc(100% - 52px);
  }

  .hero-video-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    margin-right: -5px;
    margin-bottom: -11px;
    padding: 5px;
    transform:
      translate(3px, 1px)
      rotate(-8deg);
  }

  .hero-floating-card {
    right: 8px;
    bottom: 82px;
    min-width: 165px;
    padding: 10px 12px;
  }

  .stats-grid-community {
    grid-template-columns: repeat(2,1fr);
  }

  .stats-grid-community article:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .stats-grid article {
    min-height: 88px;
    padding: 16px;
  }

  .stats-grid strong {
    font-size: 1.25rem;
  }

  .stats-grid span {
    font-size: .56rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .discord-voice-panel,
  .discord-community-card {
    padding: 18px;
    border-radius: 18px;
  }

  .discord-panel-heading {
    align-items: center;
  }

  .discord-panel-heading h3 {
    font-size: 1.25rem;
  }

  .discord-voice-channels {
    grid-template-columns: 1fr;
  }

  .discord-voice-channel {
    border-radius: 14px;
  }

  .discord-voice-channel-head {
    align-items: flex-start;
  }

  .discord-voice-room-status {
    padding-top: 1px;
  }

  .discord-community-stats {
    grid-template-columns: repeat(2,1fr);
  }

  .discord-community-stats > div {
    min-height: 72px;
  }

  .discord-community-stats > div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .discord-voice-empty {
    min-height: 180px;
    padding: 25px 10px;
  }

  .community-points-layout {
    gap: 32px;
  }

  .community-points-sources article {
    min-height: 100px;
    padding: 16px;
  }

  .community-news-grid {
    grid-template-columns: 1fr;
  }

  .community-news-card-featured {
    grid-column: auto;
  }

  .community-news-card-featured .community-news-image,
  .community-news-image {
    aspect-ratio: 16 / 8.5;
  }

  .community-news-body {
    min-height: 240px;
    padding: 19px;
  }

  .community-news-meta {
    align-items: flex-start;
    gap: 10px;
  }

  .community-news-meta-copy {
    padding-top: 7px;
  }

  .community-news-language-button {
    min-width: 58px;
    padding-inline: 8px;
  }

  .community-news-card-featured h3,
  .community-news-card h3 {
    font-size: 1.25rem;
  }

  .community-news-copy {
    width: 100%;
  }

  .community-news-preview,
  .community-news-full {
    font-size: .75rem;
    line-height: 1.65;
  }

  .community-news-footer .community-news-readmore {
    min-height: 38px;
    font-size: .61rem;
  }

  .community-news-footer {
    padding-top: 20px;
  }

  .community-news-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .community-news-actions .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-large {
    grid-column: auto;
    min-height: 280px;
    padding: 23px;
  }

  .feature-icon {
    margin-bottom: 38px;
  }

  .community-final-inner {
    min-height: auto;
    padding-block: 0;
  }

  .community-final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .community-final-actions .button {
    width: 100%;
  }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {
  .live-carousel-arrow,
  .live-main-actions .button,
  .hero-actions .button,
  .discord-join-button,
  .community-news-actions .button,
  .community-final-actions .button {
    min-height: 44px;
  }

  .community-news-language-button {
    min-height: 38px;
  }

  .community-news-footer .community-news-readmore {
    min-height: 40px;
  }

  .live-side-card:hover,
  .feature-card:hover,
  .community-news-card:hover,
  .discord-voice-channel:hover,
  .community-points-sources article:hover,
  .hero-video-live-link:hover {
    transform: none;
  }

  .community-news-footer .community-news-readmore:hover {
    color: var(--accent);
  }
}


/* =========================================================
   SMALL LANDSCAPE DEVICES
========================================================= */

@media (max-width: 950px) and (max-height: 520px) and (orientation: landscape) {
  .hero-grid {
    gap: 32px;
    padding-block: 42px 54px;
  }

  .hero h1 {
    margin-block: 16px 18px;
    font-size: clamp(3rem,9vw,4.6rem);
  }

  .hero-lead {
    font-size: .9rem;
    line-height: 1.6;
  }

  .hero-meta {
    margin-top: 22px;
  }

  .hero-video-frame {
    min-height: 300px;
  }

  .hero-floating-card {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .discord-community-card {
    position: relative;
    top: auto;
  }
}


/* =========================================================
   VERY SMALL
========================================================= */

@media (max-width: 420px) {
  .community-live-heading {
    align-items: flex-end;
  }

  .community-live-title > div:last-child > span {
    font-size: .6rem;
  }

  .live-main-actions {
    grid-template-columns: 1fr;
  }

  .hero-video-frame {
    min-height: 330px;
  }

  .hero-video-bottom strong {
    font-size: .75rem;
  }

  .hero-video-mark {
    width: 37px;
    height: 37px;
  }

  .hero-video-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    margin-right: -4px;
    margin-bottom: -9px;
    padding: 5px;
    transform:
      translate(2px, 1px)
      rotate(-8deg);
  }

  .hero-video-live-link {
    flex-basis: 37px;
  }

  .hero-live-meta {
    font-size: .55rem;
  }

  .hero-video-bottom > div {
    max-width: calc(100% - 46px);
  }

  .hero-floating-card {
    display: none;
  }

  .stats-grid strong {
    font-size: 1.15rem;
  }

  .stats-grid span {
    font-size: .52rem;
    letter-spacing: .045em;
  }

  .discord-panel-heading {
    align-items: flex-start;
  }

  .discord-panel-counter strong {
    font-size: 1.2rem;
  }

  .discord-voice-channel-head {
    align-items: flex-start;
    padding-inline: 12px;
  }

  .discord-voice-channel-name {
    gap: 9px;
  }

  .discord-voice-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .discord-voice-icon svg {
    width: 16px;
    height: 16px;
  }

  .discord-voice-room-status {
    display: grid;
    justify-items: end;
    gap: 5px;
  }

  .discord-voice-room-live {
    min-height: 22px;
    padding: 3px 6px;
    font-size: .42rem;
  }

  .discord-voice-users {
    padding-inline: 10px;
  }

  .discord-voice-user-flags {
    display: none;
  }

  .discord-community-stats {
    grid-template-columns: 1fr 1fr;
  }

  .discord-community-card-head h3 {
    font-size: .9rem;
  }

  .community-points-sources article {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 12px;
  }

  .points-source-index {
    width: 38px;
    height: 38px;
  }

  .community-news-meta {
    flex-wrap: wrap;
  }

  .community-news-meta-copy {
    width: 100%;
    padding-top: 0;
  }

  .community-news-language {
    margin-top: 1px;
  }

  .community-news-language-button {
    min-width: 56px;
    height: 30px;
    padding-inline: 7px;
  }

  .community-news-language-flag,
  .community-news-language-flag svg {
    width: 18px;
    height: 13px;
  }

  .community-news-language-flag {
    flex-basis: 18px;
  }

  .community-news-footer {
    align-items: center;
    flex-direction: row;
  }

  .community-news-author {
    max-width: 55%;
  }

  .community-news-footer .community-news-readmore {
    min-height: 40px;
    margin-left: auto;
  }

  .community-news-body {
    min-height: 0;
    padding: 17px;
  }

  .community-news-preview,
  .community-news-full {
    font-size: .72rem;
  }

  .community-news-card h3,
  .community-news-card-featured h3 {
    font-size: 1.12rem;
  }

  .community-news-footer {
    gap: 10px;
  }

  .community-news-empty {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-final h2 {
    font-size: 2.65rem;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .live-pulse::after,
  .hero-live-dot::after,
  .discord-live-indicator i::after,
  .discord-voice-room-live i::after {
    animation: none;
  }

  .live-carousel-arrow,
  .live-side-card,
  .feature-card,
  .hero-video-live-link,
  .discord-voice-channel,
  .community-points-sources article,
  .community-news-card,
  .community-news-image img,
  .community-news-language-button,
  .community-news-footer .community-news-readmore,
  .community-news-footer .community-news-readmore i {
    transition: none;
  }
}