.reel-shell,
.court-shell,
.orbit-shell {
  padding: 1.6rem 1.2rem 1.8rem;
}

.reel-sky {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(180deg, #1a1230, #0c0814 70%);
  border: 1px solid var(--line);
}

.reel-sky img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.reel-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(212, 180, 131, 0.18), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.reel-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  max-width: 520px;
  margin: 2.2rem auto 1.2rem;
}

.reel {
  height: 210px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(8, 6, 14, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 0 28px rgba(196, 166, 240, 0.18);
  position: relative;
}

.reel::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 70px;
  height: 70px;
  border-radius: 12px;
  border: 1px solid rgba(212, 180, 131, 0.45);
  box-shadow: 0 0 18px rgba(212, 180, 131, 0.25);
  pointer-events: none;
  z-index: 2;
}

.reel-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.reel-cell {
  height: 70px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 180, 131, 0.55);
}

.reel-status,
.reel-controls {
  position: relative;
  z-index: 2;
}

.reel-status {
  text-align: center;
  color: var(--mist);
  min-height: 1.6em;
  margin-bottom: 1rem;
}

.reel-controls,
.court-controls,
.orbit-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.court-table {
  max-width: 760px;
  margin: 0 auto;
}

.hands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hand-box {
  background: rgba(8, 6, 14, 0.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  min-height: 190px;
}

.hand-box h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 96px;
}

.playing-card {
  width: 62px;
  height: 88px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7f1e8, #e6d7c3);
  color: #2a1b12;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.28rem 0.35rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 0 16px rgba(212, 180, 131, 0.25);
  animation: cardIn 0.35s ease;
}

.playing-card.back {
  background: linear-gradient(145deg, #3a2458, #1a1028);
  color: var(--gold);
  border: 1px solid var(--line);
}

.playing-card.red {
  color: #8a2432;
}

.card-suit {
  text-align: center;
  font-size: 1.2rem;
}

.court-meta {
  text-align: center;
  margin: 1rem 0;
  color: var(--mist);
}

@keyframes cardIn {
  from {
    transform: translateY(10px) rotate(-4deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.orbit-wrap {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1.2rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.wheel-hold {
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto;
}

.wheel {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #d4b483;
  box-shadow: 0 0 40px rgba(212, 180, 131, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.45);
  background: conic-gradient(#2a1a3d 0 30deg, #d4b483 30deg 60deg, #2a1a3d 60deg 90deg, #d4b483 90deg 120deg, #2a1a3d 120deg 150deg, #d4b483 150deg 180deg, #2a1a3d 180deg 210deg, #d4b483 210deg 240deg, #2a1a3d 240deg 270deg, #d4b483 270deg 300deg, #2a1a3d 300deg 330deg, #d4b483 330deg 360deg);
  transition: transform 4.2s cubic-bezier(0.12, 0.7, 0.15, 1);
}

.wheel-core {
  position: absolute;
  inset: 32%;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, #f0ddb8, #8d6a38);
  box-shadow: 0 0 18px rgba(212, 180, 131, 0.7);
}

.wheel-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 16px solid #f4eefc;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 8px rgba(244, 238, 252, 0.7));
}

.orbit-picks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pick {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.pick.is-on,
.pick:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.orbit-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--mist);
}

@media (max-width: 767.98px) {
  .hands,
  .orbit-wrap {
    grid-template-columns: 1fr;
  }
}
