:root {
  --bg: #0a0a0f;
  --bg-elevated: #111116;
  --surface: #16161c;
  --text: #f0f0f5;
  --text-muted: #8a8a9a;
  --color-teal: #00f7ff;
  --accent: #ff0000;
  --accent-hover: #ff3333;
  --accent-soft: rgba(255, 0, 0, 0.12);
  --accent-glow: rgba(255, 0, 0, 0.4);
  --menu-accent: #ffc107;
  --menu-accent-dim: #e6ac00;
  --header-bg: rgba(5, 5, 7, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --site-header-offset: 118px;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-display: "Oswald", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.5);
  --container: 1120px;
  /* Escala da logo (1 = 100%); ajustada pelo painel / site-config */
  --site-logo-scale: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Custom Selection */
::selection {
  background-color: var(--accent);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border: 2px solid var(--bg);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border);
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-offset);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  padding-top: var(--site-header-offset);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--menu-accent);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding-block: 64px;
}

.section--dark {
  background: var(--bg-elevated);
}

.section--accent {
  background: linear-gradient(135deg, #1a0a0c 0%, #2a1014 50%, #1a0a0c 100%);
  border-block: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0 0 40px;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* CabeÃ§alho fixo: faixa de contacto + barra principal logo + menu */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  padding-top: 0;
}

.site-header__eyebrow {
  background: linear-gradient(180deg, #0e0e12 0%, #08080c 100%);
  border-bottom: 1px solid rgba(255, 193, 7, 0.22);
}

.site-header__eyebrow-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  min-height: 42px;
  padding-block: 8px;
}

.site-header__eyebrow-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}

.site-header__eyebrow-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0f0f4;
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__eyebrow-phone:hover,
.site-header__eyebrow-phone:focus-visible {
  color: var(--menu-accent);
  outline: none;
}

.site-header__eyebrow-icon {
  display: flex;
  color: var(--menu-accent);
  flex-shrink: 0;
}

.site-header__eyebrow-icon svg {
  display: block;
}

.site-header__eyebrow-phone-num {
  white-space: nowrap;
}

.site-header__eyebrow-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-header__eyebrow-iconbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #f5f5f8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 193, 7, 0.28);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.site-header__eyebrow-iconbtn:hover,
.site-header__eyebrow-iconbtn:focus-visible {
  color: #111;
  background: var(--menu-accent);
  border-color: var(--menu-accent);
  transform: translateY(-1px);
  outline: none;
}

.site-header__eyebrow-iconbtn svg {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .site-header__eyebrow-inner {
    justify-content: center;
    text-align: center;
  }

  .site-header__eyebrow-left {
    justify-content: center;
    width: 100%;
  }

  .site-header__eyebrow-social {
    justify-content: center;
    width: 100%;
  }

  .site-header__eyebrow-phone-num {
    white-space: normal;
  }
}

.site-header__shell {
  position: relative;
}

.site-header__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  min-height: 64px;
  padding-block: clamp(6px, 1.2vw, 12px);
}

@media (min-width: 900px) {
  .site-header__grid {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 78px;
    column-gap: clamp(16px, 3vw, 32px);
    padding-block: clamp(8px, 1.5vw, 14px);
  }
}

.site-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: clamp(4px, 1vw, 10px) 0;
  background: transparent;
}

@media (min-width: 900px) {
  .site-header__logo {
    justify-content: flex-start;
    padding-inline: 0 clamp(8px, 2vw, 16px);
  }
}

@media (max-width: 899px) {
  .site-header__logo {
    justify-content: flex-start;
    padding-inline: 4px 0;
  }
}

.site-header__logo img {
  display: block;
  height: clamp(
    calc(40px * var(--site-logo-scale, 1)),
    calc(14vw * var(--site-logo-scale, 1)),
    calc(86px * var(--site-logo-scale, 1))
  );
  width: auto;
  max-width: min(calc(52vw * var(--site-logo-scale, 1)), calc(260px * var(--site-logo-scale, 1)));
  object-fit: contain;
  transition: opacity 0.2s ease;
}

@media (min-width: 900px) {
  .site-header__logo {
    padding: clamp(6px, 1vw, 12px) clamp(12px, 3vw, 28px);
  }

  .site-header__logo img {
    height: clamp(
      calc(56px * var(--site-logo-scale, 1)),
      calc(8.5vw * var(--site-logo-scale, 1)),
      calc(96px * var(--site-logo-scale, 1))
    );
    max-width: min(calc(52vw * var(--site-logo-scale, 1)), calc(300px * var(--site-logo-scale, 1)));
  }
}

.logo:hover img,
.logo:focus-visible img {
  opacity: 0.9;
}

.site-header__navrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-height: 44px;
  background: transparent;
  position: relative;
  padding: 0;
}

@media (min-width: 900px) {
  .site-header__navrow {
    min-height: 48px;
    justify-content: flex-end;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.08);
  outline: none;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle span {
  transition: transform 0.2s, opacity 0.2s;
}

.nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  z-index: 1;
}

.nav.is-open {
  max-height: min(420px, calc(100dvh - var(--site-header-offset) - 12px));
  overflow-y: auto;
}

@media (max-width: 899px) {
  .nav.is-open {
    position: fixed;
    top: var(--site-header-offset);
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__list a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  border-radius: 10px;
  color: #f2f2f6;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  background: rgba(255, 193, 7, 0.1);
  color: var(--menu-accent);
  outline: none;
}

.nav__list a[aria-current="page"] {
  color: var(--menu-accent);
}

.nav__list .nav__cta {
  margin-top: 0;
  text-align: center;
  border: 1px solid rgba(255, 193, 7, 0.55);
  background: rgba(255, 193, 7, 0.08);
  color: var(--menu-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.nav__list .nav__cta:hover,
.nav__list .nav__cta:focus-visible {
  background: var(--menu-accent);
  color: #141414;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    width: 100%;
  }

  .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    gap: clamp(8px, 1.2vw, 16px);
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .nav__list a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 12px;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-body);
    font-size: clamp(12px, 1.05vw, 14px);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .nav__list li:not(:has(.nav__cta)) {
    padding-inline: clamp(10px, 1.1vw, 18px);
  }

  /* Linha de destaque no TOPO (links normais) */
  .nav__list a:not(.nav__cta)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    max-width: none;
    height: 4px;
    background: var(--menu-accent);
    border-radius: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center top;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 2;
  }

  .nav__list a:not(.nav__cta):hover::after,
  .nav__list a:not(.nav__cta):focus-visible::after {
    transform: translateX(-50%) scaleX(1);
  }

  .nav__list a:not(.nav__cta)[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
  }

  .nav__list a:not(.nav__cta)[aria-current="page"] {
    color: var(--menu-accent);
  }

  .nav__list a:not(.nav__cta):hover,
  .nav__list a:not(.nav__cta):focus-visible {
    background: transparent;
    color: var(--menu-accent);
  }

  .nav__list .nav__cta {
    margin-top: 0;
    margin-left: 0;
    padding: 10px 20px 11px;
    border-radius: 999px;
    border: 1px solid var(--menu-accent);
    background: transparent;
    color: var(--menu-accent);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: clamp(11px, 0.95vw, 12px);
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    transition:
      color 0.2s ease,
      background 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  .nav__list .nav__cta::after {
    display: none;
  }

  .nav__list .nav__cta:hover,
  .nav__list .nav__cta:focus-visible {
    background: var(--menu-accent);
    color: #141414;
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.25);
    transform: translateY(-1px);
  }
}

/* Hero Cinematic */
.hero-cinematic {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--site-header-offset, 72px);
}

.hero-cinematic__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000;
  opacity: 1;
}

.hero-cinematic__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.4) 50%, #000 100%),
              radial-gradient(circle at center, transparent 0%, #000 90%);
  z-index: 1;
}

.hero-cinematic__track {
  display: flex;
  gap: 15px;
  width: max-content;
  height: 100%;
  animation: hero-marquee 120s linear infinite;
  will-change: transform;
  position: relative;
  z-index: 0;
}

.hero-cinematic__track img {
  height: 100%;
  width: auto;
  min-width: 300px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.hero-cinematic__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 20px;
  max-width: 850px;
  margin-inline: auto;
}

.hero-cinematic__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-cinematic__title strong {
  color: var(--accent);
  display: block;
}

.hero-cinematic__subtitle {
  font-size: clamp(14px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 20px;
}

.hero-cinematic__icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.hero-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  opacity: 0.8;
  animation: float 4s ease-in-out infinite;
}

.hero-icon:nth-child(2) { animation-delay: 0.5s; }
.hero-icon:nth-child(3) { animation-delay: 1s; }
.hero-icon:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-icon i {
  font-size: 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.hero-icon span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero-cinematic__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Barra de logos (canais) */
.logo-bar {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.logo-bar[hidden] {
  display: none !important;
}

.logo-bar__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 0 24px;
}

.logo-bar__mask {
  overflow: hidden;
  width: 100%;
}

.logo-bar__marquee {
  display: flex;
  flex-direction: row;
  width: max-content;
  will-change: transform;
  animation: logo-bar-marquee var(--logo-marquee-duration, 55s) linear infinite;
}

.logo-bar__marquee.is-paused {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .logo-bar__marquee {
    animation: none;
    transform: none;
  }

  .logo-bar__mask {
    display: flex;
    justify-content: center;
  }
}

@keyframes logo-bar-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.logo-bar__strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  gap: clamp(8px, 1.6vw, 20px);
  box-sizing: border-box;
  padding: 6px 20px 0 0;
  min-height: 76px;
}

.logo-bar__cell {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.logo-bar__cell img {
  max-height: 80px;
  max-width: min(42vw, 260px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.8;
  filter: grayscale(1);
  transition: all 0.4s ease;
}

.logo-bar__cell:hover img {
  opacity: 1 !important;
  filter: grayscale(0) !important;
  animation: logoPulse 0.8s ease-in-out infinite;
}

@keyframes logoPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@media (min-width: 768px) {
  .logo-bar__cell img {
    max-height: 104px;
    max-width: min(28vw, 320px);
  }

  .logo-bar__strip {
    min-height: 112px;
    gap: clamp(10px, 1.8vw, 26px);
    padding-right: 28px;
  }
}

/* Plans */
.plans {
  margin-top: 0;
  position: relative;
  z-index: 2;
  overflow: hidden; /* garante que o iframe não vaze */
}

/* Vídeo de fundo YouTube */
.plans__video-bg {
  display: none; /* mostrado pelo JS quando há vídeo configurado */
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.plans__video-bg iframe {
  position: absolute;
  /* Centraliza e escala o iframe para cobrir toda a área (16:9 → letterbox fix) */
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 inverso */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* Overlay escuro sobre o vídeo — mantém os cards legíveis */
.plans__video-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.60) 50%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

/* Mostra overlay quando o vídeo está ativo */
.plans__video-bg[style*="block"] ~ .plans__video-overlay {
  display: block;
}

.plans__load-msg {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.plans__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .plans__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

.plan-card {
  position: relative;
  background: linear-gradient(145deg, var(--surface) 0%, rgba(26, 26, 32, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 28px 16px 32px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible; /* Let badge show */
}

.plan-card__shine-layer {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.plan-card__shine-layer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: all 0.6s;
  pointer-events: none;
}

.plan-card:hover .plan-card__shine-layer::before {
  left: 100%;
}

.plan-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  transform: translateY(-10px) scale(1.02);
  z-index: 5;
}

.plan-card--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(229, 9, 20, 0.05) 100%);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.2), var(--shadow);
  transform: scale(1.05);
}

.plan-card--featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(45deg, var(--accent), transparent, var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  animation: border-rotate 4s linear infinite;
}

@keyframes border-rotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  right: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.plan-card__sub {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.plan-card__price-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.plan-card__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 4px 0 20px;
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.plan-card__rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.plan-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
}

.plan-card__features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.plan-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

.btn--light {
  background: #fff;
  color: #111;
}

.btn--light:hover {
  background: #f0f0f0;
  color: #111;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.btn--dark {
  background: #111;
  color: #fff;
}

.btn--dark:hover {
  background: #222;
  color: #fff;
}

.btn--teal-pill {
  background: #005f7a;
  color: #fff;
  border-radius: 999px;
}

.btn--teal-pill:hover {
  background: #007a9a;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #20ba5a;
  color: #fff;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 11px;
}

.btn--lg {
  padding: 16px 32px;
}

.btn--block {
  width: 100%;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.plan-card .btn {
  margin-top: 4px;
  position: relative;
  z-index: 10; /* Garante que fique acima do shine e bordas */
}

/* Features trio */
.features-trio__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .features-trio__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.feature-block__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: var(--accent);
}

.feature-block__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Spotlight */
.spotlight {
  position: relative;
  overflow: hidden;
  background: #000;
}

.spotlight__bg-marquee {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8; /* Imagens muito mais visÃ­veis */
  filter: blur(2px); /* Desfoque mÃ­nimo para nitidez */
}

.spotlight__bg-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}

.spotlight__bg-track {
  display: flex;
  gap: 10px;
  width: max-content;
  height: 100%;
  min-height: 100%;
  animation: spotlight-marquee 60s linear infinite;
  will-change: transform;
}

.spotlight__bg-track img {
  height: 100%;
  min-height: 100%;
  width: auto;
  min-width: 200px; /* Garante que as imagens nÃ£o colapsem */
  object-fit: cover;
  flex-shrink: 0;
}

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

.spotlight__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 450px;
  padding-block: 80px;
}

.spotlight__text {
  max-width: 800px;
  margin-inline: auto;
}

.spotlight__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.spotlight__headline strong {
  color: var(--color-teal);
  font-weight: 800;
}

.spotlight__text p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.spotlight__tag {
  margin: 0;
  color: var(--text);
}

.spotlight__trial-btn {
  margin-top: 20px;
}

.spotlight__visual {
  min-height: 0;
}

.spotlight__figure {
  margin: 0;
}

.spotlight__devices-img {
  display: block;
  width: 100%;
  max-width: min(100%, 620px);
  height: auto;
  margin-inline: auto;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, #1a0508 0%, #2a0a10 50%, #1a0508 100%);
  border-block: 1px solid var(--border);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  color: #fff;
}

.cta-band__sub {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.cta-band__muted {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Stats */
.stats__grid {
  display: grid;
  gap: 40px;
  text-align: center;
}

@media (min-width: 640px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
  color: var(--menu-accent);
  min-height: 56px;
}

.stat-item__icon svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.stat-item__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-item__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
}

/* FAQ Modal-based Redesign */
.faq__header {
  text-align: center;
  margin-bottom: 50px;
}

.faq__subtitle--center {
  margin-inline: auto;
  opacity: 0.8;
  max-width: 600px;
}

.faq__cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .faq__cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .faq__cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq__card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 120px;
  width: 100%;
}

.faq__card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.faq__card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
  padding-right: 30px;
}

.faq__card-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.faq__card-icon::after {
  content: "+";
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.faq__card:hover .faq__card-icon {
  background: var(--accent);
}

.faq__card:hover .faq__card-icon::after {
  color: #fff;
}

/* FAQ Modal Specifics */
#faqModal .modal__dialog {
  max-width: 500px;
}

.modal__header-content {
  margin-bottom: 24px;
}

.modal__body-content {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.modal__body-content strong {
  color: #fff;
}

.modal__footer-content {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.faq__item[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq__item summary {
  padding: 24px 45px; /* Aumentado para nÃ£o ficar colado */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 70px;
  color: #fff;
  transition: all 0.3s ease;
}

.faq__item summary:hover {
  color: var(--accent);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq__item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.faq__content {
  padding: 10px 45px 35px; /* Sincronizado com o summary */
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: slideDown 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.faq__content p {
  margin-bottom: 15px;
}

.faq__content p:last-child {
  margin-bottom: 0;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq__item a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Newsletter (captura â€” layout estilo faixa escura + campos brancos em pÃ­lula) */
.newsletter {
  background: #000;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.newsletter__inner {
  text-align: left;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  max-width: 920px;
  line-height: 1.25;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 960px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .newsletter__form {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px 16px;
  }

  .newsletter__input--name {
    flex: 0 1 260px;
    min-width: 0;
  }

  .newsletter__input--email {
    flex: 1 1 320px;
    min-width: 0;
  }

  .newsletter__submit {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.newsletter__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 15px;
}

.newsletter__input::placeholder {
  color: #9a9a9a;
}

.newsletter__input:focus {
  outline: 2px solid #005f7a;
  outline-offset: 2px;
}

.newsletter__submit {
  padding-inline: 28px;
}

/* Footer */
.footer {
  padding-block: 48px 0;
  background: #070708;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}

@media (min-width: 600px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer__about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: block;
  height: auto;
  max-width: 180px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
  color: var(--accent);
  text-transform: uppercase;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer__contact-link {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__contact-link:hover {
  color: #fff;
}

.footer__payments {
  margin-top: 24px;
}

.footer__subheading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 12px;
  opacity: 0.6;
}

.footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-icon {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-muted);
}

.payment-icon.pix {
  border-color: #32bcad;
  color: #32bcad;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 16px;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 900px;
  margin-inline: auto;
}

/* Area cliente */
.area-cliente {
  padding: 48px 16px 64px;
  background: var(--bg);
}

.area-cliente__box {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.area-cliente h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.area-cliente p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  max-width: 640px;
  margin-inline: auto;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-bar p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  flex: 1 1 220px;
}

.cookie-bar.is-hidden {
  display: none;
}

/* Professional Floating WhatsApp Widget */
.fab-wa {
  position: fixed;
  right: 30px;
  bottom: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  background: rgba(16, 16, 21, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.fab-wa::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.5), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.fab-wa__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s;
}

.fab-wa__icon-wrapper {
  width: 44px;
  height: 44px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: all 0.3s;
}

.fab-wa__icon-wrapper::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #25d366;
  border-radius: 50%;
  opacity: 0;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

.fab-wa:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.fab-wa:hover .fab-wa__icon-wrapper {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.fab-wa:hover .fab-wa__label {
  color: #fff;
  transform: translateX(2px);
}

@media (max-width: 480px) {
  .fab-wa {
    right: 20px;
    bottom: 25px;
    padding: 8px;
  }
  .fab-wa__label {
    display: none;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  width: min(100%, 420px);
  background: rgba(26, 26, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px 16px 0 0;
  padding: 28px 24px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

@media (min-width: 480px) {
  .modal {
    align-items: center;
  }

  .modal__dialog {
    border-radius: 16px;
    transform: translateY(20px) scale(0.95);
  }

  .modal.is-open .modal__dialog {
    transform: translateY(0) scale(1);
  }
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
}

.modal__close:hover {
  color: var(--text);
  background: var(--bg);
}

.modal__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 32px 8px 0;
  line-height: 1.4;
}

.modal__hint {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.wa-api-result {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.08);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.wa-api-result[hidden] {
  display: none !important;
}

.wa-api-result__title {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--menu-accent);
  margin: 0 0 10px;
}

.wa-api-result__row {
  margin-bottom: 6px;
  word-break: break-word;
}

.wa-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.wa-form input,
.wa-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.wa-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Auth Modal Styles */
.auth-intro {
  margin-bottom: 20px;
  text-align: center;
  padding: 0 10px;
}

.auth-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* Role Selector */
.auth-role-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.role-option {
  flex: 1;
  cursor: pointer;
}

.role-option input {
  display: none;
}

.role-box {
  display: block;
  text-align: center;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.role-option input:checked + .role-box {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.auth-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-msg {
  padding: 12px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
  border: 1px solid transparent;
}

.auth-msg.error {
  display: block;
  background: rgba(229, 9, 20, 0.1);
  color: #ff4d4d;
  border-color: rgba(229, 9, 20, 0.2);
}

.auth-msg.success {
  display: block;
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-teal);
  border-color: rgba(0, 240, 255, 0.2);
}

/* Iframe Modal */
.modal--iframe .modal__dialog {
  width: 95% !important;
  max-width: 1100px !important;
  height: 90vh !important;
  display: flex;
  flex-direction: column;
  padding: 45px 0 0;
  overflow: hidden;
}
.modal--iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f8f9fa;
  flex: 1;
}
.modal--iframe .modal__close {
  top: 5px;
  right: 10px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 10;
}

/* --- Responsividade (Mobile First / Adaptativa) --- */

@media (max-width: 991px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    align-items: flex-start;
    z-index: 1000;
  }
  
  .nav.is-open {
    display: flex;
  }
  
  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .nav__list a {
    font-size: 1.1rem;
    width: 100%;
    display: block;
  }
  
  .header-actions {
    display: none;
  }
  
  .nav-toggle {
    display: block !important;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero-cinematic__title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-cinematic {
    min-height: 400px;
    padding-top: calc(var(--site-header-offset, 72px) + 30px);
  }
  
  .hero-cinematic__title {
    font-size: 1.8rem;
  }
  
  .hero-cinematic__subtitle {
    font-size: 0.9rem;
  }
  
  .hero-cinematic__icons {
    gap: 15px;
  }
  
  .hero-icon span {
    font-size: 10px;
  }
  
  .hero-cinematic__actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }
  
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .spotlight__headline {
    font-size: 1.8rem;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .spotlight__bg-track {
    height: 300px;
  }
  
  .spotlight__bg-track img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-cinematic__title {
    font-size: 1.5rem;
  }
  
  .btn--lg {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Trust Toast Notification */
.trust-toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 250;
  background: var(--surface);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateX(-120%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 320px;
  pointer-events: none;
}

.trust-toast.is-visible {
  transform: translateX(0);
}

.trust-toast__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-toast__content {
  flex: 1;
}

.trust-toast__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.trust-toast__text {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}


/* Web Player Styles */
.player-container {
  display: flex;
  height: 750px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.player-sidebar {
  width: 320px;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid var(--border);
}

.player-search {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.player-search input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
}

.player-nav {
  display: flex;
  padding: 0.75rem;
  gap: 8px;
}

.player-nav-item {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.player-nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.player-categories {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.player-category-item {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-category-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.player-category-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 700;
}

.player-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.1);
}

.player-header {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.player-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-display);
}

.player-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.player-grid {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  align-content: start;
}

.player-welcome-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.player-service-selector {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-card-mini {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.service-card-mini:hover {
  border-color: var(--accent);
  background: rgba(255, 0, 0, 0.05);
}

.service-card-mini strong { display: block; margin-bottom: 4px; }
.service-card-mini span { font-size: 0.8rem; color: var(--text-muted); }

.vod-card {
  cursor: pointer;
  transition: transform 0.3s;
}

.vod-card:hover {
  transform: scale(1.05);
}

.vod-poster {
  aspect-ratio: 2/3;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  position: relative;
}

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

.vod-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.vod-card:hover .vod-play-overlay {
  opacity: 1;
}

.vod-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal.active { display: flex; }

.video-modal-content {
  width: 100%;
  max-width: 1200px;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

.video-player-container {
  aspect-ratio: 16/9;
  background: black;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.video-details {
  margin-top: 2rem;
  text-align: left;
}

.video-details h2 { font-size: 2rem; margin-bottom: 0.5rem; }

@media (max-width: 992px) {
  .player-container { flex-direction: column; height: auto; min-height: 80vh; }
  .player-sidebar { width: 100%; height: 300px; }
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  font-weight: 600;
  color: var(--text-muted);
}

.loading-spinner::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin-left: 12px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Series Info Styles */
.series-selection {
  margin-top: 1rem;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 1.5rem;
}

.season-selector {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.season-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
}

.season-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.episode-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.episode-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.episode-num {
  width: 24px;
  height: 24px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.episode-title {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Modal Scrollability */
.video-modal-content {
  max-height: 90vh;
  overflow-y: auto;
  padding-right: 10px;
}

.video-modal-content::-webkit-scrollbar { width: 6px; }
.video-modal-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

.video-details {
  padding: 1.5rem 0;
}

/* Improved Service Card Mini */
.player-service-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  margin-top: 3rem;
}

.service-card-mini {
  background: linear-gradient(145deg, var(--surface) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.service-card-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card-mini:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px var(--accent-soft);
}

.service-card-mini:hover::before {
  opacity: 0.5;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.service-card-info {
  flex: 1;
  min-width: 0;
}

.service-card-info strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.service-card-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-card-badge {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Welcome Icon Glow */
.player-welcome-msg svg {
  filter: drop-shadow(0 0 15px var(--accent-glow));
  margin-bottom: 1.5rem;
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  from { filter: drop-shadow(0 0 5px var(--accent-glow)); transform: scale(1); }
  to { filter: drop-shadow(0 0 20px var(--accent-glow)); transform: scale(1.05); }
}

.player-welcome-msg h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* VOD Rating Badge */
.vod-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  color: #ffc107;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  border: 1px solid rgba(255,193,7,0.3);
}

/* Player Sorting Header */
.player-grid-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  padding: 0 2.5rem;
}

.player-sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

.player-sort-select:focus {
  border-color: var(--accent);
}

/* Improved Modal Close Button */
.video-modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  transition: all 0.2s;
}

.video-modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .video-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

/* Enhanced Movie Details */
.movie-details-layout {
  display: flex;
  gap: 2.5rem;
  padding: 1rem;
}

.movie-details-poster {
  width: 300px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.movie-details-poster img {
  width: 100%;
  display: block;
}

.movie-details-info {
  flex: 1;
}

.movie-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.movie-rating-pill {
  background: #ffc107;
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
}

.movie-plot {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 2rem;
  max-width: 800px;
}

.cast-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-top: 1rem;
}

.cast-item {
  width: 80px;
  text-align: center;
  flex-shrink: 0;
}

.cast-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface);
  margin: 0 auto 8px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.cast-avatar img { width: 100%; height: 100%; object-fit: cover; }

.cast-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.movie-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn--play {
  background: var(--accent);
  color: #000;
  padding: 12px 32px;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn--play:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--accent-soft);
}

@media (max-width: 992px) {
  .movie-details-layout { flex-direction: column; align-items: center; text-align: center; }
  .movie-meta { justify-content: center; }
  .movie-actions { justify-content: center; }
}

/* Episodes in Details View */
.series-selection {
    margin-top: 2rem;
}

.season-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 5px;
}

.season-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    transition: all 0.2s;
}

.season-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.episode-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.episode-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
    transform: translateX(5px);
}

.episode-num {
    font-weight: 800;
    color: var(--accent);
    font-size: 1.1rem;
    min-width: 25px;
}

.episode-title {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Background Backdrop */
.video-modal-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.video-modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(10, 10, 14, 1) 0%, rgba(10, 10, 14, 0.95) 30%, rgba(10, 10, 14, 0.5) 100%);
    z-index: 1;
    /* Evita roubar cliques ao vídeo / botão «Reproduzir canal» por baixo do gradiente */
    pointer-events: none;
}

.movie-details-layout {
    position: relative;
    z-index: 2;
}

/* Cast Photo Improvement */
.cast-avatar img {
    filter: grayscale(20%);
    transition: all 0.3s;
}

.cast-item:hover .cast-avatar img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Category Count Badge */
.category-count {
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.player-category-item.active .category-count {
    background: var(--accent);
    color: #000;
}

.player-category-item {
    justify-content: space-between;
}

/* Smooth Transitions */
.player-grid {
    transition: opacity 0.3s ease;
}

.player-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Modal Content Improvements */
.video-modal-content {
    min-height: 80vh;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.video-player-container {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Cast Section Empty State */
.cast-grid:empty::after {
    content: 'Informação de elenco indisponível para este título.';
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Modal Transparency and Backdrop Visibility */
.video-modal-content {
    background-color: transparent !important;
    box-shadow: none !important;
}

.video-modal-content::before {
    background: linear-gradient(90deg, rgba(10, 10, 14, 0.95) 0%, rgba(10, 10, 14, 0.8) 50%, rgba(10, 10, 14, 0.4) 100%);
}

.video-player-container {
    background: rgba(10, 10, 14, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

/* Professional Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    width: 100%;
    aspect-ratio: 2/3;
    margin-bottom: 10px;
}

.skeleton-text {
    height: 12px;
    width: 80%;
    margin: 5px 0;
}

.skeleton-category {
    height: 40px;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 12px;
}

/* Enhanced Spinner */
.loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 14, 0.8);
    backdrop-filter: blur(5px);
    z-index: 100;
    gap: 20px;
}

.premium-loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px var(--accent-soft);
}

.loading-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Reduce blur and increase contrast for details modal */
.video-player-container {
    background: rgba(10, 10, 14, 0.9); /* Less transparent */
    backdrop-filter: blur(5px); /* Reduced blur */
    box-shadow: 0 0 50px rgba(0,0,0,1);
}

.video-modal-content::before {
    background: linear-gradient(90deg, rgba(10, 10, 14, 0.98) 0%, rgba(10, 10, 14, 0.85) 40%, rgba(10, 10, 14, 0.3) 100%);
}

.movie-details-info h1 {
    color: #fff !important;
}

.movie-plot {
    color: #eee !important;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Cast Photo Circle Fix */
.cast-avatar {
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px var(--accent-soft);
}

/* Improved Shimmer Effect for Skeletons */
.skeleton {
    background-color: rgba(255, 255, 255, 0.05);
    background-image: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-card {
    border-radius: 12px;
}

.skeleton-category {
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Full Transparency for Details Modal */
.video-player-container {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.video-modal-content {
    background-color: rgba(10, 10, 14, 0.4) !important; /* Very subtle dark overlay */
}

.video-modal-content::before {
    /* Subtle gradient to keep left-side text readable */
    background: linear-gradient(90deg, rgba(10, 10, 14, 0.9) 0%, rgba(10, 10, 14, 0.6) 50%, rgba(10, 10, 14, 0) 100%) !important;
}

.movie-details-layout {
    background: transparent !important;
}

.movie-details-poster {
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Adjust Poster Size and Remove Right Bar */
.movie-details-poster {
    width: 350px !important; /* Increased size */
    flex-shrink: 0;
}

.movie-details-poster img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Remove Modal Right Bar and Scrollbars */
.video-modal-content {
    border: none !important;
    overflow: hidden !important;
    max-width: 95% !important;
}

.video-player-container {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

.video-player-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Cast Grid Spacing */
.cast-grid {
    margin-top: 1rem;
    min-height: 50px;
}

.cast-section {
    margin-top: 2.5rem;
}

/* Final Modal and Poster Refinements */
.video-modal-content {
    height: auto !important;
    max-height: 95vh !important;
    overflow-y: auto !important; /* Only show scrollbar if content exceeds height */
    overflow-x: hidden !important;
    border-radius: 20px;
    background: transparent !important;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

/* Custom scrollbar for the modal */
.video-modal-content::-webkit-scrollbar {
    width: 6px;
}
.video-modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.video-modal-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.movie-details-poster {
    width: 320px !important;
    max-height: 480px !important; /* Constrain poster height */
    display: flex;
    align-items: flex-start;
}

.movie-details-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure it fills without leaking */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.video-player-container {
    height: auto !important;
    min-height: auto !important;
}

/* Custom Video Loader */
.video-loading-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: white;
    font-family: 'Oswald', sans-serif;
}

.video-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.1);
    border-left-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hide Video.js Big Play Button */
.vjs-big-play-button {
    display: none !important;
}

.video-js .vjs-loading-spinner {
    display: none !important; /* Hide default spinner to use our custom one */
}

/* Modern Cinematic Cast Cards */
.cast-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.cast-grid::-webkit-scrollbar {
    height: 6px;
}

.cast-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.cast-item {
    flex: 0 0 140px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.cast-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.cast-avatar {
    width: 100%;
    height: 180px;
    position: relative;
}

.cast-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 10px 5px;
    text-align: center;
}

.cast-name {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 !important;
}

/* Web Player Service Selector Styles */
.player-service-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.service-card-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.service-card-mini:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--color-teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.service-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
}

.service-card-info {
    flex: 1;
}

.service-card-info strong {
    display: block;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 4px;
}

.service-card-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.service-card-badge {
    background: var(--color-teal);
    color: black;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.player-welcome-msg {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.player-welcome-msg h3 {
    font-size: 2.5rem;
    font-family: 'Oswald', sans-serif;
    margin: 20px 0 10px;
    text-transform: uppercase;
}

.player-welcome-msg p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}
