.home-next-body {
  --home-bg: #050713;
  --panel: rgba(8, 10, 28, 0.88);
  --panel-2: rgba(8, 13, 32, 0.94);
  --line: rgba(0, 214, 255, 0.28);
  --line-strong: rgba(0, 214, 255, 0.58);
  --cyan: #00d8ff;
  --blue: #4b8cff;
  --purple: #8d4cff;
  --pink: #ff42d8;
  --gold: #ffcc42;
  color: #fff;
  background:
    radial-gradient(circle at 42% 8%, rgba(0, 160, 255, 0.18), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(161, 71, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #02040a 0%, #040712 38%, #06091a 100%);
  padding-bottom: 132px;
}

.home-next-body .page-content {
  max-width: 1680px;
  margin: 0 auto;
  padding: 14px 16px 138px;
}

.home-next-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(0, 214, 255, 0.2);
  background: linear-gradient(180deg, rgba(4, 7, 19, 0.97), rgba(4, 7, 19, 0.88));
  backdrop-filter: blur(14px);
}

.home-brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.home-brand span {
  font-size: 33px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, #18d8ff, #4d86ff 65%, #7d63ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-brand small {
  font-size: 11px;
  letter-spacing: 0.54em;
  color: #fff;
  opacity: 0.88;
}

.home-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-chip {
  height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0, 214, 255, 0.24);
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 11, 29, 0.98), rgba(8, 9, 29, 0.88));
  box-shadow: inset 0 0 18px rgba(0, 214, 255, 0.04);
}
.top-chip strong { color: var(--cyan); font-size: 14px; font-weight: 1000; }
.top-chip em {
  font-style: normal;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 214, 255, 0.28);
  color: var(--cyan);
}
.top-chip--icon {
  width: 46px;
  justify-content: center;
  padding: 0;
  position: relative;
}
.top-chip--icon b {
  position: absolute;
  right: -4px;
  top: -4px;
  background: #ff295f;
  color: #fff;
  padding: 2px 7px;
  font-size: 10px;
  border-radius: 999px;
  font-weight: 900;
}
.top-chip--score { gap: 10px; }
.top-chip--score small {
  font-size: 10px;
  color: #aba8bf;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.top-chip--score strong { color: #a975ff; }

.home-alert-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 205, 70, 0.25);
  background: rgba(255, 205, 70, 0.08);
  margin-bottom: 14px;
}
.home-alert-card div { flex: 1; }
.home-alert-card strong { display: block; color: #ffcf4c; font-size: 13px; }
.home-alert-card small { color: #d5d2e8; }

.hero-next {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(310px, 0.86fr) minmax(460px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 510px;
  padding: 30px 24px 24px;
  margin-bottom: 14px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 46% 26%, rgba(16, 117, 255, 0.14), transparent 18%),
    linear-gradient(90deg, rgba(4, 6, 17, 0.98) 0%, rgba(5, 7, 20, 0.92) 55%, rgba(7, 11, 26, 0.96) 100%);
  border: 1px solid rgba(0, 214, 255, 0.16);
  box-shadow: inset 0 0 80px rgba(0, 214, 255, 0.03);
}
.hero-next::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent calc(100% - 1px), rgba(0, 214, 255, 0.04) calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(0, 214, 255, 0.03) calc(100% - 1px));
  background-size: 100% 72px, 72px 100%;
  opacity: 0.4;
  pointer-events: none;
}
.hero-copy,
.hero-character,
.player-compact-card { position: relative; z-index: 2; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: 6px 14px 6px 14px;
  border: 1px solid rgba(0, 214, 255, 0.34);
  background: linear-gradient(135deg, rgba(8, 17, 39, 0.82), rgba(11, 12, 34, 0.76));
  color: #4fe1ff;
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 5.6vw, 92px);
  line-height: 0.91;
  letter-spacing: -0.04em;
  font-weight: 1000;
  color: #fff;
}
.hero-copy h1 span {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(0, 214, 255, 0.42);
}
.hero-copy p {
  margin: 16px 0 24px;
  color: #dedbec;
  font-size: 18px;
  line-height: 1.35;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  min-width: 320px;
  justify-content: center;
  border-radius: 8px 22px 8px 22px;
  text-decoration: none;
  color: #dcfbff;
  font-weight: 1000;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, rgba(0, 214, 255, 0.22), rgba(142, 77, 255, 0.32));
  border: 1px solid rgba(0, 214, 255, 0.78);
  box-shadow: 0 0 24px rgba(0, 214, 255, 0.25), inset 0 0 18px rgba(142, 77, 255, 0.18);
}
.hero-cta span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 214, 255, 0.55);
}

.hero-character {
  display: flex;
  justify-content: center;
  align-items: end;
  min-height: 440px;
  filter: drop-shadow(0 0 26px rgba(0, 214, 255, 0.22));
}
.hero-character img {
  width: min(100%, 500px);
  height: auto;
  object-fit: contain;
  transform: translateY(12px);
}

.player-compact-card {
  align-self: center;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(0, 214, 255, 0.24);
  background: linear-gradient(135deg, rgba(7, 13, 31, 0.95), rgba(9, 10, 28, 0.92));
  box-shadow: inset 0 0 30px rgba(0, 214, 255, 0.03);
}
.player-main-row {
  display: grid;
  grid-template-columns: auto 1fr minmax(230px, 0.9fr);
  gap: 16px;
  align-items: center;
}
.player-text h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 1000;
  color: #fff;
}
.player-text > span {
  display: block;
  margin-top: 5px;
  color: #b0acc5;
  font-size: 14px;
}
.player-text strong {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid currentColor;
  font-weight: 800;
}
.player-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.player-stats-mini div {
  padding: 18px 14px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.player-stats-mini div:first-child { border-left: 0; }
.player-stats-mini span { font-size: 28px; display: block; }
.player-stats-mini small {
  display: block;
  margin-top: 4px;
  color: #a9a6bf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.player-stats-mini b {
  display: block;
  margin-top: 8px;
  color: #9d6eff;
  font-size: 22px;
  line-height: 1;
}
.player-stats-mini div:first-child b { color: var(--cyan); }
.level-line {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: #aca8c3;
  font-size: 12px;
  font-weight: 800;
}
.home-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.home-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #9c56ff);
  box-shadow: 0 0 16px rgba(0, 214, 255, 0.3);
}
.xp-readout {
  text-align: center;
  margin-top: 10px;
  color: #a9a6be;
  font-size: 12px;
}

.home-actions-next {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.next-action-card {
  position: relative;
  min-height: 196px;
  padding: 22px 22px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 214, 255, 0.28);
  background: linear-gradient(135deg, rgba(8, 12, 33, 0.97), rgba(7, 18, 34, 0.84));
  text-decoration: none;
  color: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.next-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 214, 255, 0.6);
  box-shadow: 0 0 24px rgba(0, 214, 255, 0.12);
}
.next-action-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -34% -8%;
  height: 55%;
  background: radial-gradient(circle, rgba(142, 77, 255, 0.22), transparent 65%);
}
.action-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 28px;
  z-index: 2;
}
.next-action-card > div {
  position: relative;
  z-index: 2;
  padding-top: 36px;
  max-width: 58%;
}
.next-action-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.02;
  font-weight: 1000;
}
.next-action-card p {
  margin: 0;
  color: #dad6ea;
  font-size: 15px;
  line-height: 1.36;
}
.next-action-card img {
  position: absolute;
  right: 10px;
  bottom: -10px;
  width: 48%;
  max-height: 150px;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 0 18px rgba(0, 214, 255, 0.15));
}
.next-action-card--watch img {
  width: 54%;
  max-height: 160px;
  right: 8px;
  bottom: -2px;
}
.next-action-card--diamonds img {
  width: 46%;
  max-height: 158px;
}
.next-action-card b {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(0, 214, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  z-index: 3;
}
.is-featured {
  border-color: rgba(0, 214, 255, 0.5);
  box-shadow: 0 0 28px rgba(0, 214, 255, 0.08);
}

.live-carousel-section { margin-bottom: 16px; }
.home-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 6px;
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: 1000;
}
.home-section-title em { color: #bf5dff; font-style: normal; }
.live-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 214, 255, 0.14);
  background: linear-gradient(135deg, rgba(5, 10, 25, 0.5), rgba(6, 7, 21, 0.35));
  padding: 10px 12px 12px;
}
.live-track {
  display: flex;
  gap: 14px;
  min-width: max-content;
  animation: auraLiveRight 32s linear infinite;
}
.live-carousel-viewport:hover .live-track { animation-play-state: paused; }
@keyframes auraLiveRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 7px)); }
}
.live-card {
  position: relative;
  flex: 0 0 305px;
  height: 148px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(143, 77, 255, 0.52);
  text-decoration: none;
  color: #fff;
  background: #090814;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.04);
}
.live-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.72));
  pointer-events: none;
}
.live-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.live-badge,
.live-viewers,
.live-info { position: absolute; z-index: 2; }
.live-badge {
  top: 10px;
  left: 10px;
  background: #ff265e;
  border-radius: 9px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 1000;
}
.live-viewers {
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
}
.live-info {
  left: 12px;
  right: 12px;
  bottom: 12px;
}
.live-info strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}
.live-info i { font-style: normal; color: #3fe6ff; }
.live-info small {
  display: block;
  margin-top: 4px;
  color: #ded9f0;
  font-size: 12px;
}
.live-arrow {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 72px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.56));
  color: var(--cyan);
  font-size: 34px;
}
.live-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.live-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.live-dots i:first-child { background: var(--cyan); box-shadow: 0 0 10px rgba(0, 214, 255, 0.6); }

.home-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 14px;
}
.mission-panel,
.ranking-panel,
.diamonds-banner-next {
  min-height: 220px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(0, 214, 255, 0.18);
  background: linear-gradient(135deg, rgba(7, 13, 32, 0.96), rgba(8, 8, 28, 0.92));
  color: #fff;
  overflow: hidden;
  text-decoration: none;
}
.mission-panel header,
.ranking-panel header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
}
.mission-panel header span,
.ranking-panel header span { font-size: 22px; }
.mission-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 18px;
}
.mission-body h3 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 1000;
  text-transform: uppercase;
}
.mission-body p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.42;
}
.xp-box { text-align: right; }
.xp-box small {
  display: block;
  color: #a9a5c1;
  font-size: 11px;
  margin-bottom: 6px;
}
.xp-box b {
  display: block;
  color: var(--cyan);
  font-size: 18px;
}
.mission-progress { height: 7px; }
.mission-panel footer {
  margin-top: 12px;
  color: #c1bdd5;
  font-size: 13px;
}

.ranking-panel header a {
  margin-left: auto;
  color: var(--cyan);
  font-size: 11px;
  text-decoration: none;
  font-weight: 900;
}
.podium-list {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 0;
  align-items: end;
  margin-top: 18px;
}
.podium-item {
  position: relative;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.podium-item:first-child { border-left: 0; }
.podium-item > span {
  position: absolute;
  top: -5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1c1630;
  border: 1px solid var(--gold);
  font-size: 13px;
  font-weight: 1000;
}
.podium-item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 206, 79, 0.38);
  margin-top: 18px;
}
.podium-2,
.podium-3 { padding-top: 12px; }
.podium-1 { transform: translateY(-8px); }
.podium-1 img {
  width: 66px;
  height: 66px;
}
.podium-item strong {
  margin-top: 10px;
  font-size: 14px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.podium-item b {
  margin-top: 6px;
  color: var(--gold);
  font-size: 16px;
}
.empty-ranking {
  grid-column: 1 / -1;
  text-align: center;
  color: #bcb7d2;
}
.your-position {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: #b6b1ca;
}
.your-position b { color: var(--cyan); }

.diamonds-banner-next {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-color: rgba(255, 66, 216, 0.25);
  background:
    radial-gradient(circle at 100% 18%, rgba(139, 76, 255, 0.24), transparent 35%),
    linear-gradient(135deg, rgba(48, 10, 60, 0.92), rgba(8, 9, 30, 0.96));
}
.diamonds-banner-next::before {
  content: "";
  position: absolute;
  inset: auto -10% -36% -10%;
  height: 55%;
  background: radial-gradient(circle, rgba(255, 66, 216, 0.16), transparent 60%);
}
.diamonds-banner-next div {
  position: relative;
  z-index: 2;
  max-width: 68%;
}
.diamonds-banner-next h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.08;
  font-style: italic;
}
.diamonds-banner-next p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.42;
  color: #ddd7ee;
}
.diamonds-banner-next span {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 8px 16px 8px 16px;
  border: 1px solid rgba(255, 90, 225, 0.65);
  background: rgba(255, 66, 216, 0.16);
  font-weight: 1000;
  box-shadow: 0 0 18px rgba(255, 66, 216, 0.12);
}
.diamonds-banner-next img {
  position: absolute;
  right: -14px;
  bottom: -22px;
  width: 42%;
  max-height: 198px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0, 214, 255, 0.18));
}

.home-next-body .bottom-nav {
  background: linear-gradient(180deg, rgba(8, 11, 28, 0.98), rgba(5, 8, 23, 0.98));
  border-top: 1px solid rgba(0, 214, 255, 0.18);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
}

.home-next-body footer.site-footer,
.home-next-body .site-footer {
  opacity: 0.9;
  padding-top: 12px;
}

@media (max-width: 1320px) {
  .hero-next {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 26px;
  }
  .hero-character {
    position: absolute;
    right: 2%;
    top: 50px;
    opacity: 0.48;
    min-height: 0;
    width: 40%;
    justify-content: flex-end;
    pointer-events: none;
  }
  .hero-copy { max-width: 640px; }
  .player-compact-card { margin-top: 10px; }
  .home-actions-next,
  .home-lower-grid { grid-template-columns: 1fr 1fr; }
  .diamonds-banner-next { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .home-next-header { padding: 12px 14px; }
  .home-brand span { font-size: 25px; }
  .home-brand small { font-size: 9px; }
  .top-chip--score { display: none; }
  .hero-next {
    padding: 20px 18px 20px;
    min-height: auto;
  }
  .hero-copy h1 { font-size: 54px; }
  .hero-copy p { font-size: 16px; }
  .hero-cta {
    width: 100%;
    min-width: 0;
  }
  .player-main-row {
    grid-template-columns: auto 1fr;
  }
  .player-stats-mini {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
  .home-actions-next { grid-template-columns: 1fr; }
  .next-action-card > div { max-width: 60%; }
  .home-lower-grid { grid-template-columns: 1fr; }
  .live-card {
    flex-basis: 280px;
    height: 136px;
  }
}

@media (max-width: 560px) {
  .home-next-body .page-content { padding: 14px 14px 138px; }
  .home-top-actions { gap: 8px; }
  .top-chip {
    height: 40px;
    padding: 0 10px;
  }
  .top-chip--icon { width: 40px; }
  .hero-kicker { margin-bottom: 14px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 15px; }
  .hero-character { display: none; }
  .player-main-row { grid-template-columns: 1fr; }
  .player-stats-mini { grid-template-columns: 1fr 1fr; }
  .player-stats-mini div { padding: 14px 10px; }
  .player-stats-mini b { font-size: 18px; }
  .next-action-card {
    min-height: 170px;
    padding: 18px;
  }
  .next-action-card > div {
    max-width: 62%;
    padding-top: 34px;
  }
  .next-action-card h3 { font-size: 20px; }
  .next-action-card p { font-size: 14px; }
  .next-action-card img {
    width: 42%;
    max-height: 130px;
  }
  .next-action-card--watch img { width: 49%; }
  .live-card {
    flex-basis: 245px;
    height: 124px;
  }
  .mission-panel,
  .ranking-panel,
  .diamonds-banner-next {
    min-height: 0;
    padding: 18px;
  }
  .diamonds-banner-next div { max-width: 74%; }
  .diamonds-banner-next h3 { font-size: 18px; }
  .diamonds-banner-next img {
    width: 46%;
    right: -22px;
    opacity: 0.92;
  }
}
