/* Stack Gamer 2026 - Capitulo 11: Campanhas, Cupons, Conteudo, Notificacoes e Atendimento */
.theme-stackgamer-definitive-preview {
  --sg-campaign-surface: #ffffff;
  --sg-campaign-soft: #f8fbff;
  --sg-campaign-navy: #0f172a;
  --sg-campaign-muted: #64748b;
  --sg-campaign-blue: #2563ff;
  --sg-campaign-cyan: #38ddf8;
  --sg-campaign-green: #16a34a;
  --sg-campaign-pink: #db2777;
  --sg-campaign-line: rgba(37, 99, 255, 0.14);
  --sg-campaign-line-strong: rgba(37, 99, 255, 0.28);
  --sg-campaign-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.theme-stackgamer-definitive-preview .conversion-promotions,
.theme-stackgamer-definitive-preview .conversion-coupons {
  position: relative;
  overflow: hidden;
  border-color: rgba(37, 99, 255, 0.16) !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(56, 221, 248, 0.13), transparent 30rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)) !important;
}

.theme-stackgamer-definitive-preview .conversion-promotions::before,
.theme-stackgamer-definitive-preview .conversion-coupons::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 34%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--sg-campaign-blue), var(--sg-campaign-cyan));
  pointer-events: none;
}

.theme-stackgamer-definitive-preview .conversion-promotions .conversion-section-heading,
.theme-stackgamer-definitive-preview .conversion-coupons .conversion-section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.theme-stackgamer-definitive-preview .conversion-promotions .conversion-kicker,
.theme-stackgamer-definitive-preview .conversion-coupons .conversion-kicker {
  color: var(--sg-campaign-blue) !important;
}

.theme-stackgamer-definitive-preview .conversion-promotions h2,
.theme-stackgamer-definitive-preview .conversion-coupons h2 {
  color: var(--sg-campaign-navy) !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.theme-stackgamer-definitive-preview .conversion-promotions .conversion-section-heading p,
.theme-stackgamer-definitive-preview .conversion-coupons .conversion-section-heading p {
  color: var(--sg-campaign-muted) !important;
}

.theme-stackgamer-definitive-preview .promo-flash-container.conversion-campaign-hero,
.theme-stackgamer-definitive-preview .sg-campaign-hero {
  position: relative;
  z-index: 1;
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: end;
  padding: clamp(22px, 4vw, 42px) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(37, 99, 255, 0.20) !important;
  box-shadow: var(--sg-campaign-shadow) !important;
  overflow: hidden;
}

.theme-stackgamer-definitive-preview .promo-flash-container.conversion-campaign-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.38)),
    radial-gradient(circle at 12% 12%, rgba(56, 221, 248, 0.25), transparent 22rem);
  pointer-events: none;
}

.theme-stackgamer-definitive-preview .promo-flash-container .promo-content,
.theme-stackgamer-definitive-preview .promo-flash-container .promo-timer-box {
  position: relative;
  z-index: 1;
}

.theme-stackgamer-definitive-preview .promo-badge,
.theme-stackgamer-definitive-preview .sg-campaign-public-status {
  display: inline-flex !important;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  margin: 0 8px 12px 0;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview .promo-badge {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--sg-campaign-blue) !important;
}

.theme-stackgamer-definitive-preview .sg-campaign-public-status {
  background: rgba(22, 163, 74, 0.16) !important;
  color: #bbf7d0 !important;
  border: 1px solid rgba(187, 247, 208, 0.24);
}

.theme-stackgamer-definitive-preview .promo-title {
  max-width: 720px;
  margin: 0 0 12px !important;
  color: #ffffff !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  line-height: 1.02 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.theme-stackgamer-definitive-preview .promo-desc {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.theme-stackgamer-definitive-preview .sg-campaign-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.theme-stackgamer-definitive-preview .sg-campaign-actions .conversion-cta,
.theme-stackgamer-definitive-preview .sg-campaign-actions .whatsapp-context-link {
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none !important;
}

.theme-stackgamer-definitive-preview .sg-campaign-actions .conversion-cta {
  background: linear-gradient(135deg, var(--sg-campaign-blue), var(--sg-campaign-cyan)) !important;
  color: #ffffff !important;
  border: 0 !important;
}

.theme-stackgamer-definitive-preview .sg-campaign-actions .whatsapp-context-link {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.theme-stackgamer-definitive-preview .promo-timer-box {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 160px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.70) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.theme-stackgamer-definitive-preview .promo-timer-label {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview #cyberTimer {
  color: var(--sg-campaign-cyan) !important;
  font-size: clamp(22px, 3vw, 34px) !important;
  line-height: 1.05;
  font-weight: 950 !important;
}

.theme-stackgamer-definitive-preview .conversion-coupon-grid {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theme-stackgamer-definitive-preview .conversion-coupon-card,
.theme-stackgamer-definitive-preview .sg-coupon-card {
  min-height: 150px;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  gap: 16px;
  align-items: stretch;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px !important;
  border: 1px solid rgba(37, 99, 255, 0.16) !important;
  background: #ffffff !important;
  color: var(--sg-campaign-navy) !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.10) !important;
  text-align: left;
  cursor: pointer;
}

.theme-stackgamer-definitive-preview .conversion-coupon-card:hover,
.theme-stackgamer-definitive-preview .conversion-coupon-card:focus-visible {
  border-color: rgba(37, 99, 255, 0.38) !important;
  outline: 3px solid rgba(56, 221, 248, 0.22);
  outline-offset: 2px;
}

.theme-stackgamer-definitive-preview .conversion-coupon-discount {
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(135deg, var(--sg-campaign-blue), var(--sg-campaign-cyan)) !important;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 950;
  text-align: center;
}

.theme-stackgamer-definitive-preview .conversion-coupon-info {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  padding: 16px 0;
}

.theme-stackgamer-definitive-preview .conversion-coupon-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.theme-stackgamer-definitive-preview .conversion-coupon-heading small {
  color: var(--sg-campaign-muted) !important;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview .conversion-coupon-status {
  padding: 5px 8px;
  border-radius: 999px;
  background: #ecfdf5 !important;
  color: #047857 !important;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview .coupon-code {
  color: var(--sg-campaign-navy) !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  letter-spacing: .02em;
}

.theme-stackgamer-definitive-preview .conversion-coupon-rule {
  color: var(--sg-campaign-muted) !important;
  font-size: 13px;
  line-height: 1.45;
}

.theme-stackgamer-definitive-preview .conversion-coupon-info em,
.theme-stackgamer-definitive-preview .conversion-coupon-info small:last-child {
  color: var(--sg-campaign-muted) !important;
  font-size: 12px;
  font-style: normal !important;
}

.theme-stackgamer-definitive-preview .conversion-coupon-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 16px;
  border-left: 1px dashed rgba(37, 99, 255, 0.22);
  background: var(--sg-campaign-soft) !important;
}

.theme-stackgamer-definitive-preview .coupon-copy-action {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--sg-campaign-navy) !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 950;
}

.theme-stackgamer-definitive-preview .conversion-coupon-copy small {
  color: var(--sg-campaign-muted) !important;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.theme-stackgamer-definitive-preview .coupon-balloon-stack,
.theme-stackgamer-definitive-preview .stack-coupons-wrapper {
  right: 18px !important;
  left: auto !important;
  bottom: 104px !important;
  z-index: 1200;
}

.theme-stackgamer-definitive-preview .coupon-drawer-toggle {
  min-width: 164px;
  min-height: 56px;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 18px !important;
  border: 1px solid rgba(37, 99, 255, 0.22) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--sg-campaign-navy) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16) !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview .coupon-drawer-toggle strong {
  min-width: 30px;
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sg-campaign-blue), var(--sg-campaign-cyan)) !important;
  color: #ffffff !important;
}

.theme-stackgamer-definitive-preview .coupon-drawer-panel {
  width: min(360px, calc(100vw - 36px));
  max-height: min(520px, calc(100vh - 160px));
  overflow: auto;
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 255, 0.18);
  background: #ffffff !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22) !important;
}

.theme-stackgamer-definitive-preview .coupon-drawer-panel .coupon-balloon {
  width: 100%;
  border-radius: 12px !important;
  border: 1px solid rgba(37, 99, 255, 0.14) !important;
  background: var(--sg-campaign-soft) !important;
  color: var(--sg-campaign-navy) !important;
}

.theme-stackgamer-definitive-preview .coupon-drawer-panel .coupon-code,
.theme-stackgamer-definitive-preview .coupon-drawer-panel .coupon-balloon-desc,
.theme-stackgamer-definitive-preview .coupon-drawer-panel .coupon-min {
  color: var(--sg-campaign-navy) !important;
}

.theme-stackgamer-definitive-preview .footer-contact-newsletter-panel,
.theme-stackgamer-definitive-preview .sg-service-panel {
  border-color: rgba(56, 221, 248, 0.22) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 221, 248, 0.12), transparent 16rem),
    rgba(15, 23, 42, 0.72) !important;
}

.theme-stackgamer-definitive-preview .footer-newsletter-action {
  min-height: 44px;
  width: 100%;
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--sg-campaign-blue), var(--sg-campaign-cyan)) !important;
  color: #ffffff !important;
  font-weight: 950 !important;
  cursor: pointer;
}

.theme-stackgamer-definitive-preview .footer-contact-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.theme-stackgamer-definitive-preview .footer-contact-list a,
.theme-stackgamer-definitive-preview .footer-contact-list span {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
  line-height: 1.4;
}

.theme-stackgamer-definitive-preview .whatsapp-context-link,
.theme-stackgamer-definitive-preview .footer-contact-list a[href*="wa.me"],
.theme-stackgamer-definitive-preview .footer-contact-list a[href*="whatsapp"] {
  color: var(--sg-campaign-cyan) !important;
  font-weight: 900;
}

@media (max-width: 980px) {
  .theme-stackgamer-definitive-preview .promo-flash-container.conversion-campaign-hero,
  .theme-stackgamer-definitive-preview .sg-campaign-hero,
  .theme-stackgamer-definitive-preview .conversion-coupon-grid {
    grid-template-columns: 1fr;
  }

  .theme-stackgamer-definitive-preview .promo-timer-box {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .theme-stackgamer-definitive-preview .conversion-coupon-card,
  .theme-stackgamer-definitive-preview .sg-coupon-card {
    grid-template-columns: 1fr;
  }

  .theme-stackgamer-definitive-preview .conversion-coupon-info,
  .theme-stackgamer-definitive-preview .conversion-coupon-copy {
    padding: 16px;
  }

  .theme-stackgamer-definitive-preview .conversion-coupon-copy {
    border-left: 0;
    border-top: 1px dashed rgba(37, 99, 255, 0.22);
    justify-items: stretch;
  }

  .theme-stackgamer-definitive-preview .coupon-copy-action {
    width: 100%;
  }

  .theme-stackgamer-definitive-preview .coupon-balloon-stack,
  .theme-stackgamer-definitive-preview .stack-coupons-wrapper {
    right: 12px !important;
    bottom: 92px !important;
  }

  .theme-stackgamer-definitive-preview .coupon-drawer-toggle {
    min-width: 132px;
  }
}
