/* GTAVI INSIDER — Deal of the Day widget
 * Neon-noir Vice City. Mobile-first. Honors prefers-reduced-motion.
 */

#deal-of-the-day { margin: 2rem auto; max-width: 640px; padding: 0 1rem; }

.dotd-card {
  position: relative;
  background: linear-gradient(160deg, #1b1226 0%, #0d0917 60%, #120a1e 100%);
  border: 1px solid #ff2d78;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 0 24px rgba(255, 45, 120, 0.28), inset 0 0 60px rgba(255, 45, 120, 0.06);
  color: #f5f0ff;
  overflow: hidden;
}

.dotd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 60% at 50% -20%, rgba(117, 245, 22, 0.08), transparent 70%);
}

.dotd-live .dotd-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #75f516;
  box-shadow: 0 0 8px #75f516;
  margin-left: 6px;
  animation: dotd-pulse 1.6s ease-in-out infinite;
}

@keyframes dotd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.dotd-kicker {
  font-family: 'Pricedown', 'Bebas Neue', sans-serif;
  letter-spacing: 0.14em;
  font-size: 0.8125rem;
  color: #ff2d78;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.dotd-title {
  font-family: 'Pricedown', 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  line-height: 1.05;
  margin: 0 0 0.4rem;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 45, 120, 0.6);
}

.dotd-partner {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #75f516;
  margin-bottom: 0.75rem;
}

.dotd-blurb {
  font-size: 1rem;
  line-height: 1.55;
  color: #cfc6de;
  margin: 0 0 1.25rem;
}

.dotd-cta {
  display: inline-block;
  font-family: 'Pricedown', 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: #0d0917;
  background: linear-gradient(180deg, #ff5b9a, #ff2d78);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(255, 45, 120, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dotd-cta:hover,
.dotd-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(255, 45, 120, 0.8);
  outline: 2px solid #75f516;
  outline-offset: 3px;
}

.dotd-payout {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  color: #9aa39c;
}

.dotd-countdown {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: #75f516;
  letter-spacing: 0.08em;
}

.dotd-timer { font-variant-numeric: tabular-nums; font-weight: 700; }

.dotd-ftc {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #8b968f;
  border-top: 1px solid rgba(255, 45, 120, 0.25);
  padding-top: 0.75rem;
}

.dotd-ftc a { color: #ff5b9a; }

/* Pending teaser */
.dotd-pending {
  border-color: #4a3a5e;
  box-shadow: 0 0 18px rgba(117, 245, 22, 0.12);
}

.dotd-pending .dotd-kicker { color: #75f516; }

.dotd-pending .dotd-title { text-shadow: none; color: #e8e2f2; }

.dotd-teaser-lock {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  filter: grayscale(0.3);
}

.dotd-teaser-note {
  display: inline-block;
  font-size: 0.8125rem;
  color: #75f516;
  border: 1px dashed #75f516;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.5rem;
}

/* Empty state */
.dotd-empty .dotd-kicker { color: #75f516; }

@media (max-width: 480px) {
  .dotd-card { padding: 1.25rem; }
  .dotd-title { font-size: 1.55rem; }
  .dotd-cta { display: block; text-align: center; }
}

/* Reduced motion: kill pulse + transitions */
@media (prefers-reduced-motion: reduce) {
  .dotd-live .dotd-live-dot { animation: none; }
  .dotd-cta { transition: none; }
  .dotd-cta:hover, .dotd-cta:focus-visible { transform: none; }
}
