.slot-ui {
  position: relative;
  z-index: 1;
  color: #eef2ef;
}

.slot-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.slot-meter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 242, 239, 0.7);
}

.slot-meter strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.45rem;
  color: #b8f255;
  text-shadow: 0 0 18px rgba(184, 242, 85, 0.55);
  letter-spacing: 0;
  text-transform: none;
}

.slot-frame {
  background: linear-gradient(180deg, rgba(184, 242, 85, 0.15), transparent 30%), #101a17;
  border: 2px solid rgba(184, 242, 85, 0.45);
  box-shadow: 0 0 30px rgba(184, 242, 85, 0.2), inset 0 0 40px rgba(0, 0, 0, 0.45);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.slot-reel {
  height: 170px;
  overflow: hidden;
  background: #0a1210;
  border: 1px solid rgba(184, 242, 85, 0.25);
  position: relative;
  box-shadow: inset 0 0 24px rgba(184, 242, 85, 0.08);
}

.slot-reel.is-glow {
  box-shadow: inset 0 0 28px rgba(184, 242, 85, 0.35), 0 0 22px rgba(184, 242, 85, 0.35);
  border-color: #b8f255;
}

.slot-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.1s linear;
}

.slot-symbol {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: #b8f255;
  text-shadow: 0 0 22px rgba(184, 242, 85, 0.65);
}

.slot-message {
  min-height: 1.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #b8f255;
  text-shadow: 0 0 16px rgba(184, 242, 85, 0.45);
}

.slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.game-btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.9rem 1.4rem;
  background: #b8f255;
  color: #1a2e0e;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 94% 100%, 0 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 20px rgba(184, 242, 85, 0.35);
}

.game-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(184, 242, 85, 0.55);
}

.game-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.game-btn-ghost {
  background: transparent;
  color: #eef2ef;
  border: 1.5px solid rgba(238, 242, 239, 0.35);
  box-shadow: none;
}

.bj-table {
  position: relative;
  z-index: 1;
  color: #eef2ef;
}

.bj-felt {
  background: radial-gradient(ellipse at center, #1f4a3d 0%, #123328 60%, #0d241c 100%);
  border: 2px solid rgba(184, 242, 85, 0.35);
  border-radius: 50% / 18%;
  min-height: 420px;
  padding: 1.5rem 1rem 2rem;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(184, 242, 85, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.bj-hand {
  text-align: center;
}

.bj-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238, 242, 239, 0.65);
  margin-bottom: 0.75rem;
}

.bj-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-height: 110px;
}

.bj-card {
  width: 72px;
  height: 104px;
  background: linear-gradient(160deg, #f7f9f7, #dce4de);
  color: #14201c;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 12px rgba(184, 242, 85, 0.15);
  animation: cardIn 0.35s ease both;
}

.bj-card.red {
  color: #8b2e2e;
}

.bj-card.back {
  background: linear-gradient(145deg, #14201c, #1f332c);
  color: #b8f255;
  border: 1px solid rgba(184, 242, 85, 0.4);
}

.bj-card span {
  font-size: 1.35rem;
  line-height: 1;
}

.bj-card small {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.bj-score {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #b8f255;
  text-shadow: 0 0 12px rgba(184, 242, 85, 0.45);
}

.bj-status {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  min-height: 1.5rem;
  margin: 1rem 0;
  color: #b8f255;
  text-shadow: 0 0 14px rgba(184, 242, 85, 0.4);
}

.bj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.roulette-ui {
  position: relative;
  z-index: 1;
  color: #eef2ef;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.roulette-wheel-wrap {
  position: relative;
  width: min(340px, 100%);
  margin: 0 auto;
  aspect-ratio: 1;
}

.roulette-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid #b8f255;
  box-shadow: 0 0 40px rgba(184, 242, 85, 0.35), inset 0 0 30px rgba(0, 0, 0, 0.5);
  background: conic-gradient(
    #14201c 0deg 18deg,
    #8b2e2e 18deg 36deg,
    #14201c 36deg 54deg,
    #8b2e2e 54deg 72deg,
    #14201c 72deg 90deg,
    #8b2e2e 90deg 108deg,
    #14201c 108deg 126deg,
    #8b2e2e 126deg 144deg,
    #14201c 144deg 162deg,
    #8b2e2e 162deg 180deg,
    #14201c 180deg 198deg,
    #8b2e2e 198deg 216deg,
    #14201c 216deg 234deg,
    #8b2e2e 234deg 252deg,
    #14201c 252deg 270deg,
    #8b2e2e 270deg 288deg,
    #14201c 288deg 306deg,
    #8b2e2e 306deg 324deg,
    #14201c 324deg 342deg,
    #b8f255 342deg 360deg
  );
  transition: transform 4s cubic-bezier(0.12, 0.75, 0.12, 1);
  position: relative;
}

.roulette-wheel::after {
  content: '';
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, #1f332c, #0f1815);
  border: 2px solid rgba(184, 242, 85, 0.45);
  box-shadow: 0 0 20px rgba(184, 242, 85, 0.25);
}

.roulette-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid #b8f255;
  filter: drop-shadow(0 0 8px rgba(184, 242, 85, 0.8));
  z-index: 2;
}

.roulette-panel h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  color: #b8f255;
}

.roulette-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.roulette-choice {
  border: 1.5px solid rgba(238, 242, 239, 0.3);
  background: transparent;
  color: #eef2ef;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
}

.roulette-choice.is-active {
  border-color: #b8f255;
  background: rgba(184, 242, 85, 0.15);
  color: #b8f255;
  box-shadow: 0 0 16px rgba(184, 242, 85, 0.25);
}

.roulette-result {
  min-height: 1.5rem;
  margin: 1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: #b8f255;
  text-shadow: 0 0 14px rgba(184, 242, 85, 0.4);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 767px) {
  .slot-reel {
    height: 120px;
  }

  .slot-symbol {
    height: 120px;
    font-size: 2.2rem;
  }

  .roulette-ui {
    grid-template-columns: 1fr;
  }

  .bj-felt {
    border-radius: 24px;
    min-height: 360px;
  }
}
