/* Smash Blast Party marketing — sky party arcade */

:root {
  --sky: #4eb7ff;
  --sky-deep: #1e7ad8;
  --sky-soft: #9ad6ff;
  --foam: #f4fbff;
  --ink: #0b2a55;
  --muted: #3d5f88;
  --sun: #ffd24a;
  --hot: #ff3d9a;
  --crystal: #6ef0ff;
  --grass: #5ed96a;
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", "Avenir Next", system-ui, sans-serif;
  --shell: 70rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, #c8ecff 0%, transparent 55%),
    linear-gradient(180deg, #8fd0ff 0%, #5cb8ff 38%, #3ea0f0 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sky-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-family: var(--display);
  font-weight: 800;
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1rem;
  background: var(--hot);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Floating sky decor */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.cloud {
  position: absolute;
  width: 180px;
  height: 70px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  filter: blur(0.5px);
  animation: cloudDrift 28s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud::before {
  width: 70px;
  height: 70px;
  left: 24px;
  top: -34px;
}

.cloud::after {
  width: 96px;
  height: 96px;
  right: 20px;
  top: -48px;
}

.cloud--a { top: 12%; left: -10%; animation-duration: 34s; }
.cloud--b { top: 28%; left: 40%; width: 220px; opacity: 0.45; animation-duration: 42s; animation-delay: -12s; }
.cloud--c { top: 62%; left: 70%; width: 160px; opacity: 0.4; animation-duration: 38s; animation-delay: -20s; }

.confetti {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 2px;
  opacity: 0.75;
  animation: confettiFall 11s linear infinite;
}

.confetti--1 { left: 8%; top: -10%; background: var(--hot); animation-delay: 0s; }
.confetti--2 { left: 22%; top: -20%; background: var(--sun); animation-delay: -2s; width: 8px; height: 12px; }
.confetti--3 { left: 55%; top: -15%; background: var(--crystal); animation-delay: -4s; }
.confetti--4 { left: 78%; top: -25%; background: var(--grass); animation-delay: -6s; width: 9px; height: 14px; }
.confetti--5 { left: 90%; top: -18%; background: #ff6b3d; animation-delay: -1s; }

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(35vw); }
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  100% { transform: translateY(110vh) rotate(260deg); opacity: 0; }
}

/* Top bar */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0.85rem 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.top.is-solid {
  background: rgba(78, 183, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(11, 42, 85, 0.18);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(11, 42, 85, 0.2);
}

.mark img {
  border-radius: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.65),
    0 6px 16px rgba(11, 42, 85, 0.28);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top__nav a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(11, 42, 85, 0.2);
}

.top__cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe27a, var(--sun));
  color: #7a3b00 !important;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.55),
    0 8px 18px rgba(255, 210, 74, 0.45);
  text-shadow: none !important;
}

.top__cta:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

/* Full-bleed hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--sky-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(30, 122, 216, 0.35) 0%,
      rgba(30, 122, 216, 0.05) 36%,
      rgba(11, 42, 85, 0.35) 68%,
      rgba(11, 42, 85, 0.88) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 0 3.25rem;
  max-width: 38rem;
}

.hero__brand {
  font-size: clamp(3rem, 9vw, 5.2rem);
  color: #fff;
  text-shadow:
    0 3px 0 #d62828,
    0 8px 24px rgba(11, 42, 85, 0.45);
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 0.85rem 0 1.35rem;
  color: rgba(244, 251, 255, 0.94);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  max-width: 28rem;
  text-shadow: 0 2px 10px rgba(11, 42, 85, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  font-weight: 800;
  text-decoration: none !important;
  border-radius: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.btn span {
  line-height: 1.15;
  text-align: start;
}

.btn--play {
  color: #fff;
  background: linear-gradient(180deg, #ff5eb0, var(--hot) 55%, #d01872);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(255, 61, 154, 0.42);
}

.btn--play:hover {
  transform: translateY(1px);
  filter: brightness(1.05);
}

.btn--soon {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(11, 42, 85, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: default;
  backdrop-filter: blur(8px);
}

.motion-rise {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-rise--2 { animation-delay: 0.12s; }
.motion-rise--3 { animation-delay: 0.24s; }

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}

/* Features */
.features {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
}

.features__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.35rem 1.2rem 1.45rem;
  background: rgba(244, 251, 255, 0.82);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(11, 42, 85, 0.12);
  backdrop-filter: blur(10px);
}

.feature__orb {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  box-shadow:
    inset 0 -8px 14px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(11, 42, 85, 0.15);
}

.feature__orb--ball {
  background: linear-gradient(
    180deg,
    #9b5cff 0%,
    #3d8bff 22%,
    #4adf6a 44%,
    #ff4d4d 66%,
    #ffd24a 100%
  );
}

.feature__orb--crystal {
  background: linear-gradient(145deg, #e9ffff, var(--crystal) 45%, #1aa8d8);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  border-radius: 0;
}

.feature__orb--party {
  background:
    radial-gradient(circle at 30% 30%, #fff 0 12%, transparent 13%),
    linear-gradient(135deg, var(--hot), var(--sun));
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

/* How */
.how {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3.5rem, 9vw, 5.5rem);
}

.how__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .how__grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hot);
}

.how__copy h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  text-shadow: 0 3px 0 rgba(11, 42, 85, 0.25);
  margin-bottom: 0.75rem;
}

.how__copy p {
  margin: 0;
  color: rgba(244, 251, 255, 0.9);
  font-weight: 700;
  max-width: 28rem;
}

.how__beats {
  list-style: none;
  margin: 0;
  padding: 1rem 1.15rem;
  background: rgba(244, 251, 255, 0.88);
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(11, 42, 85, 0.14);
}

.how__beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(11, 42, 85, 0.08);
}

.how__beats li:last-child {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}

.how__beats h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.how__beats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.how__num {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe27a, var(--sun));
  color: #7a3b00;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(255, 210, 74, 0.45);
}

/* Close */
.close {
  padding: 0 0 clamp(4rem, 10vw, 6rem);
  text-align: center;
}

.close__inner {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 2.25rem 1.5rem;
  background: rgba(244, 251, 255, 0.9);
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 48px rgba(11, 42, 85, 0.16);
}

.close__icon {
  border-radius: 26px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.85),
    0 14px 28px rgba(11, 42, 85, 0.22);
}

.close h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--ink);
}

.close p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  max-width: 26rem;
  font-weight: 700;
}

/* Footer */
.foot {
  padding: 2rem 0 2.5rem;
  background: rgba(11, 42, 85, 0.88);
  color: rgba(244, 251, 255, 0.88);
}

.foot__inner {
  display: grid;
  gap: 1rem;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
}

.foot__brand img {
  border-radius: 8px;
}

.foot__by {
  font-family: var(--body);
  font-weight: 600;
  color: rgba(244, 251, 255, 0.55);
  font-size: 0.9rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.foot__links a {
  color: rgba(244, 251, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.foot__note {
  margin: 0;
  color: rgba(244, 251, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .top__nav a:not(.top__cta) {
    display: none;
  }

  .mark span {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .motion-rise,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
