/* ==========================================================================
   HIATTOJOGA MEDIA KIT — DESIGN SYSTEM & STYLESHEET
   Inspirado na identidade visual Anime/Gaming de alta energia
   Paleta: Manga Orange, Crisp White, Manga Ink Black, Paper Gray
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@600;700;800;900&family=Oswald:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  /* Colors */
  --primary-orange: #FF6A00;
  --primary-orange-hover: #FF7E1D;
  --primary-orange-light: #FFF0E6;
  --primary-orange-glow: rgba(255, 106, 0, 0.35);
  
  --ink-black: #0D0E12;
  --ink-dark: #161820;
  --ink-card: #1F222B;
  --ink-muted: #5C6274;
  --ink-border: rgba(255, 255, 255, 0.08);

  --paper-white: #FFFFFF;
  --paper-light: #F7F8FA;
  --paper-card: #FFFFFF;
  --paper-border: #E8EBF2;
  --paper-muted: #6E7587;

  --accent-cyan: #00D2FF;
  --accent-green: #10B981;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-orange: 0 12px 30px rgba(255, 106, 0, 0.28);
  --shadow-card-hover: 0 24px 50px rgba(255, 106, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--paper-light);
  color: var(--ink-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Manga Background Texture Overlay */
.manga-bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('foto para fundo/9e9066d8-3f21-45d0-b374-5e177e8ef810.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(100%) contrast(120%);
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-black);
}

.heading-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-orange {
  color: var(--primary-orange);
}

.text-white {
  color: var(--paper-white);
}

.sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 106, 0, 0.12);
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 106, 0, 0.25);
}

/* Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR (Floating Glass Pill)
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.navbar-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 18px;
  transition: var(--transition-smooth);
  max-width: 1000px;
  width: 100%;
}

.navbar-pill:hover {
  box-shadow: 0 16px 42px rgba(255, 106, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--primary-orange);
  object-fit: cover;
  box-shadow: 0 0 12px var(--primary-orange-glow);
  transition: transform var(--transition-fast);
}

.brand-avatar:hover {
  transform: scale(1.08) rotate(-4deg);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--ink-black);
  line-height: 1;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--primary-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-dark);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-orange);
  background: rgba(255, 106, 0, 0.06);
}

.nav-link.active {
  background: var(--primary-orange);
  color: var(--paper-white);
  box-shadow: 0 4px 14px var(--primary-orange-glow);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-orange);
  color: var(--paper-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px var(--primary-orange-glow);
  transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.45);
}

.nav-cta-btn .pulse-dot {
  width: 8px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 50%;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink-black);
  padding: 4px 8px;
}

/* ==========================================================================
   HERO SECTION (Tela 1 da Referência — Reconstrução HTML/CSS Pura)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #FFFFFF;
}

.hero-ref-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: calc(100vw * 9 / 16);
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(90deg, 
      rgba(255, 106, 0, 0.94) 0%, 
      rgba(255, 120, 23, 0.85) 15%, 
      rgba(255, 145, 45, 0.45) 30%, 
      rgba(255, 255, 255, 0.82) 46%, 
      rgba(255, 255, 255, 0.94) 68%, 
      rgba(255, 255, 255, 0.97) 100%
    ),
    url('foto para fundo/9e9066d8-3f21-45d0-b374-5e177e8ef810.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Top Left Logo */
.hero-top-left-logo {
  position: absolute;
  top: clamp(28px, 4vw, 56px);
  left: clamp(28px, 4vw, 64px);
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.hero-logo-badge {
  position: relative;
  display: inline-block;
  padding: 4px 16px 4px 6px;
}

.hero-logo-ring {
  position: absolute;
  top: -8px;
  left: -10px;
  width: 108%;
  height: 124%;
  border: 4px solid #FF7817;
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
  opacity: 0.95;
}

.hero-logo-text {
  font-family: var(--font-display), 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 3.2vw, 3.8rem);
  font-weight: 700;
  line-height: 0.88;
  color: #111111;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-logo-sub {
  margin-top: 14px;
  font-size: clamp(0.62rem, 0.74vw, 0.84rem);
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Top Right Tagline */
.hero-top-right-accent {
  position: absolute;
  top: clamp(28px, 4vw, 56px);
  right: clamp(28px, 4vw, 68px);
  z-index: 5;
  border-left: 3px solid #FF6A00;
  padding-left: 14px;
  font-size: clamp(0.72rem, 0.85vw, 0.95rem);
  font-weight: 800;
  color: #222222;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Bottom Right Accent */
.hero-bot-right-accent {
  position: absolute;
  bottom: clamp(36px, 4.6vw, 68px);
  right: clamp(28px, 4vw, 68px);
  z-index: 6;
  border-left: 3px solid #FF6A00;
  padding-left: 14px;
  font-size: clamp(0.7rem, 0.82vw, 0.92rem);
  font-weight: 800;
  color: #222222;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* Character Cutout with Soft Bottom Mask */
.hero-char-img {
  position: absolute;
  bottom: -14px;
  left: clamp(-30px, -1.2vw, 5px);
  height: 98%;
  max-height: 995px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.38));
  object-fit: contain;
  object-position: bottom left;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,0.3) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,0.3) 92%, transparent 100%);
}

/* Hero Bottom Wave Divider (Maquiagem da base do personagem e transição orgânica) */
.hero-bottom-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(80px, 8.8vw, 140px);
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  line-height: 0;
}

.hero-bottom-wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Right Content Area */
.hero-content-block {
  position: relative;
  z-index: 6;
  margin-left: 54%;
  max-width: 780px;
  padding-right: clamp(24px, 3.5vw, 64px);
}

.hero-ref-title {
  font-family: var(--font-display), 'Oswald', sans-serif;
  font-size: clamp(3rem, 4.8vw, 5.8rem);
  font-weight: 700;
  line-height: 1.0;
  color: #111111;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.hero-ref-title .text-orange {
  color: #FF6A00;
}

.hero-ref-desc {
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: #383A42;
  margin: clamp(14px, 1.6vw, 22px) 0 clamp(20px, 2.2vw, 28px) 0;
  max-width: 580px;
}

/* CTA Button */
.hero-ref-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #FF7817 0%, #FF5500 100%);
  color: #FFFFFF !important;
  font-size: clamp(0.95rem, 1.15vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: clamp(14px, 1.4vw, 18px) clamp(32px, 2.6vw, 46px);
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(255, 106, 0, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-ref-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 106, 0, 0.6);
  color: #FFFFFF !important;
}

.cta-handshake-icon {
  display: inline-flex;
  align-items: center;
}

/* Stats Badges */
.hero-ref-stats-list {
  margin-top: clamp(24px, 3.2vw, 42px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 18px);
}

.hero-ref-stat-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
}

.stat-row-left {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  min-width: clamp(220px, 22vw, 300px);
}

.stat-row-brand {
  font-family: var(--font-display), 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.stat-row-divider {
  width: 2px;
  height: clamp(34px, 4vw, 48px);
  background: #2B2D38;
}

.stat-row-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.stat-row-num {
  font-family: var(--font-display), 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  font-weight: 700;
  color: #FF6A00;
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-row-lbl {
  font-size: clamp(0.65rem, 0.72vw, 0.8rem);
  font-weight: 800;
  color: #333333;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ==========================================================================
   METRICS SECTION (Principais Estatísticas do Canal)
   ========================================================================== */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-header .section-tag {
  margin-bottom: 12px;
}

.section-header .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--ink-black);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header .section-desc {
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kpi-card {
  background: var(--paper-white);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-orange);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.kpi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 106, 0, 0.3);
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.kpi-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.kpi-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--paper-muted);
  background: var(--paper-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-number {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--ink-black);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.kpi-number .unit {
  font-size: 1.8rem;
  color: var(--primary-orange);
  margin-left: 4px;
}

.kpi-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-dark);
  margin-bottom: 4px;
}

.kpi-subtitle {
  font-size: 0.8rem;
  color: var(--paper-muted);
}

/* ==========================================================================
   FEATURED VIDEOS (Tela 2 da Referência — MOST POPULAR / HIATTOJOGA)
   ========================================================================== */
.popular-section {
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: calc(100vw * 9 / 16);
  height: calc(100vw * 9 / 16);
  background: #FFFFFF;
  overflow: hidden;
  display: flex;
}

.popular-ref-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background Layer */
.popular-ref-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  pointer-events: none;
  z-index: 1;
}

.popular-ref-bg-orange {
  width: 28%;
  min-width: 280px;
  background: linear-gradient(180deg, #FF6A00 0%, #FF7817 100%);
  position: relative;
  overflow: hidden;
}

.popular-ref-bg-orange .ref-watermark-vertical {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 8.5vw, 10.5rem);
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
  white-space: nowrap;
  user-select: none;
}

.popular-ref-bg-manga {
  flex: 1;
  position: relative;
  background-color: #FAFAFA;
  background-image: url('foto para fundo/9e9066d8-3f21-45d0-b374-5e177e8ef810.png');
  background-size: cover;
  background-position: center top;
}

.popular-ref-bg-manga::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.62);
}

/* Foreground Content */
.popular-ref-content {
  position: relative;
  z-index: 2;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

/* Top Header Bar */
.popular-ref-header {
  display: flex;
  align-items: flex-start;
  padding: clamp(28px, 3.2vw, 54px) clamp(24px, 3vw, 48px) 0 clamp(24px, 3vw, 48px);
  width: 100%;
}

.popular-ref-orange-label {
  width: 26%;
  min-width: 250px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.2vw, 4.4rem);
  color: #FFFFFF;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: clamp(6px, 0.8vw, 12px);
}

.popular-ref-manga-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Minimalist navigation links (Home, About, Contact, Gallery) */
.karasuno-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(6px, 0.8vw, 12px);
}

.karasuno-nav-item {
  font-size: clamp(0.95rem, 1.15vw, 1.25rem);
  font-weight: 600;
  color: #2B2D38;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.karasuno-nav-item:hover {
  color: var(--primary-orange);
}

.karasuno-nav-item.active {
  font-weight: 700;
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Giant "HIATTOJOGA" title (exact Karasuno High counterpart!) */
.karasuno-title {
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 8.4vw, 9.4rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: rgba(35, 37, 46, 0.9);
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  user-select: none;
}

/* Cards Viewport & Track */
.popular-cards-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: clamp(6px, 1vw, 18px) 0 clamp(10px, 1.2vw, 20px) 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  position: relative;
}

.popular-cards-viewport:active,
.popular-cards-viewport.is-dragging {
  cursor: grabbing !important;
  scroll-behavior: auto !important;
}

.popular-cards-viewport.is-dragging * {
  user-select: none !important;
}

.popular-cards-viewport::-webkit-scrollbar {
  display: none;
}

/* Floating Quick Drag Tutorial Pill */
.carousel-drag-tutorial {
  position: absolute;
  bottom: clamp(105px, 10.5vw, 155px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.carousel-drag-tutorial.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.drag-tutorial-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 106, 0, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 106, 0, 0.4);
  padding: 12px 24px;
  border-radius: 40px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(0.88rem, 1.05vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: tutorialSway 2s ease-in-out infinite;
}

.drag-hand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.2);
  color: var(--primary-orange);
  animation: dragIconPulse 1.2s ease-in-out infinite alternate;
}

@keyframes tutorialSway {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-16px);
  }
  75% {
    transform: translateX(16px);
  }
}

@keyframes dragIconPulse {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 8px rgba(255, 106, 0, 0.3);
  }
  100% {
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(255, 106, 0, 0.8);
  }
}

.popular-cards-track {
  display: flex;
  gap: clamp(22px, 1.8vw, 34px);
  width: max-content;
  align-items: center;
  /* Positions Card 1 directly overlapping the orange-to-manga boundary (28%) */
  padding-left: calc(28% - (clamp(370px, 25vw, 475px) / 2));
  padding-right: 60px;
  margin-top: clamp(-24px, -1.8vw, -10px);
}

/* The Reference Portrait Video Card */
.ref-video-card {
  width: clamp(280px, 18vw, 345px);
  height: clamp(380px, 24.5vw, 465px);
  border-radius: clamp(24px, 1.8vw, 32px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  background: #181A20;
  opacity: 0.86;
  filter: brightness(0.95);
  z-index: 2;
}

/* Card 1 / Selected Card: Noticeably larger with explicit 'selected' visual feedback */
.ref-video-card.is-selected,
.ref-video-card:first-child {
  width: clamp(370px, 25vw, 475px);
  height: clamp(475px, 31.5vw, 585px);
  border-radius: clamp(30px, 2.3vw, 40px);
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 32px rgba(255, 106, 0, 0.32);
  opacity: 1;
  filter: brightness(1);
  z-index: 5;
}

.ref-video-card:hover {
  opacity: 1;
  filter: brightness(1);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32), 0 0 24px rgba(255, 106, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.85);
}

.ref-card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-smooth);
  z-index: 1;
}

.ref-video-card:hover .ref-card-bg-img {
  transform: scale(1.06);
}

.ref-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Bottom Bar: Title, description, and circle button */
.ref-card-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(18px, 1.8vw, 24px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  z-index: 3;
}

.ref-card-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ref-card-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.25vw, 1.42rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.ref-video-card.is-selected .ref-card-main-title,
.ref-video-card:first-child .ref-card-main-title {
  font-size: clamp(1.24rem, 1.42vw, 1.62rem);
  line-height: 1.22;
}

.ref-card-snippet {
  font-size: clamp(0.72rem, 0.8vw, 0.86rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.ref-video-card.is-selected .ref-card-snippet,
.ref-video-card:first-child .ref-card-snippet {
  font-size: clamp(0.76rem, 0.86vw, 0.92rem);
  line-height: 1.4;
  -webkit-line-clamp: 3;
}

.ref-circle-arrow-btn {
  width: clamp(36px, 2.5vw, 44px);
  height: clamp(36px, 2.5vw, 44px);
  min-width: clamp(36px, 2.5vw, 44px);
  border-radius: 50%;
  background: #FFFFFF;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
}

/* Selected Card Arrow Button (Active Orange Gradient with Glow) */
.ref-video-card.is-selected .ref-circle-arrow-btn,
.ref-video-card:first-child .ref-circle-arrow-btn {
  background: linear-gradient(135deg, #FF6A00 0%, #FF851A 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 106, 0, 0.55);
}

.ref-video-card:hover .ref-circle-arrow-btn {
  background: linear-gradient(135deg, #FF6A00 0%, #FF851A 100%);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 4px 16px var(--primary-orange-glow);
}

/* Pagination Capsule Bar at Bottom (Elevated upwards) */
.popular-pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-top: 0;
  padding-bottom: clamp(65px, 7.5vw, 120px);
}

.karasuno-dots-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 24px;
}

.popular-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(35, 37, 46, 0.75);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.popular-dot.active {
  width: 26px;
  height: 9px;
  border-radius: 5px;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   DEMOGRAPHICS SECTION (Tela 3 da Referência — Split Diagonals)
   ========================================================================== */
.demo-section {
  position: relative;
  background: var(--ink-black);
  color: var(--paper-white);
  overflow: hidden;
}

.demo-diagonal-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(145deg, #FF6A00 0%, #FF8B33 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
  opacity: 0.95;
}

.demo-watermark {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: 26vw;
  color: rgba(255, 255, 255, 0.08);
  line-height: 0.75;
  pointer-events: none;
  z-index: 1;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.demo-header-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  line-height: 1;
}

.demo-cards-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-glass-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.demo-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.demo-box-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.demo-box-period {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Donut & Gender Visual */
.gender-row {
  display: flex;
  align-items: center;
  gap: 36px;
}

.donut-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.donut-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-center-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--primary-orange);
}

.donut-center-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.gender-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.legend-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
  flex-shrink: 0;
}

.legend-title {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.legend-percent {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--paper-white);
  letter-spacing: 0.02em;
}

/* Age Distribution Bars */
.age-bars-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.age-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.age-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
}

.age-bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.age-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary-orange) 0%, #FFA86B 100%);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Right Demo Box: High-Intent Interests & Geography */
.demo-right-box {
  background: rgba(13, 14, 18, 0.85);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  color: var(--paper-white);
}

.interest-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 30px;
}

.interest-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.interest-badge:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

.geo-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.geo-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.geo-pct {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary-orange);
}

/* ==========================================================================
   PARTNERSHIP PACKAGES / COMMERCIAL SOLUTIONS
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.package-card {
  background: var(--paper-white);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.package-card.highlighted {
  border: 2px solid var(--primary-orange);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.package-card.highlighted::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: var(--paper-white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px var(--primary-orange-glow);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 106, 0, 0.4);
}

.package-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.package-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-black);
  margin-bottom: 12px;
}

.package-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  border-top: 1px solid var(--paper-border);
  padding-top: 20px;
}

.package-features li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-features li i {
  color: var(--primary-orange);
  font-size: 0.9rem;
}

.package-btn {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-fast);
  display: block;
}

.package-card.highlighted .package-btn {
  background: var(--primary-orange);
  color: var(--paper-white);
  box-shadow: 0 8px 20px var(--primary-orange-glow);
}

.package-card.highlighted .package-btn:hover {
  background: var(--primary-orange-hover);
}

.package-btn-outline {
  background: transparent;
  color: var(--ink-black);
  border: 1px solid var(--paper-border);
}

.package-btn-outline:hover {
  background: var(--primary-orange-light);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* ==========================================================================
   CONTACT & CTA SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0 60px;
}

.contact-card-banner {
  background: linear-gradient(135deg, #111217 0%, #1D1F28 100%);
  border-radius: 32px;
  padding: 60px 48px;
  color: var(--paper-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.25), transparent 70%);
  pointer-events: none;
}

.contact-inner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-tag {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 540px;
}

.contact-actions-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.email-copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 20px;
  transition: var(--transition-fast);
}

.email-copy-bar:hover {
  border-color: var(--primary-orange);
}

.email-text {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--paper-white);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.copy-btn {
  background: var(--primary-orange);
  color: var(--paper-white);
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.copy-btn:hover {
  background: var(--primary-orange-hover);
  transform: scale(1.03);
}

.contact-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-send-mail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8526 100%);
  color: var(--paper-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px var(--primary-orange-glow);
  transition: var(--transition-smooth);
}

.btn-send-mail:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
}

.btn-download-pdf {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition-smooth);
}

.btn-download-pdf:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--paper-border);
  background: var(--paper-white);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink-black);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--paper-muted);
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-light);
  border: 1px solid var(--paper-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dark);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer-icon-btn:hover {
  background: var(--primary-orange);
  color: var(--paper-white);
  border-color: var(--primary-orange);
  transform: translateY(-3px);
}

/* ==========================================================================
   TOAST NOTIFICATION & MODAL
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink-black);
  color: var(--paper-white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 106, 0, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px var(--primary-orange-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-bounce);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   VIDEO PREVIEW MODAL (DARK THEME & GAMER AESTHETIC)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #14151C;
  border: 1.5px solid rgba(255, 106, 0, 0.4);
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(255, 106, 0, 0.25);
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  color: #FFFFFF;
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.92) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 20, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #FFFFFF;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 16px var(--primary-orange-glow);
}

.modal-thumb-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #0A0B0E;
  overflow: hidden;
}

.modal-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, #14151C 0%, transparent 100%);
  pointer-events: none;
}

.modal-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.92);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px rgba(255, 106, 0, 0.65);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.modal-play-badge svg {
  margin-left: 3px;
}

.modal-body {
  padding: 24px 32px 32px;
  position: relative;
}

.modal-stats-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.modal-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modal-pill.modal-pill-orange {
  background: rgba(255, 106, 0, 0.15);
  color: var(--primary-orange);
  border-color: rgba(255, 106, 0, 0.4);
}

.modal-video-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.modal-video-desc {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 26px;
}

.modal-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-orange);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  box-shadow: 0 8px 24px var(--primary-orange-glow);
  transition: all 0.25s ease;
}

.modal-cta-primary:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.5);
  color: #FFFFFF;
}

.modal-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.modal-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .popular-layout {
    grid-template-columns: 1fr;
  }

  .popular-side-banner {
    flex-direction: row;
    padding: 24px 30px;
  }

  .popular-side-banner::after {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-diagonal-accent {
    display: none;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-pill {
    padding: 8px 16px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-ref-canvas {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: auto !important;
    flex-direction: column;
    padding: 110px 24px 60px 24px;
    background-image: 
      linear-gradient(180deg, 
        rgba(255, 106, 0, 0.95) 0%, 
        rgba(255, 120, 23, 0.8) 18%, 
        rgba(255, 255, 255, 0.92) 42%, 
        rgba(255, 255, 255, 0.98) 100%
      ),
      url('foto para fundo/9e9066d8-3f21-45d0-b374-5e177e8ef810.png');
  }

  .hero-top-left-logo {
    position: static;
    margin-bottom: 24px;
    align-items: center;
    text-align: center;
  }

  .hero-top-right-accent,
  .hero-bot-right-accent {
    display: none;
  }

  .hero-char-img {
    position: relative;
    left: auto;
    bottom: auto;
    width: 88%;
    max-width: 380px;
    height: auto;
    margin: 10px auto 24px;
    display: block;
  }

  .hero-content-block {
    margin-left: 0;
    padding-right: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero-ref-title {
    font-size: 3.2rem;
  }

  .hero-ref-desc {
    margin: 14px auto 24px;
  }

  .hero-ref-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-ref-stats-list {
    align-items: center;
  }

  .hero-ref-stat-row {
    flex-direction: row;
    justify-content: center;
  }

  .stat-row-left {
    min-width: unset;
  }


  .video-cards-grid {
    grid-template-columns: 1fr;
  }

  .gender-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .contact-card-banner {
    padding: 36px 20px;
  }

  .contact-actions-box {
    padding: 24px 18px;
  }

  .email-copy-bar {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 12px;
  }

  .copy-btn {
    justify-content: center;
  }

  .popular-section {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: auto !important;
    padding: 40px 0 !important;
  }

  .popular-ref-bg-orange {
    width: 32%;
    min-width: 120px;
  }

  .popular-ref-orange-label {
    width: 30%;
    min-width: 120px;
    font-size: 2.2rem;
  }

  .karasuno-title {
    font-size: 3.5rem;
  }

  .popular-cards-track {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 10px;
  }

  .ref-video-card {
    width: 260px;
    height: 360px;
  }

  .ref-video-card.is-selected,
  .ref-video-card:first-child {
    width: 295px;
    height: 405px;
  }
}

