@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Inter:wght@600;700;800;900&display=swap');

/* === Wider modal when preview pane is active === */
.ev2-pa-modal.ev2-pa-modal-with-preview .ev2-pa-modal-content {
  width: min(1240px, 96vw);
  max-width: 1240px;
}

/* === Two-column layout: chips left, preview right === */
.ev2-pa-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.ev2-pa-main-grid > #ev2PaBody {
  overflow-y: auto;
  padding: 20px 24px;
}
.ev2-pa-preview-pane {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%);
  border-left: 1px solid rgba(212,175,55,0.18);
  padding: 18px 20px 20px;
  overflow-y: auto;
  font-family: inherit;
  color: #f5f5f5;
}

.ev2-pa-preview-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
.ev2-pa-preview-header h3 {
  margin: 0; font-size: 13px; color: #d4af37;
  text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700;
}
.ev2-pa-badge-mini {
  font-size: 9px; padding: 3px 7px;
  background: rgba(212,175,55,0.12); color: #d4af37;
  border-radius: 3px; margin-left: auto;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
}

/* === Phone/format frame === */
.ev2-pa-preview-frame-wrap {
  display: flex; justify-content: center; align-items: center;
  min-height: 230px; margin-bottom: 18px;
  padding: 10px; background: radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 70%);
  border-radius: 12px;
}
.ev2-pa-preview-frame {
  position: relative; overflow: hidden;
  background: #000;
  border: 6px solid #1a1a1a;
  box-shadow: 0 10px 28px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,175,55,0.2);
  transition: width 0.35s cubic-bezier(.4,0,.2,1), height 0.35s cubic-bezier(.4,0,.2,1), border-radius 0.35s;
}
.ev2-pa-frame-9-16 { width: 215px; height: 382px; border-radius: 26px; }
.ev2-pa-frame-1-1  { width: 280px; height: 280px; border-radius: 12px; }
.ev2-pa-frame-16-9 { width: 360px; height: 202px; border-radius: 8px; }

/* Animated "video" inside frame: warm gradient + soft figure suggestion */
.ev2-pa-preview-video-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(255,210,180,0.18) 0%, transparent 50%),
    linear-gradient(135deg, #1a2742 0%, #4a2a56 35%, #6b3a4f 65%, #2e3856 100%);
  background-size: 100% 100%, 200% 200%;
  animation: ev2PaVideoBgShift 9s ease-in-out infinite;
}
@keyframes ev2PaVideoBgShift {
  0%, 100% { background-position: 0% 0%, 0% 0%; }
  50%      { background-position: 0% 0%, 100% 100%; }
}

/* Caption overlay (bottom of frame) */
.ev2-pa-preview-caption-overlay {
  position: absolute;
  bottom: 14%; left: 50%; transform: translateX(-50%);
  width: 92%; text-align: center; pointer-events: none;
  z-index: 2;
}

/* Hook overlay (top of frame) */
.ev2-pa-preview-hook-overlay {
  position: absolute;
  top: 8%; left: 50%; transform: translateX(-50%);
  width: 88%; text-align: center; pointer-events: none;
  font-family: 'Inter', sans-serif; font-weight: 700;
  color: #fff; text-shadow: 1px 1px 4px rgba(0,0,0,0.95);
  font-size: 11px; line-height: 1.25;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 100%);
  padding: 6px 10px; border-radius: 6px;
  z-index: 2;
}
.ev2-pa-frame-1-1 .ev2-pa-preview-hook-overlay,
.ev2-pa-frame-16-9 .ev2-pa-preview-hook-overlay { font-size: 10px; }

/* === Caption preset styles (the heart of the preview) === */
.ev2-pa-prev-caption { display: inline-block; }

.ev2-pa-prev-cap-mrbeast {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: 22px; line-height: 1.0;
  color: #fff; text-transform: uppercase;
  -webkit-text-stroke: 1.5px #000;
  text-shadow: 0 3px 0 #000, 0 0 10px rgba(0,0,0,0.7);
  letter-spacing: 0.5px;
}

.ev2-pa-prev-cap-hormozi {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: 14px; color: #fff;
  background: #00d973; padding: 5px 10px;
  border-radius: 4px; text-transform: uppercase;
  display: inline-block; line-height: 1.2;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 0 rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.5);
}

.ev2-pa-prev-cap-beast {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 26px; font-weight: 400;
  color: #fff; letter-spacing: 2px; text-transform: uppercase;
  text-shadow:
    0 0 6px #ff00ff,
    0 0 12px #ff00ff,
    0 0 24px rgba(255,0,255,0.7),
    0 2px 0 rgba(0,0,0,0.6);
}

.ev2-pa-prev-cap-default {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 16px; color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.7);
}

.ev2-pa-prev-cap-auto {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 16px; color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
  background: linear-gradient(135deg, rgba(212,175,55,0.35) 0%, rgba(240,199,94,0.2) 100%);
  padding: 5px 10px; border-radius: 4px;
  border: 1px dashed rgba(212,175,55,0.6);
}

/* === Caption animations === */
@keyframes ev2PaCapBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.ev2-pa-anim-bounce { animation: ev2PaCapBounce 0.7s ease-in-out infinite; }

@keyframes ev2PaCapFade {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
.ev2-pa-anim-fade { animation: ev2PaCapFade 1.6s ease-in-out infinite; }

@keyframes ev2PaCapPop {
  0%, 60%, 100% { transform: scale(1); }
  20%           { transform: scale(1.18); }
  40%           { transform: scale(0.96); }
}
.ev2-pa-anim-pop { animation: ev2PaCapPop 1.4s ease-in-out infinite; transform-origin: center; }

@keyframes ev2PaCapSlide {
  0%        { transform: translateX(-25px); opacity: 0; }
  20%, 80%  { transform: translateX(0); opacity: 1; }
  100%      { transform: translateX(25px); opacity: 0; }
}
.ev2-pa-anim-slide { animation: ev2PaCapSlide 2.5s ease-in-out infinite; }

/* Karaoke: per-word highlight, JS cycles the active class */
.ev2-pa-anim-karaoke .ev2-pa-word {
  opacity: 0.45; transition: opacity 0.18s, color 0.18s, transform 0.18s;
  display: inline-block; padding: 0 2px;
}
.ev2-pa-anim-karaoke .ev2-pa-word.ev2-pa-word-active {
  opacity: 1; color: #ffd700;
  transform: translateY(-2px) scale(1.08);
}

.ev2-pa-anim-auto {
  animation: ev2PaCapBounce 0.7s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.4));
}

/* === Preview sections below the frame === */
.ev2-pa-preview-section {
  margin-bottom: 12px; padding: 11px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 8px;
}
.ev2-pa-preview-label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.6px; color: #999;
  margin-bottom: 7px; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
}
.ev2-pa-preview-label-tag {
  margin-left: auto; font-size: 9px;
  padding: 1px 6px; border-radius: 3px;
  background: rgba(212,175,55,0.12); color: #d4af37;
  letter-spacing: 0.4px;
}

/* Title preview styles */
.ev2-pa-prev-title { font-family: 'Inter', sans-serif; line-height: 1.3; word-wrap: break-word; }
.ev2-pa-prev-title-auto       { color: #ddd; font-style: italic; font-size: 13px; }
.ev2-pa-prev-title-clickbait  { color: #fff; font-weight: 800; font-size: 15px; }
.ev2-pa-prev-title-descriptive{ color: #f5f5f5; font-weight: 600; font-size: 14px; }
.ev2-pa-prev-title-question   { color: #f5f5f5; font-weight: 700; font-size: 14px; font-style: italic; }
.ev2-pa-prev-title-listicle   { color: #fff; font-weight: 800; font-size: 14px; }
.ev2-pa-prev-title-howto      { color: #f5f5f5; font-weight: 700; font-size: 14px; }

/* Description preview */
.ev2-pa-prev-desc { font-family: 'Inter', sans-serif; color: #ccc; font-size: 12px; line-height: 1.5; word-wrap: break-word; }
.ev2-pa-prev-desc-auto { color: #ddd; font-style: italic; }
.ev2-pa-prev-desc-tagged { color: #ddd; }
.ev2-pa-prev-desc-tagged .ev2-pa-inline-tag { color: #64b5f6; font-weight: 600; }

/* Thumbnail mockup container */
.ev2-pa-thumb-mock {
  width: 100%; height: 80px;
  border-radius: 6px; overflow: hidden;
  display: block;
}
.ev2-pa-thumb-mock svg { display: block; width: 100%; height: 100%; }

/* Hashtag cloud */
.ev2-pa-hashtag-cloud { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.ev2-pa-hashtag {
  font-size: 11px; padding: 3px 8px;
  background: rgba(33,150,243,0.15); color: #64b5f6;
  border-radius: 12px; font-weight: 600;
}
.ev2-pa-hashtag-suggested {
  background: rgba(212,175,55,0.08); color: rgba(212,175,55,0.75);
  border: 1px dashed rgba(212,175,55,0.3); font-style: italic;
  font-weight: normal;
}
.ev2-pa-hashtag-note { font-size: 10px; color: #777; font-style: italic; margin-left: 4px; }

/* Platform icons */
.ev2-pa-platform-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.ev2-pa-platform-icon {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; padding: 3px 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 14px; color: #aaa;
  transition: all 0.15s;
}
.ev2-pa-platform-icon-active {
  background: linear-gradient(135deg, rgba(212,175,55,0.25), rgba(240,199,94,0.15));
  border-color: #d4af37; color: #fff; font-weight: 600;
}

/* === Mobile: hide preview pane (chip labels carry meaning) === */
@media (max-width: 900px) {
  .ev2-pa-modal.ev2-pa-modal-with-preview .ev2-pa-modal-content {
    width: min(900px, 95vw);
  }
  .ev2-pa-main-grid { grid-template-columns: 1fr; }
  .ev2-pa-preview-pane { display: none; }
}
