/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #1a1008;
  color: #F5E6D3;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
}

:root {
  --brown: #6B4226;
  --brown-mid: #8B5E3C;
  --brown-dark: #3D2514;
  --brown-deep: #1a1008;
  --beige: #F5E6D3;
  --beige-dim: rgba(245,230,211,0.5);
  --beige-faint: rgba(245,230,211,0.15);
  --white: #FFFFFF;
  --white-dim: rgba(255,255,255,0.7);
}

/* === HERO VIDEO LAYER (fixed behind everything) === */
.hero-video-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: #000;
}
.hero-video-layer video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video-layer::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg,
    rgba(26,16,8,0.88) 0%,
    rgba(26,16,8,0.12) 40%,
    rgba(26,16,8,0.3) 100%
  );
  z-index: 1;
}

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top nav */
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
}
.hero-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--white);
}
.hero-logo span { color: var(--brown-mid); }
.hero-nav { display: flex; gap: 28px; }
.hero-nav a {
  color: var(--white-dim);
  font-size: 11px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.hero-nav a:hover { color: var(--white); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Center play button */
.hero-center {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  box-shadow: 0 0 50px rgba(255,255,255,0.1);
  transition: all 0.3s;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 50px rgba(255,255,255,0.1); }
  50% { box-shadow: 0 0 70px rgba(255,255,255,0.2); }
}
.play-btn:hover {
  box-shadow: 0 0 80px rgba(255,255,255,0.3);
  transform: scale(1.05);
}
.play-triangle {
  width: 0; height: 0;
  border-left: 22px solid var(--white);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 5px;
}
.play-label {
  color: var(--white-dim);
  font-size: 10px;
  letter-spacing: 4px;
  margin-top: 14px;
  text-transform: uppercase;
}

/* Bottom branding */
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 40px 36px;
}
.hero-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--white);
}
.hero-subtitle {
  color: var(--beige);
  font-size: 10px;
  letter-spacing: 4px;
  margin-top: 6px;
}
.view-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.view-projects-text {
  color: var(--beige-dim);
  font-size: 10px;
  letter-spacing: 2px;
}
.view-projects-arrow {
  color: var(--beige);
  font-size: 16px;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* === CONTENT BODY (slides over video) === */
.content-body {
  position: relative;
  z-index: 2;
  background: var(--brown-deep);
}

/* === CREATOR SECTIONS === */
.creator-section {
  min-height: 100vh;
  padding: 60px 60px;
  display: flex;
  align-items: center;
  gap: 50px;
  border-top: 1px solid rgba(245,230,211,0.04);
}
.creator-section.reverse {
  flex-direction: row-reverse;
}

.creator-video-side {
  flex: 1.4;
  min-width: 0;
}
.creator-info-side {
  flex: 1;
  min-width: 0;
}

.creator-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--brown-dark);
  border-radius: 12px;
  border: 1px solid rgba(245,230,211,0.06);
  overflow: hidden;
}
.creator-video-embed iframe,
.creator-video-embed video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.creator-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--brown-dark);
  border: 3px solid rgba(245,230,211,0.1);
  object-fit: cover;
  margin-bottom: 24px;
}

.creator-name {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.creator-handle {
  font-size: 15px;
  color: var(--brown-mid);
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.creator-role {
  font-size: 15px;
  color: var(--beige-dim);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.creator-highlight {
  padding: 20px 24px;
  background: rgba(107,66,38,0.12);
  border-left: 3px solid var(--brown-mid);
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}
.creator-highlight-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-mid);
  font-weight: 700;
  margin-bottom: 8px;
}
.creator-highlight-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

.creator-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(107,66,38,0.2);
  border: 1px solid rgba(107,66,38,0.3);
  color: var(--beige);
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
}

/* === TESTIMONIALS === */
.testimonial-section {
  min-height: 50vh;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--brown-dark);
}
.testimonial-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245,230,211,0.15);
  margin-bottom: 24px;
}
.testimonial-quote {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  max-width: 900px;
  line-height: 1.6;
}
.testimonial-quote::before {
  content: '\201C';
  color: var(--brown-mid);
  font-size: 60px;
  display: block;
  margin-bottom: -16px;
  font-style: normal;
}
.testimonial-author {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--beige);
  letter-spacing: 1px;
}
.testimonial-author-role {
  font-size: 14px;
  color: var(--beige-dim);
  margin-top: 4px;
}

/* === CONTACT === */
.contact-section {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--brown-deep) 0%, #0f0a04 100%);
}
.contact-label {
  color: var(--brown-mid);
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.contact-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
  line-height: 1.2;
  transform: scale(1);
  will-change: transform;
}
.contact-title.scale-up {
  animation: slowGrow 8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slowGrow {
  0%   { transform: scale(1); }
  100% { transform: scale(1.8); }
}
.contact-sub {
  color: var(--beige-dim);
  font-size: 18px;
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.6;
}
.contact-links {
  display: flex;
  gap: 20px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  border-radius: 40px;
  border: 1px solid rgba(245,230,211,0.15);
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
  background: rgba(107,66,38,0.1);
}
.contact-link:hover {
  background: rgba(107,66,38,0.25);
  border-color: var(--brown-mid);
  box-shadow: 0 0 30px rgba(107,66,38,0.15);
  transform: translateY(-2px);
}

/* === STATS COUNTER === */
.stats-section {
  min-height: auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--brown-dark);
  border-top: 1px solid rgba(245,230,211,0.04);
}
.stat-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stat-counter.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-number-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-plus {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 400;
  color: var(--brown-mid);
  margin-right: 6px;
}
.stat-number {
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-views-label {
  font-size: clamp(48px, 9vw, 80px);
  font-weight: 900;
  color: var(--beige);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: clamp(24px, 4vw, 48px);
  text-align: center;
  opacity: 0;
  transform: translate3d(0,0,0) scale(0.4);
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
}
.stat-views-label.pop {
  animation: viewsReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes viewsReveal {
  0%   { opacity: 0; transform: translate3d(0, -20px, 0) scale(0.4); filter: blur(8px); }
  60%  { opacity: 1; filter: blur(0px); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0px); }
}
.stat-sub {
  color: var(--beige-dim);
  font-size: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(32px, 5vw, 56px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s, transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}
.stat-sub.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === CREATORS SHOWCASE (matching VFX Malice dimensions) === */
.creators-showcase {
  min-height: 100vh;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--brown-dark);
}
.showcase-label {
  color: var(--brown-mid);
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}
.showcase-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 48px;
}
.showcase-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  width: 100%;
}
.showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  width: 33.333%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.showcase-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.showcase-card:nth-child(2) { transition-delay: 0.25s; }
.showcase-card:nth-child(3) { transition-delay: 0.5s; }
.showcase-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50px;
  object-fit: cover;
  display: block;
}
.showcase-card h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-top: 16px;
  margin-bottom: 8px;
}
.showcase-subs {
  font-size: 20px;
  font-weight: 700;
  color: var(--brown-mid);
}
.showcase-more {
  margin-top: 48px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--beige-dim);
  font-style: italic;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s;
}
.showcase-more.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === FOOTER === */
footer {
  padding: 30px 40px;
  text-align: center;
  color: var(--beige-faint);
  font-size: 11px;
  border-top: 1px solid rgba(245,230,211,0.04);
  background: #0f0a04;
}

/* === SHOWREEL FULLSCREEN === */
.showreel-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.showreel-modal.active {
  opacity: 1;
  visibility: visible;
}
.showreel-modal video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-close {
  position: absolute;
  top: 20px; right: 28px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 44px; height: 44px;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  z-index: 101;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.1);
}

/* Hide hero elements when modal is active */
body.showreel-playing .hero-top,
body.showreel-playing .hero-center,
body.showreel-playing .hero-bottom {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Progress bar for showreel */
.showreel-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--brown-mid);
  transition: width 0.1s linear;
  z-index: 102;
}

/* === SCROLL ANIMATIONS === */
.creator-section,
.testimonial-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.creator-section.visible,
.testimonial-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MOBILE === */
@media (max-width: 768px) {
  /* Hero: fullscreen video background, smooth parallax scroll */
  .hero-video-layer {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
  }
  .hero-video-layer video {
    object-fit: cover;
  }
  .hero-video-layer::after {
    background: linear-gradient(0deg,
      rgba(26,16,8,0.88) 0%,
      rgba(26,16,8,0.12) 40%,
      rgba(26,16,8,0.3) 100%
    );
  }
  .hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
  }
  .hero-center { padding: 0; }
  .play-btn { width: 60px; height: 60px; }
  .play-triangle {
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    margin-left: 3px;
  }
  .play-label { font-size: 9px; }
  .content-body { background: var(--brown-deep); }

  .hero-nav { display: none; }
  .hero-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; right: 20px;
    background: rgba(26,16,8,0.95);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(245,230,211,0.08);
    gap: 14px;
    z-index: 10;
  }
  .nav-toggle { display: flex; }

  .hero-top { padding: 16px 20px; }
  .hero-title { font-size: 28px; letter-spacing: 1px; }
  .hero-subtitle { font-size: 9px; letter-spacing: 3px; }
  .hero-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 20px 24px;
  }
  .view-projects { align-self: center; }

  /* Stats counter mobile */
  .stats-section {
    min-height: auto;
    padding: 48px 12px;
    overflow: hidden;
  }
  .stat-number {
    font-size: clamp(36px, 11vw, 56px);
  }
  .stat-plus {
    font-size: clamp(20px, 5vw, 30px);
  }
  .stat-views-label {
    font-size: clamp(22px, 7vw, 36px);
    letter-spacing: 0.3em;
    margin-top: clamp(16px, 3vw, 28px);
  }
  .stat-sub {
    font-size: 14px;
    margin-top: 24px;
  }

  /* Creator sections mobile */
  .creator-section,
  .creator-section.reverse {
    flex-direction: column;
    padding: 48px 20px;
    gap: 28px;
    min-height: auto;
  }
  .creator-name { font-size: 24px; }
  .creator-handle { font-size: 13px; }
  .creator-role { font-size: 13px; }
  .creator-highlight-text { font-size: 15px; }
  .creator-avatar { width: 56px; height: 56px; }

  /* Testimonial mobile */
  .testimonial-section {
    padding: 48px 20px;
    min-height: auto;
  }
  .testimonial-quote { font-size: 20px; }
  .testimonial-avatar { width: 48px; height: 48px; }

  /* Showcase cards mobile — stack vertically */
  .creators-showcase {
    padding: 60px 20px;
    min-height: auto;
  }
  .showcase-title {
    font-size: 26px;
    margin-bottom: 28px;
  }
  .showcase-grid {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .showcase-card {
    width: 80%;
    max-width: 340px;
    padding: 12px 0;
  }
  .showcase-img {
    border-radius: 30px;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
  .showcase-card h3 { font-size: 22px; margin-top: 12px; }
  .showcase-subs { font-size: 15px; }

  /* Contact mobile */
  .contact-section { padding: 80px 20px; min-height: 100vh; min-height: 100dvh; }
  .contact-title { font-size: clamp(32px, 8vw, 42px); margin-bottom: 12px; }
  .contact-sub { font-size: 16px; }
  .contact-links { flex-direction: column; gap: 16px; width: 100%; max-width: 320px; }
  .contact-link {
    font-size: 18px;
    padding: 22px 36px;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 24px; letter-spacing: 1px; }
  .creator-section,
  .creator-section.reverse { padding: 40px 16px; }
  .stat-number { font-size: clamp(32px, 10vw, 48px); }
  .stat-plus { font-size: clamp(18px, 5vw, 28px); }
  .stat-views-label { font-size: clamp(18px, 6vw, 30px); letter-spacing: 0.25em; }
}
