.page-home-v2 {
  --home-bg: #060b13;
  --home-surface: #0b1420;
  --home-surface-2: #0f1b2a;
  --home-line: rgba(158, 192, 225, .18);
  --home-blue: #35b7ff;
  --home-red: #ff4f6d;
  --home-gold: #ffd66b;
  min-width: 320px;
  color: #f6f8ff;
  background: var(--home-bg);
}

.page-home-v2 .nav {
  border-bottom-color: rgba(158, 192, 225, .14);
  background: rgba(4, 9, 16, .9);
  backdrop-filter: blur(18px);
}

.home-v2-hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + 88px) 0 42px;
  border-bottom: 1px solid var(--home-line);
  background: #07101b;
}

.home-v2-hero::before,
.home-v2-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.home-v2-hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 16, .99) 0%, rgba(4, 10, 18, .9) 43%, rgba(4, 10, 18, .43) 76%, rgba(4, 10, 18, .7) 100%),
    linear-gradient(0deg, #060b13 0%, transparent 40%);
}

.home-v2-hero::after {
  width: 54vw;
  height: 54vw;
  left: -30vw;
  top: 5%;
  border-radius: 50%;
  background: rgba(0, 160, 255, .15);
  filter: blur(100px);
}

.home-v2-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('/img/arena/replay-stadium-v1.webp') 64% center / cover no-repeat;
  transform: scale(1.03);
}

.home-v2-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .52fr);
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
}

.home-v2-hero-copy {
  max-width: 820px;
}

.home-v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-v2-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.home-v2-hero h1 {
  max-width: 780px;
  margin: 22px 0 22px;
  font-size: clamp(3.4rem, 6vw, 6.25rem);
  line-height: .94;
  text-wrap: balance;
  text-shadow: 0 15px 48px rgba(0, 0, 0, .75);
}

.home-v2-hero-copy > p {
  max-width: 690px;
  color: #c6d1e2;
  font-size: clamp(1rem, 1.65vw, 1.22rem);
  line-height: 1.65;
}

.home-v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-v2-release-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #b9c5d7;
  font-size: .77rem;
}

.home-v2-release-note span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 15px rgba(255, 214, 107, .8);
}

.home-v2-hero-panel {
  position: relative;
  min-height: 430px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 42px;
  border: 1px solid rgba(182, 210, 237, .22);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(10, 25, 40, .86), rgba(6, 13, 23, .75));
  box-shadow: inset 0 0 80px rgba(53, 183, 255, .06), 0 30px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(12px);
}

.home-v2-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(53, 183, 255, .12), transparent 45%, rgba(255, 79, 109, .1));
  pointer-events: none;
}

.home-v2-hero-panel img {
  position: relative;
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55));
}

.home-v2-hero-panel > span {
  position: relative;
  color: var(--home-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-v2-hero-panel > strong {
  position: relative;
  max-width: 340px;
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  line-height: 1.08;
}

.home-v2-hero-panel ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.home-v2-hero-panel li {
  padding: 8px 11px;
  border: 1px solid rgba(158, 192, 225, .2);
  border-radius: 999px;
  color: #d2ddeb;
  background: rgba(255, 255, 255, .035);
  font-size: .72rem;
  font-weight: 700;
}

.home-v2-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 60px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: var(--home-line);
  overflow: hidden;
}

.home-v2-stats div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 17px 20px;
  background: rgba(6, 13, 22, .9);
}

.home-v2-stats strong {
  color: #fff;
  font-size: 1.45rem;
}

.home-v2-stats span {
  color: #9eabc0;
  font-size: .76rem;
}

.home-v2-updates,
.home-v2-tools,
.home-v2-live,
.home-v2-community,
.home-v2-support,
.home-v2-plans {
  padding: clamp(76px, 9vw, 118px) 0;
}

.home-v2-updates {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 79, 109, .08), transparent 30%),
    radial-gradient(circle at 10% 85%, rgba(53, 183, 255, .08), transparent 30%),
    var(--home-bg);
}

.home-v2-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: end;
  gap: 26px 70px;
  margin-bottom: 42px;
}

.home-v2-section-head h2,
.home-v2-live-head h2,
.home-v2-community .battle-community-head h2,
.home-v2-plans h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.02em;
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  line-height: 1;
  text-wrap: balance;
}

.home-v2-section-head > p {
  color: #aab6c9;
  line-height: 1.7;
}

.home-v2-update-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.home-v2-update-card {
  position: relative;
  min-height: 350px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: var(--home-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

.home-v2-update-arena {
  grid-column: span 7;
}

.home-v2-update-safari {
  grid-column: span 5;
}

.home-v2-update-coin,
.home-v2-update-backpack {
  grid-column: span 6;
  min-height: 310px;
  grid-template-columns: minmax(160px, .42fr) minmax(0, 1fr);
  align-items: center;
}

.home-v2-update-art,
.home-v2-update-media {
  position: absolute;
  inset: 0;
}

.home-v2-update-art {
  background:
    linear-gradient(0deg, rgba(5, 11, 19, .98) 0%, rgba(5, 11, 19, .25) 76%),
    url('/img/arena/replay-stadium-v1.webp') center / cover no-repeat;
}

.home-v2-update-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 11, 19, .98) 0%, rgba(5, 11, 19, .25) 76%);
}

.home-v2-update-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-v2-update-symbol {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 34px;
  background: radial-gradient(circle, rgba(53, 183, 255, .12), transparent 66%);
}

.home-v2-update-backpack .home-v2-update-symbol {
  background: radial-gradient(circle, rgba(255, 79, 109, .13), transparent 66%);
}

.home-v2-update-symbol img {
  width: min(100%, 170px);
  height: auto;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .38));
}

.home-v2-update-content {
  position: relative;
  z-index: 1;
  padding: 30px;
}

.home-v2-update-coin .home-v2-update-content,
.home-v2-update-backpack .home-v2-update-content {
  padding-left: 8px;
}

.home-v2-product-status {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-v2-product-status.is-preparing { color: #8ad7ff; background: rgba(53, 183, 255, .1); }
.home-v2-product-status.is-coming { color: #ffe3a0; background: rgba(255, 214, 107, .1); }
.home-v2-product-status.is-private { color: #ff9bad; background: rgba(255, 79, 109, .09); }

.home-v2-product-index {
  float: right;
  color: rgba(255, 255, 255, .28);
  font-family: var(--font-display);
  font-size: .9rem;
}

.home-v2-update-content h3 {
  clear: both;
  margin-top: 22px;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.home-v2-update-content p {
  max-width: 560px;
  margin-top: 9px;
  color: #bac6d8;
  line-height: 1.6;
}

.home-v2-update-content > a {
  display: inline-flex;
  margin-top: 19px;
  color: #8ad7ff;
  font-weight: 800;
  text-decoration: none;
}

.home-v2-replay-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  max-width: 600px;
  margin-top: 18px;
  color: #8291a8;
  font-size: .68rem;
  line-height: 1.5;
}

.home-v2-replay-note a {
  color: #9bb7d3;
}

.home-v2-tools {
  border-block: 1px solid var(--home-line);
  background: #09111c;
}

.home-v2-section-head.is-compact {
  margin-bottom: 30px;
}

.home-v2-tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-v2-tool-grid a {
  min-height: 220px;
  padding: 27px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  background: #0c1623;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-v2-tool-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 183, 255, .42);
  background: #101d2d;
}

.home-v2-tool-grid span {
  color: var(--home-gold);
  font-size: .68rem;
  font-weight: 800;
}

.home-v2-tool-grid h3 {
  margin-top: 38px;
  font-size: 1.35rem;
}

.home-v2-tool-grid p {
  margin-top: 10px;
  color: #9eabc0;
  font-size: .85rem;
  line-height: 1.55;
}

.home-v2-live {
  background: var(--home-bg);
}

.home-v2-live-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr);
  align-items: end;
  gap: 34px 60px;
}

.home-v2-live-head .arena-live-event {
  max-width: none;
  margin: 0;
  border-left-color: var(--home-gold);
  border-radius: 8px;
  background: #0e1825;
}

.page-home-v2 .event-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.page-home-v2 .event-card {
  min-height: 400px;
  border-color: var(--home-line);
  border-radius: 14px;
  background: #0b1420;
}

.page-home-v2 .event-card-media {
  aspect-ratio: 16 / 10;
}

.page-home-v2 .event-card-body {
  padding: 18px 18px 0;
}

.page-home-v2 .event-card-body h3 {
  font-size: 1.1rem;
}

.page-home-v2 .event-card-body p {
  font-size: .76rem;
}

.page-home-v2 .event-card-cta {
  margin: 18px;
}

.home-v2-live-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-v2-community {
  border-top: 1px solid var(--home-line);
  background: #09111c;
}

.home-v2-community .battle-community-head {
  margin-bottom: 30px;
}

.home-v2-community .battle-community-grid article {
  min-height: 220px;
  display: grid;
  align-content: center;
  border-radius: 16px;
}

.home-v2-community .battle-community-grid h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
}

.home-v2-support {
  padding: 0 0 82px;
  border: 0;
  background: #09111c;
}

.home-v2-support .battle-community-support {
  border-radius: 16px;
}

.home-v2-plans {
  border-block: 1px solid var(--home-line);
  background:
    radial-gradient(circle at 15% 50%, rgba(53, 183, 255, .11), transparent 32%),
    radial-gradient(circle at 85% 50%, rgba(255, 79, 109, .1), transparent 32%),
    #0a121e;
}

.home-v2-plans-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px 80px;
}

.home-v2-plans p {
  max-width: 720px;
  margin-top: 13px;
  color: #aab6c9;
}

.home-v2-plans-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-v2-footer {
  background: #050910;
}

@media (max-width: 1120px) {
  .home-v2-hero-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

  .home-v2-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-v2-hero-layout,
  .home-v2-section-head,
  .home-v2-live-head,
  .home-v2-plans-layout {
    grid-template-columns: 1fr;
  }

  .home-v2-hero-panel {
    min-height: 320px;
  }

  .home-v2-update-arena,
  .home-v2-update-safari,
  .home-v2-update-coin,
  .home-v2-update-backpack {
    grid-column: span 6;
  }

  .home-v2-update-coin,
  .home-v2-update-backpack {
    grid-template-columns: 1fr;
  }

  .home-v2-update-symbol {
    min-height: 190px;
    padding: 24px 24px 0;
  }

  .home-v2-update-coin .home-v2-update-content,
  .home-v2-update-backpack .home-v2-update-content {
    padding: 25px;
  }

  .page-home-v2 .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-v2-hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 62px) 0 30px;
  }

  .home-v2-hero::before {
    background:
      linear-gradient(180deg, rgba(4, 9, 16, .66) 0%, rgba(4, 9, 16, .87) 48%, #060b13 100%),
      linear-gradient(90deg, rgba(4, 9, 16, .65), transparent);
  }

  .home-v2-hero-art {
    background-position: 56% center;
  }

  .home-v2-hero h1 {
    font-size: clamp(2.85rem, 13.6vw, 4.25rem);
  }

  .home-v2-hero-actions,
  .home-v2-plans-actions {
    display: grid;
  }

  .home-v2-hero-actions .btn,
  .home-v2-plans-actions .btn {
    width: 100%;
  }

  .home-v2-release-note {
    align-items: flex-start;
  }

  .home-v2-hero-panel {
    min-height: 0;
    padding: 28px 24px;
    border-radius: 18px;
  }

  .home-v2-hero-panel img {
    width: 72px;
    height: 72px;
  }

  .home-v2-stats {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .home-v2-stats div {
    justify-content: flex-start;
  }

  .home-v2-update-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-v2-update-arena,
  .home-v2-update-safari,
  .home-v2-update-coin,
  .home-v2-update-backpack {
    grid-column: auto;
  }

  .home-v2-update-card {
    min-height: 340px;
    border-radius: 16px;
  }

  .home-v2-update-coin,
  .home-v2-update-backpack {
    min-height: 0;
  }

  .home-v2-tool-grid,
  .page-home-v2 .event-grid {
    grid-template-columns: 1fr;
  }

  .home-v2-live-head .arena-live-event {
    grid-template-columns: 1fr;
  }

  .home-v2-live-head .arena-live-event span {
    grid-row: auto;
  }

  .home-v2-community .battle-community-actions,
  .home-v2-community .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2-hero-art {
    transform: none;
  }

  .page-home-v2 *,
  .page-home-v2 *::before,
  .page-home-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
