/* Crevyro homepage embedded promo — isolated 16:9 autoplay loop. */
@font-face{font-family:"PromoRooftop";src:url("/fonts/rooftop/rooftop-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"PromoRooftop";src:url("/fonts/rooftop/rooftop-bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"PromoRooftop";src:url("/fonts/rooftop/rooftop-extrabold.woff2") format("woff2");font-style:normal;font-weight:800 900;font-display:swap}
.ac-home-promo-slot{width:100%;margin:0;padding:0;background:#030206;overflow:hidden}
.crevyro-promo-embed{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#030206;color:#fff;font-family:"PromoRooftop",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;contain:layout paint style}
.crevyro-promo-embed .video-wrapper{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:flex;align-items:center;justify-content:center;overflow:hidden}
.crevyro-promo-embed #promoStage{flex:0 0 auto;box-shadow:none;transform-origin:center center}
@media (max-width:700px){.ac-home-promo-slot{min-height:0}.crevyro-promo-embed{aspect-ratio:16/9}}

/**
 * Crevyro 1920x1080 Brand Promo Video Stylesheet
 * Pure HTML/CSS/JS Cinematic Animation
 */

.crevyro-promo-embed {
  /* Brand Palette */
  --c-pink: #f320df;
  --c-pink-soft: #ff85c8;
  --c-purple: #8a64ff;
  --c-purple-brand: #7064ec;
  --c-indigo-deep: #4420a8;
  --c-indigo-dark: #5c3ce8;
  --c-yellow-accent: #f4e900;
  --c-emerald: #10b981;

  /* Neutrals */
  --c-bg-dark: #07060b;
  --c-white: #ffffff;
  --c-text-muted: #a6a3b8;

  /* Gradients */
  --c-grad-brand: linear-gradient(145deg, #ff85c8 0%, #8a64ff 48%, #5c3ce8 100%);
  --c-grad-gold: linear-gradient(135deg, #f4e900 0%, #ff9800 100%);

  /* Easing */
  --ease-primary: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-overshoot: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.crevyro-promo-embed * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.crevyro-promo-embed {
  width: 100%;
  height: 100%;
  background: #030206;
  font-family: "PromoRooftop", system-ui, -apple-system, sans-serif;
  color: var(--c-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Viewport Scaler (Ensures exact 16:9 1920x1080 Proportions)
   ========================================================================== */

.crevyro-promo-embed .video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.crevyro-promo-embed #promoStage {
  position: relative;
  width: 1920px;
  height: 1080px;
  min-width: 1920px;
  min-height: 1080px;
  background: var(--c-bg-dark);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.85);
  transform-origin: center center;
}

/* ==========================================================================
   Dynamic Multi-Layer Gradient Backgrounds
   ========================================================================== */

.crevyro-promo-embed .scene-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.crevyro-promo-embed .scene-backdrop.active {
  opacity: 1;
}

/* Scene 1: Obsidian & Electric Pink Pulse */
.crevyro-promo-embed #bg-scene-1 {
  background: 
    radial-gradient(circle at 80% 25%, rgba(243, 32, 223, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(112, 100, 236, 0.32) 0%, transparent 45%),
    linear-gradient(180deg, #090710 0%, #040307 100%);
}

/* Scene 2: Midnight Indigo & High-Tech Mesh */
.crevyro-promo-embed #bg-scene-2 {
  background: 
    radial-gradient(circle at 20% 30%, rgba(138, 100, 255, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(92, 60, 232, 0.38) 0%, transparent 45%),
    linear-gradient(135deg, #0a0614 0%, #0e0a1c 50%, #06040c 100%);
}

/* Scene 3: Deep Imperial Violet & Golden Yellow Stardust */
.crevyro-promo-embed #bg-scene-3 {
  background: 
    radial-gradient(circle at 50% 15%, rgba(244, 233, 0, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 85% 85%, rgba(243, 32, 223, 0.32) 0%, transparent 50%),
    radial-gradient(circle at 15% 45%, rgba(112, 100, 236, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #0d0818 0%, #050309 100%);
}

/* Scene 4: Grand Chromatic Climax Nebula */
.crevyro-promo-embed #bg-scene-4 {
  background: 
    radial-gradient(circle at 50% 50%, rgba(243, 32, 223, 0.42) 0%, rgba(138, 100, 255, 0.25) 35%, transparent 65%),
    radial-gradient(circle at 80% 20%, rgba(244, 233, 0, 0.18) 0%, transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(68, 32, 168, 0.5) 0%, transparent 40%),
    linear-gradient(135deg, #0f081c 0%, #06030c 100%);
}

/* Subtle Geometric Grid Overlay */
.crevyro-promo-embed .grid-mesh-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

/* Vignette Cinematic Shadow */
.crevyro-promo-embed .cinematic-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   Scene Layers & Content
   ========================================================================== */

.crevyro-promo-embed .scene-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 120px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98);
}

.crevyro-promo-embed .scene-container.active {
  pointer-events: auto;
}

/* Floating Glassmorphism Cards */
.crevyro-promo-embed .glass-card {
  background: rgba(22, 18, 34, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(138, 100, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.crevyro-promo-embed .glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
}

/* ==========================================================================
   Kinetic Typography Elements
   ========================================================================== */

.crevyro-promo-embed .kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(243, 32, 223, 0.14);
  border: 1px solid rgba(243, 32, 223, 0.35);
  color: var(--c-pink-soft);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(243, 32, 223, 0.25);
}

.crevyro-promo-embed .headline-large {
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2.8px;
  margin-bottom: 28px;
}

.crevyro-promo-embed .headline-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #ff85c8 70%, #8a64ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.crevyro-promo-embed .headline-gold {
  background: linear-gradient(135deg, #ffffff 40%, #f4e900 80%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.crevyro-promo-embed .subheadline {
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
  line-height: 1.45;
  max-width: 820px;
}

/* ==========================================================================
   Scene 1: The Problem Visuals
   ========================================================================== */

.crevyro-promo-embed .scene-1-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  width: 100%;
  gap: 70px;
}

.crevyro-promo-embed .creator-visual-box {
  position: relative;
  width: 100%;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crevyro-promo-embed .creator-frame {
  position: relative;
  width: 520px;
  height: 600px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7), 0 0 45px rgba(243, 32, 223, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.crevyro-promo-embed .creator-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Comment Badges */
.crevyro-promo-embed .floating-comment-badge {
  position: absolute;
  padding: 16px 26px;
  border-radius: 20px;
  background: rgba(18, 15, 30, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(243, 32, 223, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  z-index: 20;
}

.crevyro-promo-embed .badge-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ==========================================================================
   Scene 2: Flow & Mechanism Visuals
   ========================================================================== */

.crevyro-promo-embed .scene-2-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  width: 100%;
  gap: 80px;
}

.crevyro-promo-embed .workflow-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.crevyro-promo-embed .flow-node-card {
  padding: 24px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.crevyro-promo-embed .flow-node-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.crevyro-promo-embed .flow-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(138, 100, 255, 0.2);
  border: 1px solid rgba(138, 100, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.crevyro-promo-embed .flow-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.crevyro-promo-embed .flow-desc {
  font-size: 1.05rem;
  color: var(--c-text-muted);
}

.crevyro-promo-embed .flow-pill-tag {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--c-emerald);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.crevyro-promo-embed .ui-mock-wrapper {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crevyro-promo-embed .ui-card-main {
  width: 560px;
  border-radius: 30px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75), 0 0 50px rgba(112, 100, 236, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.crevyro-promo-embed .ui-card-main img {
  width: 100%;
  height: auto;
  display: block;
}

.crevyro-promo-embed .meta-partner-badge-fixed {
  position: absolute;
  bottom: -20px;
  right: -10px;
  padding: 14px 24px;
  background: rgba(12, 10, 22, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.crevyro-promo-embed .meta-partner-badge-fixed img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ==========================================================================
   Scene 3: Growth & Analytics Proof
   ========================================================================== */

.crevyro-promo-embed .scene-3-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.crevyro-promo-embed .metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
  max-width: 1540px;
  margin-top: 48px;
}

.crevyro-promo-embed .metric-card {
  padding: 44px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.crevyro-promo-embed .metric-number {
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1;
}

.crevyro-promo-embed .metric-label {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text-muted);
}

.crevyro-promo-embed .metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 6px;
}

/* ==========================================================================
   Scene 4: Climax & Brand Lockup
   ========================================================================== */

.crevyro-promo-embed .scene-4-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.crevyro-promo-embed .brand-climax-mark {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 38px;
}

.crevyro-promo-embed .climax-aura {
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 32, 223, 0.65) 0%, rgba(138, 100, 255, 0.35) 45%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
}

.crevyro-promo-embed .climax-tile {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 56px;
  background: var(--c-grad-brand);
  box-shadow: 0 25px 80px rgba(243, 32, 223, 0.5), 0 0 60px rgba(112, 100, 236, 0.6);
  transform: rotate(7deg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.crevyro-promo-embed .climax-bars {
  display: flex;
  align-items: center;
  gap: 15px;
  transform: rotate(-7deg);
}

.crevyro-promo-embed .climax-bar {
  width: 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
}

.crevyro-promo-embed .climax-bar-1 { height: 56px; }
.crevyro-promo-embed .climax-bar-2 { height: 108px; }
.crevyro-promo-embed .climax-bar-3 { height: 74px; }

.crevyro-promo-embed .climax-wordmark {
  font-size: 7.2rem;
  font-weight: 900;
  letter-spacing: -3.8px;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 50%, #ff85c8 85%, #8a64ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.crevyro-promo-embed .climax-tagline {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 44px;
  max-width: 960px;
}

.crevyro-promo-embed .cta-button-glow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 52px;
  border-radius: 999px;
  background: var(--c-grad-brand);
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(243, 32, 223, 0.55), 0 0 35px rgba(112, 100, 236, 0.4);
  position: relative;
  overflow: hidden;
}

.crevyro-promo-embed .cta-button-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: buttonShimmer 2.2s infinite ease-in-out;
}

@keyframes buttonShimmer {
  0% { left: -100%; }
  60%, 100% { left: 200%; }
}

/* Particle Sparks Canvas */
.crevyro-promo-embed #climaxParticles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.crevyro-promo-embed .promo-playback-control{position:absolute;right:16px;bottom:16px;z-index:40;min-width:72px;min-height:40px;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:0 16px;background:rgba(8,7,13,.76);color:#fff;font:700 14px/1 system-ui,sans-serif;backdrop-filter:blur(8px);cursor:pointer}.crevyro-promo-embed .promo-playback-control:focus-visible{outline:3px solid #fff;outline-offset:3px}@media(max-width:700px){.crevyro-promo-embed .promo-playback-control{right:8px;bottom:8px;min-width:64px;min-height:36px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.crevyro-promo-embed .promo-playback-control{display:none}}
