:root {
  --green: #22c55e;
  --red: #dc2626;
  --white: #ffffff;
  --muted: #a1a1aa;
  --soft: #d4d4d8;
  --card: #111113;
  --border: #27272a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #000;
  color: var(--white);
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

button {
  font: inherit;
  cursor: pointer;
}

.upsell-page {
  min-height: 100dvh;
  background: #000;
  overflow-x: hidden;
}

.upsell-shell {
  width: 100%;
  max-width: 512px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  overflow-x: hidden;
}

.timer {
  text-align: center;
}

.timer p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timer-dot {
  color: #ef4444;
}

.timer-boxes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.time-box strong {
  display: block;
  min-width: 72px;
  border: 1px solid #3f3f46;
  border-radius: 9px;
  background: #18181b;
  padding: 8px 12px;
  color: var(--white);
  font-size: 31px;
  line-height: 1.1;
}

.time-box span {
  display: block;
  margin-top: 4px;
  color: #71717a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timer-separator {
  color: #52525b;
  font-size: 32px;
  line-height: 52px;
}

.upsell-warning {
  width: 100%;
  margin-top: 24px;
  border-radius: 6px;
  background: var(--red);
  padding: 14px 18px;
  color: var(--white);
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.upsell-intro {
  margin: 20px 0 16px;
  color: var(--soft);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.upsell-intro strong {
  color: var(--green);
}

.video-frame {
  width: 100%;
  margin: 0 auto 24px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.45);
}

vturb-smartplayer {
  max-width: 100% !important;
}

.invisible-space {
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.delayed {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.dark-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  padding: 18px;
}

.dark-card h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
}

.dark-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #e4e4e7;
  font-size: 13px;
  line-height: 1.45;
  list-style: none;
}

.upsell-price {
  margin-top: 28px;
  text-align: center;
}

.old-price {
  display: inline-block;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  background: #111113;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 12px;
}

.old-price span {
  color: #ef4444;
  font-weight: 700;
  text-decoration: line-through;
}

.price-label {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.price {
  margin: 3px 0;
  color: var(--green);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.economy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.hotmart-upsell-widget {
  width: 100%;
  margin-top: 24px;
}

#hotmart-sales-funnel {
  width: 100%;
}

.hotmart-upsell-widget button,
.hotmart-upsell-widget [role="button"],
.hotmart-upsell-widget input[type="button"],
.hotmart-upsell-widget input[type="submit"] {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: linear-gradient(180deg, #32bb78, #20965c);
  color: var(--white);
  padding: 16px 14px;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 14px 28px -14px rgba(34, 197, 94, 0.75);
  animation: button-pulse 1.55s ease-in-out infinite;
}

@keyframes button-pulse {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 14px 28px -14px rgba(34, 197, 94, 0.75), 0 0 0 0 rgba(34, 197, 94, 0.38);
  }
  50% {
    filter: brightness(1.08);
    box-shadow: 0 18px 34px -12px rgba(34, 197, 94, 0.95), 0 0 0 9px rgba(34, 197, 94, 0);
  }
}

@media (max-width: 390px) {
  .upsell-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .upsell-warning {
    font-size: 14px;
    white-space: normal;
  }
}
