:root {
  --bgTop: #0f1b2c;
  --bgBottom: #1a3f56;
  --panel: rgba(10, 22, 34, 0.9);
  --line: rgba(255, 255, 255, 0.15);
  --text: #edf4e9;
  --muted: #bcc8c3;
  --accentA: #ffbe0b;
  --accentB: #fb5607;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Verdana, "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 190, 11, 0.22), transparent 34%),
    linear-gradient(180deg, var(--bgTop), var(--bgBottom));
}

.homeLink {
  display: inline-block;
  margin: 10px 14px 0;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.shell {
  width: min(1180px, calc(100vw - 20px));
  margin: 0 auto;
  padding: 10px 0 18px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.panel,
.stageWrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.panel {
  padding: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accentA);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 5.3vw, 2.8rem);
  line-height: 0.95;
}

.intro {
  color: var(--muted);
  line-height: 1.5;
}

.statusCard {
  margin: 14px 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.statusCard p {
  margin: 0 0 6px;
}

.statusCard p:last-child {
  margin-bottom: 0;
}

.buttons {
  display: grid;
  gap: 10px;
}

.button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #17212c;
  background: linear-gradient(130deg, var(--accentA), var(--accentB));
}

.button.secondary,
.button.tertiary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stageWrap {
  padding: 10px;
}

.stage {
  position: relative;
  width: min(92vw, 760px);
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.26), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #67d3f7, #3cb7e3 60%, #3bc480);
}

.fruit {
  position: absolute;
  width: clamp(52px, 8vw, 82px);
  height: clamp(52px, 8vw, 82px);
  border: 0;
  border-radius: 999px;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  cursor: pointer;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: rise 1.2s linear forwards;
}

.fruit.pop {
  animation: pop 220ms ease forwards;
}

.spark {
  position: absolute;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff9d6;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: sparkle 550ms ease forwards;
}

@keyframes rise {
  0% {
    transform: translateY(40px) scale(0.85);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateY(-8px) scale(1);
    opacity: 1;
  }
}

@keyframes pop {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes sparkle {
  0% {
    transform: translate(-50%, -20%) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -95%) scale(1.1);
    opacity: 0;
  }
}

@media (max-width: 940px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .stage {
    width: min(95vw, 620px);
  }
}
