/* Iron & Fade Barbershop — Sample Reel Styles */

:root {
  --bg: #0D0D0D;
  --accent: #D4FF00;
  --accent-red: #FF3B30;
  --fg: #F5F5F0;
  --fg-dim: #8A8A85;
  --surface: #161616;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #000;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── REEL CONTAINER ── */
.reel-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 80px rgba(212, 255, 0, 0.08);
}

/* ── SCENES ── */
.scene {
  position: absolute;
  inset: 0;
  display: none;
}

.scene.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay gradient bottom */
.scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0,0,0,0.75) 70%,
    rgba(0,0,0,0.95) 100%
  );
}

/* Ken Burns: slow zoom + pan */
@keyframes kenBurns1 {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.12) translate(-3%, -2%); }
}
@keyframes kenBurns2 {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(4%, -3%); }
}
@keyframes kenBurns3 {
  0%   { transform: scale(1.05) translate(0, 2%); }
  100% { transform: scale(1.0) translate(0, 0); }
}
@keyframes kenBurns4 {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.18) translate(-5%, 0%); }
}
@keyframes kenBurns5 {
  0%   { transform: scale(1.0) translate(2%, 0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}
@keyframes kenBurns6 {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.1) translate(3%, -2%); }
}

/* ── CAPTION SYSTEM ── */
.caption {
  position: absolute;
  z-index: 10;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}

/* Hook caption — big impact */
.caption-hook {
  font-size: clamp(28px, 7vw, 42px);
  letter-spacing: -0.02em;
  text-align: center;
  width: 90%;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.caption-hook .accent { color: var(--accent); }

.caption-hook-small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

/* Scene titles */
.caption-scene-title {
  font-size: clamp(36px, 10vw, 52px);
  letter-spacing: -0.03em;
  top: 35%;
  left: 8%;
  width: 84%;
  text-shadow: 0 2px 24px rgba(0,0,0,0.9);
}

.caption-scene-sub {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  top: 53%;
  left: 8%;
  font-family: 'DM Sans', sans-serif;
}

/* Big impact line */
.caption-impact {
  font-size: clamp(20px, 5.5vw, 32px);
  letter-spacing: -0.01em;
  top: 38%;
  left: 8%;
  width: 84%;
  text-shadow: 0 2px 16px rgba(0,0,0,0.85);
}

/* Bar sign effect */
@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ── PROGRESS BAR ── */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 20;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.5s linear;
}

/* ── SCENE COUNTER ── */
.scene-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  z-index: 20;
  font-family: 'DM Sans', sans-serif;
}

/* ── WATERMARK ── */
.watermark {
  position: absolute;
  bottom: 20px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
}

.watermark-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: rgba(212, 255, 0, 0.9);
  letter-spacing: -0.01em;
}

/* ── CTA SCENE ── */
.cta-btn {
  display: inline-block;
  margin-top: 16px;
  background: var(--accent);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 99px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.cta-scene .caption-impact {
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
}

/* ── ANIMATIONS ── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px) translateX(-50%); }
  to   { opacity: 1; transform: translateY(0) translateX(-50%); }
}
@keyframes slideUpLeft {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUpSub {
  from { opacity: 0; transform: translateY(16px) translateX(-50%); }
  to   { opacity: 1; transform: translateY(0) translateX(-50%); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.8) translateX(-50%); }
  60%  { opacity: 1; transform: scale(1.05) translateX(-50%); }
  100% { opacity: 1; transform: scale(1) translateX(-50%); }
}

.scene.active .caption-hook { animation: slideUp 0.5s ease-out forwards; }
.scene.active .caption-hook-small { animation: slideUpSub 0.6s ease-out 0.15s both; }
.scene.active .caption-scene-title { animation: slideUpLeft 0.5s ease-out 0.1s both; }
.scene.active .caption-scene-sub { animation: slideUpLeft 0.5s ease-out 0.25s both; }
.scene.active .caption-impact { animation: popIn 0.5s ease-out 0.2s both; }
.scene.active .cta-btn { animation: slideUpLeft 0.5s ease-out 0.4s both; }

/* ── BEFORE/AFTER SPLIT ── */
.split-container {
  position: absolute;
  inset: 0;
  display: flex;
}

.split-left, .split-right {
  flex: 1;
  overflow: hidden;
}

.split-left img, .split-right img {
  width: 200%;
  height: 100%;
  object-fit: cover;
}

.split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  z-index: 5;
  transform: translateX(-50%);
}

.split-label {
  position: absolute;
  bottom: 14%;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  z-index: 6;
}

.split-label.before {
  left: 8%;
  background: rgba(0,0,0,0.7);
  color: var(--fg-dim);
  border: 1px solid rgba(255,255,255,0.2);
}

.split-label.after {
  right: 8%;
  background: var(--accent);
  color: #000;
}

/* Scene 5: social proof number */
.stat-badge {
  position: absolute;
  top: 14%;
  left: 8%;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(212, 255, 0, 0.3);
  border-radius: 8px;
  padding: 10px 16px;
  z-index: 10;
}

.stat-badge-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-badge-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── FRAMEFLOW BRANDING OVERLAY ── */
.brand-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  z-index: 15;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.brand-strip-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: -0.01em;
}