.suite-shell {
  position: relative;
  border: 2px solid #0f1220;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(31, 107, 255, 0.35), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(255, 210, 63, 0.28), transparent 30%),
    linear-gradient(160deg, #101526 0%, #171f38 45%, #0c101c 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 60px rgba(10, 14, 28, 0.45),
    0 0 40px rgba(31, 107, 255, 0.22);
  color: #f4f7ff;
}

.suite-shell::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 90deg, transparent, rgba(126, 196, 255, 0.08), transparent 35%);
  animation: suite-spin 18s linear infinite;
  pointer-events: none;
}

.suite-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 18, 0.45);
}

.suite-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 63, 0.45);
  background: rgba(255, 210, 63, 0.12);
  color: #ffe58a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.suite-meter {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.suite-meter strong {
  color: #7ef0e4;
  text-shadow: 0 0 12px rgba(126, 240, 228, 0.55);
}

.suite-board {
  position: relative;
  z-index: 2;
  padding: 1.4rem 1.15rem 1.5rem;
}

.suite-status {
  min-height: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  color: rgba(244, 247, 255, 0.86);
}

.suite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.btn-suite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 132px;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f1220;
  background: linear-gradient(135deg, #ffd23f, #ffef9a);
  box-shadow:
    0 0 18px rgba(255, 210, 63, 0.35),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.btn-suite:hover {
  transform: translateY(-1px);
  color: #0f1220;
}

.btn-suite--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f4f7ff;
  border-color: rgba(126, 196, 255, 0.45);
  box-shadow: 0 0 18px rgba(31, 107, 255, 0.25);
}

.btn-suite--ghost:hover {
  color: #fff;
  background: rgba(31, 107, 255, 0.28);
}

.btn-suite:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.reels-frame {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #0a0d18;
  border: 1px solid rgba(126, 196, 255, 0.35);
  box-shadow:
    inset 0 0 30px rgba(31, 107, 255, 0.2),
    0 0 35px rgba(31, 107, 255, 0.25);
}

.reel {
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #151c33, #0b1020);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.55);
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.7s cubic-bezier(0.15, 0.85, 0.25, 1);
}

.reel-symbol {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 18px rgba(126, 240, 228, 0.7);
}

.reel-symbol i {
  filter: drop-shadow(0 0 10px rgba(255, 210, 63, 0.55));
}

.reels-frame.is-glowing {
  animation: pulse-glow 1.1s ease;
}

.card-table {
  display: grid;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}

.hand-row {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(12, 40, 32, 0.55);
  border: 1px solid rgba(126, 240, 228, 0.25);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25), 0 0 24px rgba(20, 160, 120, 0.15);
}

.hand-row h3 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9bffe8;
}

.hand-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-height: 132px;
}

.play-card {
  width: 86px;
  height: 124px;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff, #e8eefc);
  color: #12141c;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28), 0 0 16px rgba(126, 196, 255, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.45rem 0.5rem;
  font-weight: 800;
  animation: card-in 0.35s ease both;
}

.play-card.is-red {
  color: #d64545;
}

.play-card__corner {
  font-size: 0.95rem;
  line-height: 1.1;
}

.play-card__suit {
  text-align: center;
  font-size: 1.7rem;
}

.play-card.is-back {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 210, 63, 0.35), transparent 40%),
    linear-gradient(145deg, #1f6bff, #12307a);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.score-tag {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
}

.wheel-stage {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}

.wheel-wrap {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
}

.wheel-rotor {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid #ffd23f;
  box-shadow:
    0 0 0 8px rgba(15, 18, 32, 0.85),
    0 0 40px rgba(255, 210, 63, 0.35),
    inset 0 0 30px rgba(0, 0, 0, 0.45);
  background: conic-gradient(
    #1f6bff 0 30deg,
    #12141c 30deg 60deg,
    #e85d4c 60deg 90deg,
    #12141c 90deg 120deg,
    #1f6bff 120deg 150deg,
    #12141c 150deg 180deg,
    #e85d4c 180deg 210deg,
    #12141c 210deg 240deg,
    #1f6bff 240deg 270deg,
    #12141c 270deg 300deg,
    #e85d4c 300deg 330deg,
    #12141c 330deg 360deg
  );
  transition: transform 4s cubic-bezier(0.12, 0.75, 0.12, 1);
  position: relative;
}

.wheel-rotor::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.25), transparent 40%),
    #0f1220;
  border: 2px solid rgba(255, 210, 63, 0.55);
  box-shadow: 0 0 24px rgba(31, 107, 255, 0.35);
}

.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #ffd23f;
  filter: drop-shadow(0 0 8px rgba(255, 210, 63, 0.8));
  z-index: 3;
}

.marker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 420px);
}

.marker-btn {
  padding: 0.7rem 0.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
}

.marker-btn.is-active {
  background: rgba(255, 210, 63, 0.2);
  border-color: #ffd23f;
  box-shadow: 0 0 16px rgba(255, 210, 63, 0.35);
  color: #ffe58a;
}

.suite-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244, 247, 255, 0.62);
}

@keyframes suite-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: inset 0 0 30px rgba(31, 107, 255, 0.2), 0 0 35px rgba(31, 107, 255, 0.25);
  }
  50% {
    box-shadow: inset 0 0 40px rgba(255, 210, 63, 0.35), 0 0 55px rgba(255, 210, 63, 0.45);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-4deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@media (max-width: 575.98px) {
  .reel {
    height: 126px;
  }

  .reel-symbol {
    height: 126px;
    font-size: 2.2rem;
  }

  .play-card {
    width: 72px;
    height: 104px;
  }

  .marker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
