@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary-bg: #1a0026;
  --secondary-bg: #6b4fb3;
  --text-white: #ffffff;
  --highlight-red: #ff0000;
  --accent-color: #9d7df3;
  --overlay-bg: rgba(0, 0, 0, 0.85);
  --container-max-width: 800px;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--primary-bg);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header Section */
header {
  text-align: center;
  padding: 60px 20px 20px;
}

.headline {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out;
}

.highlight {
  color: var(--highlight-red);
  position: relative;
  display: inline-block;
  padding: 0 4px;
}

/* Video Player Container - VTurb handles internal player styling */
.video-wrapper {
  margin-top: 30px;
  position: relative;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(107, 79, 179, 0.3);
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
  background: linear-gradient(145deg, #6b4fb3, #543ea1);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .headline {
    font-size: 20px;
  }
  
  .container {
    padding: 20px 15px;
  }
  
  header {
    padding: 40px 10px 10px;
  }
}

/* =============================================
   Mundpay One-Click Upsell Button Section
   =============================================
   The Mundpay widget renders inside an <iframe>.
   External CSS cannot reach inside it, so we use
   a JS MutationObserver (script.js) to inject a
   <style> tag into the iframe document directly,
   hiding .upsell-title and .upsell-price.
   ============================================= */
/* Hidden by default — JS adds .visible after 3:37 of video */
.upsell-btn-wrapper {
  margin-top: 30px;
  padding-bottom: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
  pointer-events: none;
}

.upsell-btn-wrapper.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  animation: fadeInUp 0.8s ease-out;
}

/* Clip the iframe so the title/price area (top)
   is scrolled out of view via negative margin   */
.upsell-btn-wrapper [data-mndpay-render] {
  overflow: hidden;
}

.upsell-btn-wrapper [data-mndpay-render] iframe {
  display: block;
  width: 100%;
  border: none;
}
