/* Limited Free Spin Season — Spin page header + modals */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

.fss-season-hero[hidden] {
  display: none !important;
}

.fss-season-hero {
  position: relative;
  margin: 0 0 14px;
  padding: 14px 16px 10px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.fss-season-hero--ended {
  border-color: rgba(251, 191, 36, 0.35);
  background: #ffffff;
}

.fss-season-hero__glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 70% 30%, rgba(15, 23, 42, 0.04), transparent 55%);
  pointer-events: none;
}

.fss-season-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fss-season-hero__copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.fss-season-hero__label {
  margin: 0 0 2px;
  font-family: "Bebas Neue", "Outfit", sans-serif;
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.95;
  color: #0f172a;
  text-shadow: none;
}

.fss-season-hero--ended .fss-season-hero__label {
  color: #b45309;
  text-shadow: none;
}

.fss-season-hero__name {
  margin: 0 0 6px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1e293b;
  text-transform: capitalize;
}

.fss-season-hero__slots {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
}

.fss-season-hero__art {
  flex: 0 0 auto;
  width: clamp(96px, 28vw, 130px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fss-season-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
  animation: fssHeroFloat 3.2s ease-in-out infinite alternate;
}

@keyframes fssHeroFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

@media (max-width: 380px) {
  .fss-season-hero {
    padding: 12px 12px 8px;
  }
  .fss-season-hero__art {
    width: 88px;
  }
}

.free-spin-season-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 45%, #fef3c7 100%);
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.12);
  position: relative;
  overflow: hidden;
}

.free-spin-season-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.free-spin-season-card--closed {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: rgba(100, 116, 139, 0.35);
  box-shadow: none;
}

.free-spin-season-card--used {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: rgba(34, 197, 94, 0.35);
}

.free-spin-season-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c2410c;
  margin-bottom: 4px;
}

.free-spin-season-card__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.free-spin-season-card__sub {
  margin: 0 0 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}

.free-spin-season-card__progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 6px;
}

.free-spin-season-card__progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #ea580c);
  transition: width 0.6s ease;
}

.free-spin-season-card--closed .free-spin-season-card__progress-fill {
  background: linear-gradient(90deg, #94a3b8, #64748b);
}

.free-spin-season-card__progress-text {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.free-spin-season-card__remaining {
  font-size: 13px;
  font-weight: 800;
  color: #c2410c;
  margin-bottom: 10px;
}

.free-spin-season-card--closed .free-spin-season-card__remaining {
  color: #64748b;
}

.free-spin-season-cta {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.free-spin-season-cta:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

.free-spin-season-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.free-spin-season-card__note {
  margin: 8px 0 0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

.free-spin-season-card__status {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.free-spin-season-inactive {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.spin-section-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.fss-game-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000010;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fssFadeIn 0.35s ease;
}

.fss-game-modal {
  position: relative;
  width: min(380px, 92vw);
  padding: 24px 20px 18px;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.2), 0 20px 50px rgba(0, 0, 0, 0.45);
}

.fss-game-modal--ended {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.15), 0 20px 50px rgba(0, 0, 0, 0.45);
}

.fss-game-modal__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(56, 189, 248, 0.03) 2px,
    rgba(56, 189, 248, 0.03) 4px
  );
  pointer-events: none;
  animation: fssScan 6s linear infinite;
}

.fss-game-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
}

.fss-game-modal--ended .fss-game-modal__eyebrow {
  color: #fbbf24;
}

.fss-game-modal__season {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #f0f9ff;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.fss-game-modal__season--ended {
  color: #fde68a;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

.fss-game-modal__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #cbd5e1;
}

.fss-game-modal__body {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #94a3b8;
}

.fss-game-modal__body--glow {
  color: #e2e8f0;
  font-weight: 700;
}

.fss-game-modal__slots {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
}

.fss-game-modal__slots span {
  color: #38bdf8;
  font-size: 14px;
}

.fss-game-modal__actions {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.fss-game-modal__btn {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
}

.fss-game-modal__btn--primary {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.35);
}

.fss-game-modal__btn--ghost {
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

@keyframes fssFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fssScan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.fss-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000010;
  background: rgba(8, 10, 17, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.fss-modal {
  width: min(400px, 92vw);
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.fss-modal__badge {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #b45309;
}

.fss-modal__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  color: #0f172a;
}

.fss-modal__body {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.45;
  color: #475569;
}

.fss-modal__body--sub {
  margin-bottom: 16px;
}

.fss-modal__actions {
  display: grid;
  gap: 8px;
}

.fss-modal__btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: none;
}

.fss-modal__btn--primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}

.fss-modal__btn--ghost {
  background: #f1f5f9;
  color: #334155;
}

@media (max-width: 480px) {
  .free-spin-season-card {
    padding: 12px 14px;
  }
  .free-spin-season-card__title {
    font-size: 16px;
  }
}
