.home-slot {
  padding: 64px 0;
}

.slot-machine {
  background: linear-gradient(180deg, #fdf4e3 0%, #fdebd0 40%, #fbe8d6 100%);
  border-radius: 30px;
  box-shadow:
    0 20px 30px rgba(20, 20, 20, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.slot-machine__header {
  margin-bottom: 24px;
}

.slot-machine__title {
  font-size: 32px;
  margin: 0 0 8px;
  color: #7b3f00;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slot-machine__intro {
  margin: 0;
  color: #5f4a2a;
}

.slot-machine__notice {
  color: #9a4d15;
  margin-top: 4px;
  font-weight: 600;
}

.slot-machine__notice.is-hidden {
  display: none;
}

.slot-machine__reels {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 28px;
}

 .slot-machine__reel {
  width: 80%;
  height: 50px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, #fcefd9, #f6c49d);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.slot-machine__reel::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.slot-machine__reel::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.slot-machine__track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

.slot-machine__item {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b3a12;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent);
  line-height: 1;
}

.slot-machine__button {
  background: linear-gradient(135deg, #ffcf99, #ff9f5f);
  color: #4a2c0a;
  border: none;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 15px rgba(255, 159, 95, 0.35);
}

.slot-machine__button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 20px rgba(255, 159, 95, 0.45);
}

.slot-machine__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slot-machine__results {
  margin-top: 28px;
}

.slot-machine__selection {
  margin: 0 0 8px;
  font-weight: 600;
  color: #111;
}

.slot-machine__fallback-message {
  margin: 0 0 16px;
  font-size: 14px;
  color: #475467;
  min-height: 18px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.slot-machine__fallback-message.is-hidden {
  opacity: 0;
}

.slot-machine__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.slot-machine__card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.slot-machine__card-media {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #f3f4f6;
}

.slot-machine__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-machine__placeholder {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
}

.slot-machine__card-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.slot-machine__card-heading {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.slot-machine__card-excerpt {
  margin: 0;
  font-size: 13px;
  color: #475467;
  flex: 1;
}

.slot-machine__card-rating {
  font-size: 12px;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.slot-machine__empty {
  margin: 0;
  font-weight: 600;
  color: #475467;
  text-align: center;
}

@media (max-width: 960px) {
  .slot-machine__reels {
    flex-direction: column;
  }
}
