@charset "UTF-8";

/* ============================================================
   Phase 2.14 PART 1 — Inner phone children fit parent
   Fixes the "9:16 selected but phone looks square" bug.
   The outer .ev2bw-phone is correctly 170×300 (or 240×240 / 300×170).
   These rules force the inner content to fit inside the outer bezel.
   ============================================================= */
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-phone-screen,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-phone-thumb-img,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-phone-yt,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-phone > img,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-phone > iframe,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-phone > video{
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

/* Phone outer keeps overflow hidden so children can't bleed past it */
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-phone{
  overflow: hidden !important;
  position: relative !important;
  border-radius: 18px !important;
}

/* =============================================================
   Phase 2.14 PART 2 — Massive visual punch
   Bumped from 25vw @ 12% to 50vw @ 45%. Drift 14s → 8s.
   Plus secondary pulse layer + animated header bar.
   ============================================================= */

/* Override 2.13's corner blobs with much bigger, brighter ones */
#ev2bwModal#ev2bwModal#ev2bwModal::before{
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background:
    radial-gradient(circle 50vw at 5% 5%,    rgba(253,194,59,.45),  transparent 65%),
    radial-gradient(circle 45vw at 95% 8%,   rgba(176,140,255,.40), transparent 65%),
    radial-gradient(circle 55vw at 3% 95%,   rgba(59,220,255,.40),  transparent 65%),
    radial-gradient(circle 48vw at 97% 95%,  rgba(255,95,162,.42),  transparent 65%) !important;
  animation: _ev2pn-drift 8s ease-in-out infinite alternate !important;
  opacity: 1 !important;
  filter: blur(0.5px) !important;
}
@keyframes _ev2pn-drift {
  0%   { transform: translate3d(0, 0, 0)        scale(1.00) rotate(0deg);   filter: blur(0.5px); }
  50%  { transform: translate3d(3%, -2%, 0)     scale(1.12) rotate(3deg);   filter: blur(0.5px) brightness(1.15); }
  100% { transform: translate3d(-3%, 2.5%, 0)   scale(0.94) rotate(-2deg);  filter: blur(0.5px); }
}

/* Override 2.13's shimmer with a faster, brighter one */
#ev2bwModal#ev2bwModal#ev2bwModal::after{
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(253,194,59,.18) 42%,
    rgba(255,213,103,.32) 50%,
    rgba(255,95,162,.22) 58%,
    transparent 75%
  ) !important;
  background-size: 300% 300% !important;
  animation: _ev2pn-shimmer 12s ease-in-out infinite !important;
  opacity: 1 !important;
}
@keyframes _ev2pn-shimmer {
  0%   { background-position: 100% 0%; }
  50%  { background-position: 0% 100%; }
  100% { background-position: -100% 200%; }
}

/* Animated glowing light bar above the wizard header */
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-shell::before{
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253,194,59,.0) 10%,
    rgba(253,194,59,.9) 30%,
    rgba(255,95,162,1) 50%,
    rgba(176,140,255,.9) 70%,
    rgba(253,194,59,.0) 90%,
    transparent 100%
  ) !important;
  background-size: 200% 100% !important;
  animation: _ev2pn-headerbar 6s ease-in-out infinite !important;
  z-index: 100 !important;
  pointer-events: none !important;
  box-shadow: 0 0 12px rgba(253,194,59,.7), 0 0 24px rgba(255,95,162,.5) !important;
}
@keyframes _ev2pn-headerbar {
  0%   { background-position: -100% 0%; opacity: .6; }
  50%  { background-position: 100% 0%;  opacity: 1; }
  100% { background-position: 200% 0%;  opacity: .6; }
}

/* Selected card pulse cranked up */
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-opt.selected{
  background:
    radial-gradient(ellipse 80% 90% at 50% 50%, rgba(255,95,162,.18), transparent 70%),
    linear-gradient(135deg, rgba(253,194,59,.28), rgba(255,95,162,.14)) !important;
  border: 2px solid #fdc23b !important;
  box-shadow:
    0 12px 48px rgba(253,194,59,.45),
    0 0 0 1px rgba(255,95,162,.4) inset,
    0 0 80px -10px rgba(253,194,59,.85),
    0 0 0 2px rgba(255,95,162,.25) !important;
  animation: _ev2pn-cardpulse 3s ease-in-out infinite !important;
}
@keyframes _ev2pn-cardpulse {
  0%, 100% {
    box-shadow:
      0 12px 48px rgba(253,194,59,.45),
      0 0 0 1px rgba(255,95,162,.4) inset,
      0 0 80px -10px rgba(253,194,59,.85),
      0 0 0 2px rgba(255,95,162,.25);
  }
  50% {
    box-shadow:
      0 16px 64px rgba(253,194,59,.65),
      0 0 0 1px rgba(255,95,162,.55) inset,
      0 0 120px -5px rgba(253,194,59,1),
      0 0 0 3px rgba(255,95,162,.45);
  }
}

/* ============================================================
   Phase 2.14 PART 3 — Smooth scroll + premium scrollbar
   ============================================================ */
html{
  scroll-behavior: smooth !important;
}
#ev2bwModal#ev2bwModal#ev2bwModal #ev2bwBody,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-body{
  scroll-behavior: smooth !important;
}

/* Webkit (Chrome/Safari/Edge) — premium dark-gold scrollbar */
*::-webkit-scrollbar{
  width: 10px !important;
  height: 10px !important;
}
*::-webkit-scrollbar-track{
  background: rgba(5, 5, 9, .4) !important;
  border-radius: 8px !important;
}
*::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(253,194,59,.45), rgba(201,148,31,.55)) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0,0,0,.2) !important;
  box-shadow: inset 0 0 0 1px rgba(255,213,103,.15) !important;
}
*::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, rgba(255,213,103,.85), rgba(255,95,162,.7)) !important;
  box-shadow: 0 0 12px rgba(253,194,59,.6) !important;
}
*::-webkit-scrollbar-corner{
  background: transparent !important;
}

/* Firefox */
*{
  scrollbar-width: thin !important;
  scrollbar-color: rgba(253,194,59,.55) rgba(5,5,9,.4) !important;
}
