/* ===== RESET & VARIABLES ===== */
:root {
  --bg: #141414;
  --bg-card: #1a1a1a;
  --bg-elevated: #222;
  --surface: #181818;
  --ink: #ffffff;
  --muted: #b3b3b3;
  --muted-dark: #808080;
  --red: #e50914;
  --red-dark: #b20710;
  --orange: #ff6f00;
  --gradient: linear-gradient(135deg, #e50914, #ff6f00);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

:root {
  --top-bar-height: 44px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(90deg, #1a0a2e, #0a1a2e);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--top-bar-height);
}

.top-bar-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.top-bar-text {
  font-size: 0.82rem;
  color: var(--muted);
}

.top-bar-text strong {
  color: #fff;
}

.top-bar-links {
  display: flex;
  gap: 8px;
}

.top-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
}

.top-bar-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
}

.top-bar-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted-dark);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}

.top-bar-close:hover {
  color: #fff;
}

/* ===== HEADER ===== */
.main-header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.header-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-icon {
  height: 36px;
  width: auto;
}

/* Neon Logo */
.neon-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  line-height: 1;
}

.neon-vegas {
  font-size: 2.2rem;
  color: #ff2d78;
  text-shadow:
    0 0 7px #ff2d78,
    0 0 20px #ff2d78,
    0 0 42px #ff2d78,
    0 0 80px #ff007b;
}

.neon-tv {
  font-size: 2.2rem;
  color: #00d4ff;
  text-shadow:
    0 0 7px #00d4ff,
    0 0 20px #00d4ff,
    0 0 42px #00d4ff,
    0 0 80px #0088ff;
}

.footer-neon-logo {
  margin-bottom: 16px;
}

.footer-neon-logo .neon-vegas,
.footer-neon-logo .neon-tv {
  font-size: 1.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 45, 120, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 212, 255, 0.1), transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 45, 120, 0.08), transparent 40%),
    linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(120px + var(--top-bar-height)) 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(229, 9, 20, 0); }
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, #ff2d78, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

/* ===== SECTION LIVE / PLAYER ===== */
.section-live {
  padding: 80px 0 60px;
  background: var(--bg);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.player-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(255,255,255,0.06);
}

.player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.jmv-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.autoplay-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.autoplay-btn {
  background: var(--red);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: pulse-play 2s infinite;
}

.autoplay-btn:hover {
  transform: scale(1.1);
  background: var(--red-dark);
}

@keyframes pulse-play {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.6); }
  50% { box-shadow: 0 0 0 20px rgba(229, 9, 20, 0); }
}

/* ===== SHOWS / PROGRAMAÇÃO ===== */
.section-shows {
  padding: 60px 0 80px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.section-title.left {
  text-align: left;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 36px;
}

.shows-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.shows-grid.featured {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.show-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
  cursor: pointer;
}

.show-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-color: rgba(229, 9, 20, 0.3);
}

.show-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.show-thumb-bg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.thumb-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.featured-card .thumb-icon {
  font-size: 4rem;
}

.show-card-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.card-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.show-info {
  padding: 18px;
}

.show-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.featured-card .show-info h3 {
  font-size: 1.3rem;
}

.show-info p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}

.btn-watch:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ===== CATEGORIAS ===== */
.section-categories {
  padding: 60px 0 80px;
  background: var(--surface);
}

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

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all var(--transition);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat-color);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px color-mix(in srgb, var(--cat-color) 20%, transparent);
}

.cat-icon {
  font-size: 2.4rem;
}

.cat-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

/* ===== DISPOSITIVOS ===== */
.section-devices {
  padding: 100px 0;
}

.devices-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.devices-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 480px;
}

.devices-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.devices-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.devices-list li svg {
  flex-shrink: 0;
  color: var(--red);
}

.devices-list li strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.devices-list li span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Device mockups */
.devices-visual {
  position: relative;
  height: 420px;
}

.device {
  position: absolute;
}

.device-screen {
  background: #0a0a0a;
  overflow: hidden;
}

.device-screen-content {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at center, rgba(255, 45, 120, 0.15), transparent 60%),
    linear-gradient(135deg, #0a0a0a, #1a1a2e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.device-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #ff2d78, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.device-logo.med {
  font-size: 1.4rem;
}

.device-logo.small {
  font-size: 1rem;
}

.device-live {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.device-live.small {
  font-size: 0.6rem;
}

/* TV */
.device-tv {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.device-tv .device-screen {
  width: 320px;
  height: 190px;
  border: 4px solid #333;
  border-radius: 8px;
}

.device-stand {
  width: 40px;
  height: 24px;
  background: #333;
  margin: 0 auto;
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.device-base {
  width: 100px;
  height: 6px;
  background: #333;
  margin: 0 auto;
  border-radius: 3px;
}

/* Phone */
.device-phone {
  left: 10%;
  bottom: 20px;
  z-index: 2;
}

.device-phone .device-screen {
  width: 80px;
  height: 150px;
  border: 3px solid #444;
  border-radius: 14px;
}

/* Tablet */
.device-tablet {
  right: 8%;
  bottom: 40px;
  z-index: 2;
}

.device-tablet .device-screen {
  width: 150px;
  height: 110px;
  border: 3px solid #444;
  border-radius: 10px;
}

/* ===== STATS ===== */
.section-stats {
  padding: 60px 0 80px;
  background: var(--surface);
}

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

.stat-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
}

.stat-card strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.main-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--muted-dark);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 16px;
}

.footer-bottom p {
  color: var(--muted-dark);
  font-size: 0.8rem;
}

/* ===== MOBILE NAV ===== */
.main-nav.open {
  display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .shows-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    height: 60px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: calc(60px + var(--top-bar-height));
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .main-nav a {
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .top-bar-text {
    font-size: 0.72rem;
  }

  .top-bar-links {
    gap: 4px;
  }

  .top-bar-btn {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .hero-content {
    padding: calc(100px + var(--top-bar-height)) 16px 60px;
  }

  .shows-grid,
  .shows-grid.featured {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

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

  .devices-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .devices-visual {
    height: 320px;
  }

  .device-tv .device-screen {
    width: 260px;
    height: 155px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .shows-grid,
  .shows-grid.featured {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 28px 16px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .devices-visual {
    height: 280px;
  }

  .device-tv .device-screen {
    width: 200px;
    height: 120px;
  }

  .device-phone .device-screen {
    width: 60px;
    height: 110px;
  }

  .device-tablet .device-screen {
    width: 110px;
    height: 80px;
  }
}
