/* Roulette - Vertical Scroll */

.roulette-wrapper {
  position: relative;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
}

.roulette-scroll-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 240px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(26, 32, 56, 0.96),
    rgba(10, 14, 30, 0.96)
  );
  border: 2px solid rgba(112, 130, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.roulette-scroll-mask-top,
.roulette-scroll-mask-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 5;
  pointer-events: none;
}

.roulette-scroll-mask-top {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--tg-bg-soft) 0%,
    rgba(12, 16, 28, 0.8) 50%,
    transparent 100%
  );
}

.roulette-scroll-mask-bottom {
  bottom: 0;
  background: linear-gradient(
    to top,
    var(--tg-bg-soft) 0%,
    rgba(12, 16, 28, 0.8) 50%,
    transparent 100%
  );
}

.roulette-scroll-track {
  position: relative;
  width: 100%;
  padding: 80px 0;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.roulette-item {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--tg-text);
  text-align: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.1),
    rgba(75, 159, 255, 0.1)
  );
  transition: background 0.2s ease, transform 0.2s ease;
}

.roulette-item:nth-child(odd) {
  background: linear-gradient(
    135deg,
    rgba(26, 32, 56, 0.6),
    rgba(10, 14, 30, 0.6)
  );
}

.roulette-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 80px;
  border-top: 3px solid var(--tg-accent);
  border-bottom: 3px solid var(--tg-accent);
  background: rgba(88, 101, 242, 0.15);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
  z-index: 10;
  pointer-events: none;
  border-radius: 8px;
}

.roulette-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: auto;
}

.roulette-blur-message {
  text-align: center;
  padding: 24px;
  background: rgba(26, 32, 56, 0.95);
  border-radius: 16px;
  border: 2px solid rgba(112, 130, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  max-width: 280px;
}

.roulette-blur-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--tg-text);
  margin-bottom: 12px;
}

.roulette-blur-text {
  font-size: 15.4px; /* +10% от 14px */
  color: var(--tg-text-soft);
  margin-bottom: 8px;
  line-height: 1.5;
}

.roulette-blur-date {
  font-size: 20px;
  font-weight: 600;
  color: var(--tg-accent);
  margin-top: 8px;
}

.roulette-indicator::before,
.roulette-indicator::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.roulette-indicator::before {
  top: -10px;
  border-bottom: 10px solid var(--tg-accent);
}

.roulette-indicator::after {
  bottom: -10px;
  border-top: 10px solid var(--tg-accent);
}

