.skybound-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, #7dd3fc 0%, #dbeafe 45%, #93c5fd 100%);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  user-select: none;
  touch-action: manipulation;
}

.skybound-stage * {
  box-sizing: border-box;
}

.skybound-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
}

.skybound-bank {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.skybound-chip {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, .7);
  backdrop-filter: blur(6px);
}

.skybound-world {
  position: absolute;
  inset: 58px 0 96px;
  overflow: hidden;
}

.skybound-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.55) 0 50px, transparent 55px),
    radial-gradient(circle at 75% 16%, rgba(255,255,255,.45) 0 42px, transparent 47px),
    linear-gradient(180deg, rgba(255,255,255,.2), transparent 40%);
}

.skybound-camera {
  position: absolute;
  inset: 0;
}

.skybound-layer {
  position: absolute;
  inset: 0;
}

.skybound-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  height: 120px;
  background:
    radial-gradient(circle at 10% 100%, #86efac 0 90px, transparent 92px),
    radial-gradient(circle at 35% 100%, #4ade80 0 110px, transparent 112px),
    radial-gradient(circle at 65% 100%, #22c55e 0 95px, transparent 97px),
    radial-gradient(circle at 90% 100%, #16a34a 0 100px, transparent 102px);
  opacity: .8;
}

.skybound-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background:
    linear-gradient(180deg, #92400e 0 12px, #713f12 12px 100%);
  box-shadow: inset 0 10px 0 rgba(255,255,255,.08);
}

.skybound-ground::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background: linear-gradient(180deg, #65a30d, #4d7c0f);
}

.skybound-platform,
.skybound-block,
.skybound-coin,
.skybound-enemy,
.skybound-player,
.skybound-goal {
  position: absolute;
}

.skybound-platform,
.skybound-block {
  border-radius: 10px;
  background: linear-gradient(180deg, #f59e0b, #b45309);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}

.skybound-block {
  border-radius: 8px;
  background: linear-gradient(180deg, #fb923c, #c2410c);
}

.skybound-coin {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff7bf, #facc15 60%, #eab308 100%);
  box-shadow: 0 0 14px rgba(250,204,21,.45);
}

.skybound-enemy {
  width: 34px;
  height: 28px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #ef4444, #991b1b);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}

.skybound-enemy::before,
.skybound-enemy::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.skybound-enemy::before { left: 8px; }
.skybound-enemy::after { right: 8px; }

.skybound-player {
  width: 34px;
  height: 40px;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.skybound-player-body {
  position: absolute;
  inset: 8px 4px 0;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #f9a8d4, #ec4899);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.14);
}

.skybound-player-head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 22px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fbcfe8;
}

.skybound-goal {
  width: 18px;
  height: 86px;
  background: linear-gradient(180deg, #e5e7eb, #9ca3af);
}

.skybound-goal::after {
  content: "🏁";
  position: absolute;
  left: 12px;
  top: -4px;
  font-size: 24px;
}

.skybound-log {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 106px;
  z-index: 42;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(6px);
  font-size: 13px;
}

.skybound-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .28);
  text-align: center;
}

.skybound-overlay.hidden {
  display: none;
}

.skybound-overlay-card {
  width: min(92vw, 360px);
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  color: #1f2937;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

.skybound-overlay-card h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.skybound-overlay-card p {
  margin: 0 0 14px;
}

.skybound-overlay-card button {
  border: 0;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
}

.skybound-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 12px;
}

.skybound-btn {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: rgba(30, 41, 59, .92);
}

.skybound-btn.primary {
  background: linear-gradient(180deg, #22c55e, #15803d);
}

.skybound-btn.secondary {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
}
