.gp-shell {
  display: grid;
  gap: 1rem;
}

.gp-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.gp-stat {
  min-width: 7.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  background: rgba(8, 11, 16, 0.75);
}

.gp-stat span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
  margin-bottom: 0.2rem;
}

.gp-stat strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: #f4efe6;
}

.gp-message {
  min-height: 1.5rem;
  color: #e85d4c;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gp-actions .btn-nol:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.reels-frame {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #171c27, #0b0e14);
  border: 1px solid rgba(232, 93, 76, 0.4);
  box-shadow: inset 0 0 30px rgba(232, 93, 76, 0.12), 0 0 24px rgba(232, 93, 76, 0.18);
}

.reel {
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  background: #05070b;
  border: 1px solid rgba(244, 239, 230, 0.12);
  position: relative;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.1s linear;
}

.reel-symbol {
  height: 170px;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: #f4efe6;
  text-shadow: 0 0 18px rgba(232, 93, 76, 0.65);
}

.reel-symbol i {
  filter: drop-shadow(0 0 10px rgba(232, 93, 76, 0.7));
}

.reels-frame.is-glow {
  animation: gpPulse 0.9s ease;
}

.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-height: 140px;
  align-items: center;
}

.card-fan {
  width: 76px;
  height: 110px;
  border-radius: 10px;
  border: 1px solid rgba(244, 239, 230, 0.25);
  background: linear-gradient(160deg, #f7f1e8, #e7d9c5);
  color: #1a1320;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.45rem 0.5rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(232, 93, 76, 0.15);
  animation: cardIn 0.35s ease both;
}

.card-fan.red {
  color: #c94839;
}

.card-fan.back {
  background:
    radial-gradient(circle at center, rgba(232, 93, 76, 0.55), transparent 55%),
    linear-gradient(145deg, #2a3344, #121722);
  color: #f4efe6;
  align-items: center;
  justify-content: center;
}

.hand-label {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.6);
}

.wheel-wrap {
  position: relative;
  width: min(100%, 340px);
  margin: 0.5rem auto 1rem;
  aspect-ratio: 1;
}

.wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(244, 239, 230, 0.12), 0 0 35px rgba(232, 93, 76, 0.35);
}

.wheel-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #e85d4c;
  filter: drop-shadow(0 0 8px rgba(232, 93, 76, 0.8));
  z-index: 2;
}

.wheel-center {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, #f4efe6, #d5cab8);
  box-shadow: 0 0 16px rgba(244, 239, 230, 0.45);
  z-index: 2;
}

@keyframes gpPulse {
  0%,
  100% {
    box-shadow: inset 0 0 30px rgba(232, 93, 76, 0.12), 0 0 24px rgba(232, 93, 76, 0.18);
  }
  50% {
    box-shadow: inset 0 0 40px rgba(232, 93, 76, 0.28), 0 0 40px rgba(232, 93, 76, 0.4);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 575.98px) {
  .reel {
    height: 120px;
  }

  .reel-symbol {
    height: 120px;
    font-size: 2rem;
  }

  .card-fan {
    width: 64px;
    height: 94px;
  }
}
