:root {
  --bg-color: #ffffff;
  --text-main: #000000;
  --text-muted: #6b7280;
  --card-radius: 16px;
  --purple-accent: #8b5cf6;
  --border-color: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: transparent;
  color: var(--text-main);
  padding-bottom: 40px;
  overflow-x: hidden;
}

.site-background-video,
.site-background-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  pointer-events: none;
}

.site-background-video {
  z-index: 0;
  object-fit: cover;
}

.site-background-overlay {
  z-index: 1;
  background: transparent;
}

body.vfx-active .site-background-video,
body.vfx-active .site-background-overlay {
  visibility: hidden;
}

/* Navbar Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  padding: 10px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid #f3f4f6;
  background: #ffffff;
  position: relative;
  z-index: 10;
}

.container {
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 40px;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links button {
  background: none;
  border: none;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links button:hover {
  color: var(--text-main);
  background: #f9fafb;
}

.nav-links button.active {
  color: var(--text-main);
  background: #f3f4f6;
  font-weight: 700;
}

.nav-links .contact-nav-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 20px;
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(16, 37, 31, 0.7) 0%, rgba(15, 118, 110, 0.7) 42%, rgba(17, 24, 39, 0.7) 100%) !important;
  font-weight: 700 !important;
}

.nav-links .contact-nav-btn:hover {
  background: linear-gradient(135deg, rgba(22, 54, 45, 0.78) 0%, rgba(13, 148, 136, 0.78) 42%, rgba(3, 7, 18, 0.78) 100%) !important;
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-add {
  background: #111827;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* Main Container */
.container {
  width: min(1280px, calc(100% - 48px));
  margin: 40px auto 0;
  padding: 0;
}

.page-content {
  display: none;
}

.page-content.active {
  display: block;
}

.section-block {
  margin-bottom: 60px;
}

.ugc-intro {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 24px;
  padding: 8px 72px 22px;
  text-align: center;
}

.ugc-intro-mark {
  position: absolute;
  left: 0;
  top: 24px;
  color: #f97316;
  width: 58px;
  height: 58px;
  transform: rotate(-14deg);
}

.ugc-intro-mark svg,
.ugc-intro-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ugc-intro h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #111827;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  white-space: nowrap;
}

.ugc-intro h1 .ugc-intro-mark {
  position: static;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  transform: rotate(-14deg);
}

.ugc-title-text { display: block; }

.ugc-intro h1 .orange-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 7px;
  border-radius: 50%;
  background: #f97316;
  vertical-align: 0.08em;
}

.ugc-intro p {
  margin: 0 auto;
  max-width: 780px;
  color: #000000;
  font-size: clamp(14px, 1.32vw, 19px);
  line-height: 1.25;
  text-align: center;
}

.ugc-intro p strong { color: #000000; font-weight: 700; }

.ugc-intro-arrow {
  position: absolute;
  right: 8%;
  top: 56%;
  color: #f97316;
  width: clamp(68px, 10vw, 150px);
  height: clamp(68px, 10vw, 150px);
  transform: rotate(4deg);
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.title-area h1 {
  font-size: 32px;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.title-area p {
  color: #525252;
  font-size: 15px;
  font-weight: 800 !important;
  font-style: italic !important;
}

.controls {
  display: flex;
  gap: 10px;
}

.template-social-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: #111827;
  background: #ffffff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.template-social-btn:hover {
  border-color: #9ca3af;
  background: #f3f4f6;
  transform: translateY(-1px);
}

.template-social-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.template-social-btn.whatsapp-btn svg {
  fill: currentColor;
  stroke: none;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #374151;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.arrow-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 20px 0;
  scrollbar-width: none;
  min-height: 380px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

/* CREATIVE ADS & JINGLES & WALKTHROUGH WHITE THEME GRID */
.grid-pagination-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.grid-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.grid-page {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
  contain: paint;
}

.grid-page-count-1 {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.grid-page-count-2 {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
}

.grid-page:not(.is-active) {
  visibility: hidden;
  pointer-events: none;
}

.grid-page .card {
  width: 100%;
  min-width: unset;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 300px;
  color: var(--text-muted);
  font-size: 15px;
  border: 2px dashed var(--border-color);
  border-radius: var(--card-radius);
}

/* Video Card Styles */
.card {
  position: relative;
  flex: 0 0 calc(20% - 13px);
  min-width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #111827;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* The whole video frame stays visible and centred inside the card, so a 9:16
   upload fills a 9:16 UGC card exactly while a differently shaped upload is
   letterboxed instead of being cropped off centre. */
.card video { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  background: #000; 
  display: block; 
}

.card-embed-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.card-embed-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.card-embed {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
  pointer-events: auto;
}

.video-state {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  padding: 5px 9px;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
}

.card.media-loading .video-state,
.card.media-error .video-state { opacity: 1; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  z-index: 2;
  pointer-events: none;
}

.badge.top-ranked { background: #ff5a36; color: white; }

/* Cards with no rank get no badge markup at all; this is just a guard so an
   empty badge can never leave a stray white pill floating over the video. */
.badge:empty { display: none; }

.card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.action-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.card.playing .play-btn { opacity: 0; }
.card:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: rgba(255, 255, 255, 0.95); }

.play-icon {
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #111827;
  margin-left: 3px;
}

/* VISUAL EFFECTS HERO & COVERFLOW SECTION */
.vfx-page-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  margin-top: -40px;
}

.vfx-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 60px;
  overflow: hidden;
}

.vfx-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.65;
  filter: brightness(0.85);
}

.vfx-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
  z-index: 2;
}

.vfx-top-bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  font-family: monospace;
}

.vfx-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin-bottom: 20px;
}

.vfx-hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.vfx-hero-content h1 span.outlined {
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff;
}

.vfx-hero-content h1 span.gradient-text {
  background: linear-gradient(90deg, #10b981, #06b6d4, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vfx-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 600px;
}

.vfx-hero-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn-green {
  background: #10b981;
  color: #000;
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.btn-dark-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: white;
  padding: 10px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.red-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}

.vfx-ticker-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.vfx-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}

.vfx-ticker-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  padding-right: 20px;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.coverflow-section {
  position: relative;
  padding: 50px 0 80px 0;
  background: #000000;
  overflow: hidden;
  text-align: center;
}

.vfx-section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.coverflow-container {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.poster-card {
  position: absolute;
  width: 210px;
  height: 315px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  background: #18181b;
  -webkit-box-reflect: below 6px linear-gradient(transparent, transparent 80%, rgba(255,255,255,0.15));
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverflow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  font-size: 22px;
  transition: all 0.3s ease;
}

.coverflow-nav-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: #ffffff;
  scale: 1.1;
}

.coverflow-nav-btn.left { left: 20px; }
.coverflow-nav-btn.right { right: 20px; }

/* GET IN TOUCH / CONTACT US SECTION (DARK THEME) */
.contact-section {
  position: relative;
  margin-top: 80px;
  padding: 70px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  background-image: radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.12), transparent 45%),
                    radial-gradient(circle at 85% 80%, rgba(139, 92, 246, 0.12), transparent 45%);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  overflow: hidden;
}

.contact-info h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 28px;
}

.contact-info p.description {
  color: #9ca3af;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 440px;
}

.info-group {
  margin-bottom: 24px;
}

.info-group h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.info-group p {
  font-size: 15px;
  color: #d1d5db;
  line-height: 1.5;
}

.info-group p a {
  color: inherit;
  text-decoration: none;
}

.info-group p a:hover,
.info-group p a:focus-visible {
  color: #6ee7b7;
  text-decoration: underline;
}

.contact-social-group { margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.social-links a:hover {
  color: #10b981;
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}
.social-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-links a:nth-child(2) svg { fill: currentColor; stroke: none; }
.location-group { margin-bottom: 0; }
.location-group p span { color: #10b981; padding: 0 4px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 14px;
  color: #ffffff;
  background: #141414;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #10b981;
  background: #171717;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form select,
.contact-form select option {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 14px;
  color: #ffffff;
  background: #141414;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.contact-form select:focus {
  border-color: #10b981;
  background: #171717;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.btn-send {
  background: #10b981;
  color: #04120c;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  width: fit-content;
  margin-top: 8px;
  transition: background 0.2s, transform 0.2s;
}

.btn-send:hover {
  background: #34d399;
  transform: translateY(-1px);
}

.btn-send:disabled { opacity: 0.6; cursor: wait; }

.form-status {
  min-height: 20px;
  font-size: 13px;
  line-height: 1.4;
}

.form-status.is-loading { color: #d1d5db; }
.form-status.is-success { color: #6ee7b7; }
.form-status.is-error { color: #fca5a5; }

@media (max-width: 900px) {
  header { align-items: flex-start; gap: 12px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
  .nav-links button,
  .nav-links .contact-nav-btn { padding: 6px 8px; font-size: 11px; }
  .contact-info h2 { font-size: 38px; line-height: 1.05; }
  .ugc-intro p { max-width: calc(100% - 80px); text-align: center; }
  .grid-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  header { padding: 9px 14px; }
  .logo img { height: 34px; }
  .nav-links { gap: 1px; }
  .nav-links button,
  .nav-links .contact-nav-btn { padding: 5px 6px; font-size: 10px; }
  .ugc-intro { padding: 2px 16px 8px; margin-bottom: 8px; }
  .ugc-intro h1 { width: fit-content; max-width: 100%; gap: 3px; font-size: clamp(16px, 4.1vw, 30px); letter-spacing: -0.5px; white-space: nowrap; text-align: center; margin: 0 auto 10px; }
  .ugc-intro h1 .ugc-intro-mark { width: clamp(24px, 7vw, 34px); height: clamp(24px, 7vw, 34px); }
  .ugc-title-text { flex: 0 0 auto; min-width: 0; }
  .ugc-intro h1 .orange-dot { width: 6px; height: 6px; margin-left: 3px; vertical-align: 0.04em; }
  .ugc-intro p { max-width: 100%; margin-left: 0; padding-right: 0; font-size: 11px; line-height: 1.25; text-align: center; }
  .ugc-intro-arrow { display: none; }
}

@media (max-width: 640px) {
  header { flex-direction: column; align-items: center; padding: 10px 16px; }
  .nav-links { justify-content: center; width: 100%; gap: 2px 0; }
  .nav-links button { font-size: 10px; padding: 6px 7px; }
  .container { width: calc(100% - 28px); margin-top: 24px; }
  .section-block { margin-bottom: 40px; }
  .ugc-intro { padding: 2px 16px 8px; margin-bottom: 8px; }
  .ugc-intro h1 { flex-direction: row; width: fit-content; max-width: 100%; gap: 3px; font-size: clamp(14px, 4.1vw, 25px); line-height: 1.08; white-space: nowrap; text-align: center; margin: 0 auto 8px; }
  .ugc-intro h1 .ugc-intro-mark { width: clamp(22px, 7vw, 32px); height: clamp(22px, 7vw, 32px); }
  .ugc-title-text { max-width: none; }
  .ugc-intro p { margin-left: 0; max-width: 100%; padding-right: 0; font-size: 11px; line-height: 1.25; text-align: center; }
  .ugc-intro-arrow { display: none; }
  .section-header { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 16px; }
  .title-area h1 { font-size: 25px; line-height: 1.15; letter-spacing: 0; }
  .title-area p { font-size: 13px; line-height: 1.45; }
  .controls { align-self: flex-end; }
  .arrow-btn { width: 36px; height: 36px; }
  .template-social-btn { width: 36px; height: 36px; }
  .carousel-container { gap: 10px; min-height: 300px; padding: 6px 0 14px; }
  .card { min-width: 174px; }
  .grid-pagination-wrapper { padding: 10px; border-radius: 12px; }
  .grid-page { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .grid-page-count-1,
  .grid-page-count-2 {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }
  .contact-section { margin-top: 52px; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 22px; border-radius: 16px; }
  .contact-info h2 { font-size: 28px; line-height: 1.05; letter-spacing: 0; margin-bottom: 20px; }
  .contact-info p.description { font-size: 14px; margin-bottom: 28px; }
  .contact-form { gap: 16px; }
  .contact-form input, .contact-form textarea, .contact-form select { min-width: 0; padding: 12px 13px; }
  .vfx-page-wrapper { margin-top: -24px; }
  .vfx-hero { min-height: 620px; height: 88vh; padding: 22px 20px; }
  .vfx-top-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    align-items: start;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 0.7px;
  }
  .vfx-top-bar span { min-width: 0; }
  .vfx-top-bar span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 2.5em;
    font-size: clamp(7px, 2.2vw, 9px);
    letter-spacing: 0.45px;
    white-space: nowrap;
  }
  .vfx-top-bar span:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .vfx-hero-content h1 { font-size: clamp(34px, 11vw, 48px); letter-spacing: 0; }
  .vfx-hero-content p { font-size: 14px; }
  .vfx-hero-buttons { flex-wrap: wrap; }
  .vfx-section-title { font-size: 22px; }
  .coverflow-container { height: 320px; }
  .poster-card { width: 120px; height: 180px; }
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
}

.modal h2 { margin-bottom: 16px; font-size: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border-color); }
.or-divider { text-align: center; margin: 10px 0; color: #9ca3af; font-size: 12px; font-weight: 600; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.btn-cancel { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border-color); background: white; cursor: pointer; }
.btn-submit { padding: 8px 14px; border-radius: 8px; border: none; background: #8b5cf6; color: white; cursor: pointer; }

.preview-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

/* Enlarged view: never bigger than 70% of the screen in either direction, and it
   shrink-wraps the video so the frame keeps its own aspect ratio instead of
   being forced into a 16:9 box. */
.preview-modal-box {
  position: relative;
  width: auto;
  height: auto;
  max-width: 70vw;
  max-height: 70vh;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.preview-modal-box::before {
  content: 'Loading video...';
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
  z-index: 1;
  opacity: 0;
}

.preview-modal-overlay.is-loading .preview-modal-box::before { opacity: 1; }

.preview-modal-box video {
  display: block;
  width: auto;
  height: auto;
  max-width: 70vw;
  max-height: 70vh;
  object-fit: contain;
  background: #000000;
}

#vfxShowreelFrame {
  display: none;
  width: min(900px, 80vw);
  height: min(600px, 75vh);
  border: 0;
  background: #000000;
}

/* Exactly three controls: play/pause, mute and restore. */
.preview-controls {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 6px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 210;
}

.preview-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.preview-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.preview-play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid currentColor;
  margin-left: 3px;
}

/* While playing, the triangle becomes two bars (pause). */
.preview-btn.is-playing .preview-play-icon {
  width: 12px;
  height: 14px;
  margin-left: 0;
  border: 0 none;
  background:
    linear-gradient(to right,
      currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}

