﻿/* =========================================================
   DisFlix - Tema Premium Máximo
   Troque as cores principais no :root
   ========================================================= */
:root {
  --bg-main: #020817;
  --bg-soft: #040d24;
  --bg-card: rgba(9, 21, 50, 0.76);
  --bg-card-strong: rgba(8, 19, 45, 0.9);
  --text-main: #f1f8ff;
  --text-soft: #9fb4d6;
  --text-faint: #7f9cc0;
  --line-soft: rgba(120, 204, 255, 0.18);
  --line-strong: rgba(120, 214, 255, 0.38);
  --blue-primary: #1378ff;
  --blue-neon: #2eb4ff;
  --blue-crystal: #89deff;
  --shadow-deep: 0 16px 40px rgba(1, 11, 32, 0.65);
  --shadow-glow: 0 0 0 1px rgba(113, 204, 255, 0.12), 0 18px 44px rgba(3, 28, 82, 0.46);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --max-width: 1240px;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Reset e Base
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(900px 520px at -5% -15%, rgba(34, 135, 255, 0.26), transparent 65%),
    radial-gradient(850px 460px at 105% -20%, rgba(36, 177, 255, 0.19), transparent 62%),
    radial-gradient(750px 430px at 50% 110%, rgba(17, 81, 196, 0.2), transparent 68%),
    linear-gradient(180deg, #010718 0%, #020b1d 40%, #010612 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(151, 215, 255, 0.03) 0,
    rgba(151, 215, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.2;
  z-index: -1;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--max-width), calc(100% - 2.8rem));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 6.5rem 0;
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(6, 13, 31, 0.84), rgba(4, 10, 24, 0.92)),
    radial-gradient(circle at 90% 10%, rgba(42, 168, 255, 0.11), transparent 42%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  margin-bottom: 2.4rem;
}

.section-head h2 {
  font-size: clamp(1.72rem, 1.4vw + 1.2rem, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 0.65rem;
  line-height: 1.2;
  text-wrap: balance;
}

.section-head p {
  max-width: 780px;
  color: var(--text-soft);
  font-size: 1.01rem;
}

/* =========================================================
   Header Premium
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 10, 26, 0.62);
  border-bottom: 1px solid rgba(113, 207, 255, 0.13);
  backdrop-filter: blur(14px) saturate(130%);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(3, 10, 24, 0.88);
  border-bottom-color: rgba(120, 214, 255, 0.2);
  box-shadow: 0 12px 30px rgba(2, 8, 24, 0.48);
}

.header-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 198px;
}

.brand-logo {
  width: auto;
  height: 48px;
  max-width: 190px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(72, 188, 255, 0.45));
  transition: transform 0.35s var(--ease-premium), filter 0.35s var(--ease-premium);
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 18px rgba(108, 209, 255, 0.55));
}

.brand-text {
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(100deg, #95e4ff 4%, #308fff 58%, #7fd4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c3d8f6;
  padding: 0.5rem 0.22rem;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.12rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-neon), var(--blue-primary));
  transition: width 0.3s var(--ease-premium);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: #ecf7ff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(9, 23, 52, 0.82);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(77, 175, 255, 0.12);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #cff0ff;
  transition: transform 0.3s var(--ease-premium), opacity 0.2s ease;
}

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

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

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

/* =========================================================
   Botões
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.78rem 1.22rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.24s var(--ease-premium), box-shadow 0.3s ease, background 0.3s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 80%);
  opacity: 0;
  transform: translateX(-130%);
  transition: transform 0.55s var(--ease-premium), opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary,
.btn-header {
  background: linear-gradient(115deg, #156aff 0%, #1895ff 45%, #4cc4ff 100%);
  color: #f2fbff;
  box-shadow: 0 10px 30px rgba(13, 101, 255, 0.42);
}

.btn-primary:hover,
.btn-header:hover {
  box-shadow: 0 14px 34px rgba(33, 123, 255, 0.5);
}

.btn-secondary {
  border-color: rgba(127, 209, 255, 0.32);
  background: rgba(8, 20, 47, 0.64);
  color: #d6edff;
}

.btn-secondary:hover {
  border-color: rgba(145, 225, 255, 0.58);
  box-shadow: 0 12px 30px rgba(2, 82, 175, 0.34);
}

/* =========================================================
   Hero Cinematográfica
   ========================================================= */
.section-glow {
  overflow: clip;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  position: relative;
  padding: 8.4rem 0 5.9rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 7, 18, 0.06), rgba(1, 7, 18, 0.82));
  pointer-events: none;
  z-index: -2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(35% 35% at 72% 28%, rgba(45, 191, 255, 0.23), transparent 72%),
    radial-gradient(45% 38% at 18% 75%, rgba(34, 105, 255, 0.3), transparent 74%),
    linear-gradient(140deg, rgba(3, 13, 34, 0.36), rgba(3, 11, 29, 0.88));
  transition: transform 0.4s ease-out;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.hero-bg::before {
  width: 470px;
  height: 470px;
  right: -160px;
  top: -110px;
  background: radial-gradient(circle, rgba(53, 170, 255, 0.4), transparent 70%);
}

.hero-bg::after {
  width: 390px;
  height: 390px;
  left: -120px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(18, 104, 255, 0.36), transparent 72%);
}

.hero-content {
  max-width: 780px;
  position: relative;
  padding: 1.9rem 1.95rem 1.85rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(122, 209, 255, 0.22);
  background: linear-gradient(145deg, rgba(8, 20, 48, 0.7), rgba(5, 14, 34, 0.56));
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(5px);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 2px);
  pointer-events: none;
  background: linear-gradient(160deg, rgba(140, 230, 255, 0.1), transparent 38%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  padding: 0.34rem 0.78rem;
  border: 1px solid rgba(145, 220, 255, 0.32);
  border-radius: 999px;
  color: #caebff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10, 25, 54, 0.58);
}

.hero h1 {
  font-size: clamp(2.05rem, 4.1vw + 1rem, 4.3rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 1rem;
  text-wrap: balance;
  text-shadow: 0 6px 24px rgba(3, 20, 60, 0.45);
}

.hero h1 span {
  color: var(--blue-crystal);
  text-shadow: 0 0 24px rgba(82, 195, 255, 0.36);
}

.hero p {
  max-width: 670px;
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.13rem);
  color: #b9d0ec;
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
}

.hero-tags {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  font-size: 0.81rem;
  color: #d2eaff;
  border: 1px solid rgba(136, 218, 255, 0.27);
  border-radius: 999px;
  padding: 0.34rem 0.64rem;
  background: rgba(9, 22, 49, 0.52);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hero-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 231, 255, 0.46);
}

/* =========================================================
   Lançamentos em foco
   ========================================================= */
.launch-spotlight {
  padding-top: 5.2rem;
}

.launch-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.launch-main,
.launch-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(8, 22, 52, 0.88), rgba(5, 13, 31, 0.9));
  box-shadow: var(--shadow-glow);
}

.launch-main img,
.launch-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.launch-content {
  padding: 1rem 1rem 1.2rem;
}

.launch-content h3 {
  font-size: 1.24rem;
  margin-bottom: 0.42rem;
}

.launch-content p {
  color: var(--text-soft);
  margin-bottom: 0.85rem;
}

.launch-card-body {
  padding: 0.86rem 0.86rem 1rem;
}

.launch-card-body h4 {
  font-size: 1rem;
  margin-bottom: 0.34rem;
}

.launch-card-body p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 0.62rem;
}

.launch-btn {
  width: 100%;
}

/* =========================================================
   Cards Premium Compartilhados
   ========================================================= */
.feature-card,
.trailer-card,
.news-card,
.category-card,
.benefit-card,
.top10-item {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.trailer-card::before,
.news-card::before,
.category-card::before,
.benefit-card::before,
.top10-item::before {
  content: "";
  position: absolute;
  left: -35%;
  top: -140%;
  width: 110%;
  height: 180%;
  transform: rotate(22deg);
  background: linear-gradient(180deg, rgba(137, 224, 255, 0.11), transparent 48%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.feature-card:hover::before,
.trailer-card:hover::before,
.news-card:hover::before,
.category-card:hover::before,
.benefit-card:hover::before,
.top10-item:hover::before {
  opacity: 1;
}

/* =========================================================
   Em Destaque
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(8, 21, 50, 0.92), rgba(6, 15, 37, 0.88));
  box-shadow: var(--shadow-glow);
  transition: transform 0.32s var(--ease-premium), border-color 0.3s ease, box-shadow 0.32s ease;
}

.feature-card:hover {
  transform: translateY(-9px);
  border-color: rgba(131, 218, 255, 0.5);
  box-shadow: 0 22px 52px rgba(1, 34, 90, 0.5);
}

.feature-cover {
  height: 236px;
  position: relative;
  background: var(--bg);
}

.feature-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%),
    linear-gradient(180deg, transparent 34%, rgba(2, 6, 18, 0.9) 100%);
}

.feature-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(136, 218, 255, 0.2);
}

.feature-body {
  padding: 1.1rem 1.05rem 1.2rem;
}

.badge {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 226, 255, 0.35);
  color: #a8e7ff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.42rem;
  line-height: 1.3;
}

.feature-body p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* =========================================================
   Trailers
   ========================================================= */
.trailers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.trailer-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(8, 22, 52, 0.84), rgba(5, 14, 34, 0.84));
  transition: transform 0.3s var(--ease-premium), border-color 0.28s ease, box-shadow 0.3s ease;
}

.trailer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(134, 224, 255, 0.5);
  box-shadow: 0 22px 46px rgba(2, 31, 84, 0.42);
}

.trailer-thumb {
  min-height: 220px;
  position: relative;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 0;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.trailer-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%);
}

.trailer-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(2, 8, 23, 0.88));
}

.trailer-thumb-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-premium), filter 0.4s var(--ease-premium);
}

.trailer-thumb:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.trailer-placeholder {
  background:
    linear-gradient(110deg, rgba(10, 28, 62, 0.65) 8%, rgba(23, 67, 130, 0.72) 18%, rgba(10, 28, 62, 0.65) 33%),
    linear-gradient(180deg, rgba(8, 21, 51, 0.88), rgba(5, 13, 31, 0.9));
  background-size: 200% 100%;
  animation: trailerPulse 1.5s linear infinite;
}

@keyframes trailerPulse {
  0% {
    background-position: 160% 0;
  }
  100% {
    background-position: -60% 0;
  }
}

.play-btn {
  width: 74px;
  height: 74px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid rgba(173, 231, 255, 0.48);
  background: radial-gradient(circle at 30% 20%, rgba(42, 171, 255, 0.36), rgba(6, 20, 47, 0.8));
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s ease;
}

.play-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -50%);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #def5ff;
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(117, 217, 255, 0.45);
}

.trailer-meta {
  padding: 1rem 1.05rem 1.1rem;
}

.trailer-meta h3 {
  font-size: 1.1rem;
  margin-bottom: 0.28rem;
}

.trailer-meta p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  padding: 0.15rem 0.46rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(144, 224, 255, 0.36);
  background: rgba(9, 25, 58, 0.66);
  color: #d7f1ff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.platform-chip::before {
  content: "▶";
  font-size: 0.56rem;
  color: #9ee5ff;
}

/* =========================================================
   Modal YouTube
   ========================================================= */
.trailer-modal[hidden] {
  display: none;
}

.trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.trailer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 24, 0.82);
  backdrop-filter: blur(6px);
}

.trailer-modal-panel {
  position: relative;
  width: min(980px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(133, 218, 255, 0.34);
  background: linear-gradient(160deg, rgba(8, 22, 52, 0.96), rgba(5, 12, 30, 0.98));
  box-shadow: 0 22px 50px rgba(1, 11, 32, 0.65);
  padding: 1.1rem;
}

.trailer-modal-panel h3 {
  font-size: 1rem;
  margin: 0 2.2rem 0.8rem 0.2rem;
}

.trailer-modal-close {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(144, 223, 255, 0.38);
  background: rgba(8, 22, 52, 0.9);
  color: #dff3ff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.trailer-player-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(138, 214, 255, 0.2);
  background: #020817;
}

.trailer-player-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* =========================================================
   Novidades
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.news-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(8, 21, 50, 0.86), rgba(5, 13, 32, 0.84));
  padding: 1.16rem 1.06rem;
  transition: transform 0.28s var(--ease-premium), border-color 0.28s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(133, 219, 255, 0.48);
  box-shadow: 0 20px 42px rgba(2, 26, 74, 0.38);
}

.news-tag {
  display: inline-flex;
  margin-bottom: 0.72rem;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(142, 221, 255, 0.35);
  color: #96e5ff;
  font-size: 0.72rem;
  font-weight: 600;
}

.news-card h3 {
  font-size: 1.08rem;
  line-height: 1.36;
  margin-bottom: 0.5rem;
}

.news-card p {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 0.78rem;
}

.news-card a {
  color: #8adfff;
  font-size: 0.89rem;
  font-weight: 700;
}

.news-card a:hover {
  color: #d9f4ff;
}

/* =========================================================
   Top 10
   ========================================================= */
.top10-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.top10-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(150deg, rgba(8, 21, 52, 0.88), rgba(5, 14, 35, 0.9));
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  transition: transform 0.28s var(--ease-premium), border-color 0.28s ease, box-shadow 0.3s ease;
}

.top10-item span {
  min-width: 42px;
  text-align: center;
  padding: 0.22rem 0.38rem;
  border: 1px solid rgba(145, 225, 255, 0.4);
  border-radius: 999px;
  color: #7ce0ff;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(12, 29, 66, 0.7);
}

.top10-item strong {
  font-size: 0.97rem;
}

.top10-item small {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.81rem;
}

.top10-thumb {
  width: 78px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(141, 221, 255, 0.32);
}

.top10-trailer-btn {
  border: 1px solid rgba(137, 220, 255, 0.45);
  background: rgba(8, 26, 58, 0.72);
  color: #ddf2ff;
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease-premium), border-color 0.2s ease, box-shadow 0.25s ease;
}

.top10-trailer-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(153, 233, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(83, 187, 255, 0.14);
}

.top10-item:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 224, 255, 0.48);
  box-shadow: 0 16px 34px rgba(2, 25, 68, 0.36);
}

/* =========================================================
   Categorias
   ========================================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
}

.category-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 1rem 0.45rem;
  background: linear-gradient(155deg, rgba(8, 21, 50, 0.78), rgba(5, 13, 31, 0.8));
  transition: transform 0.26s var(--ease-premium), border-color 0.26s ease, box-shadow 0.3s ease, background 0.26s ease;
}

.category-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(144, 227, 255, 0.28);
  background: rgba(10, 29, 66, 0.65);
  color: #9ce5ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.category-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(137, 220, 255, 0.48);
  box-shadow: 0 15px 32px rgba(1, 25, 66, 0.32);
  background: linear-gradient(155deg, rgba(10, 25, 57, 0.88), rgba(6, 17, 40, 0.92));
}

/* =========================================================
   Benefícios
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.benefit-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 1.12rem 1rem;
  background: linear-gradient(165deg, rgba(9, 22, 54, 0.84), rgba(6, 15, 34, 0.86));
  box-shadow: 0 12px 30px rgba(1, 19, 54, 0.3);
  transition: transform 0.26s var(--ease-premium), border-color 0.26s ease, box-shadow 0.3s ease;
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.42rem;
}

.benefit-card p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 221, 255, 0.46);
  box-shadow: 0 18px 34px rgba(1, 24, 64, 0.38);
}

/* =========================================================
   CTA Final
   ========================================================= */
.cta-final .container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(146, 229, 255, 0.34);
  padding: 2.95rem 1.35rem;
  text-align: center;
  background:
    radial-gradient(900px 340px at 75% -30%, rgba(45, 174, 255, 0.24), transparent 58%),
    linear-gradient(160deg, rgba(10, 29, 66, 0.86), rgba(5, 14, 32, 0.95));
  box-shadow: var(--shadow-glow);
}

.cta-final .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(145, 228, 255, 0.1) 40%, transparent 80%);
  pointer-events: none;
}

.cta-final h2 {
  font-size: clamp(1.62rem, 2.1vw + 1rem, 2.7rem);
  font-weight: 800;
  margin-bottom: 0.68rem;
  line-height: 1.25;
  text-wrap: balance;
}

.cta-final p {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  color: #bbd4f2;
}

/* =========================================================
   Rodapé Premium
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(4, 11, 27, 0.9), rgba(1, 6, 16, 0.96)),
    radial-gradient(650px 260px at 12% 0%, rgba(39, 156, 255, 0.12), transparent 60%);
  padding-top: 2.45rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(132, 215, 255, 0.03), transparent 18%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 1.3rem;
}

.site-footer h3 {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #dff2ff;
  margin-bottom: 0.5rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  font-size: 0.9rem;
  color: #aac4e7;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.site-footer a {
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #e3f4ff;
}

.footer-bottom {
  margin-top: 1.45rem;
  border-top: 1px solid rgba(132, 214, 255, 0.14);
  padding: 1rem 0 1.45rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.78rem;
}

.footer-bottom a {
  color: #82d8ff;
  font-weight: 700;
}

/* =========================================================
   Botão Voltar ao Topo
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 1.05rem;
  bottom: 1.1rem;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  border: 1px solid rgba(145, 226, 255, 0.44);
  background: linear-gradient(165deg, rgba(8, 29, 64, 0.95), rgba(4, 13, 33, 0.96));
  color: #e4f5ff;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(2, 18, 48, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.26s ease, transform 0.26s ease, box-shadow 0.25s ease;
  z-index: 45;
}

.back-to-top:hover {
  box-shadow: 0 0 0 4px rgba(95, 191, 255, 0.14), 0 14px 30px rgba(2, 23, 64, 0.55);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* =========================================================
   Reveal on Scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition: opacity 0.62s var(--ease-premium), transform 0.62s var(--ease-premium);
  transition-delay: var(--delay, 0s);
}

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

/* =========================================================
   Responsividade
   ========================================================= */
@media (max-width: 1200px) {
  .launch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .launch-main {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .trailers-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 7.1rem 0 4.8rem;
  }

  .hero-content {
    max-width: 100%;
    padding: 1.55rem 1.3rem;
  }

  .top10-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5.4rem 0;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.8rem));
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .header-wrap {
    min-height: 74px;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    height: 40px;
    max-width: 152px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .btn-header {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0.35rem;
    padding: 0.78rem 1rem 1rem;
    border-top: 1px solid rgba(124, 210, 255, 0.18);
    border-bottom: 1px solid rgba(124, 210, 255, 0.18);
    background: linear-gradient(180deg, rgba(6, 15, 35, 0.96), rgba(4, 11, 28, 0.98));
    backdrop-filter: blur(8px);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s var(--ease-premium), opacity 0.2s ease;
  }

  .main-nav a {
    font-size: 0.8rem;
    padding: 0.62rem 0.1rem;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 150px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.45rem));
  }

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

  .top10-item {
    grid-template-columns: auto 1fr;
    row-gap: 0.5rem;
  }

  .top10-item small {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .feature-grid,
  .trailers-grid,
  .news-grid,
  .benefits-grid,
  .categories-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.75rem 0;
  }

  .hero {
    padding: 6.4rem 0 4rem;
  }

  .hero-content {
    padding: 1.32rem 1rem;
    border-radius: 22px;
  }

  .hero-kicker {
    font-size: 0.69rem;
  }

  .feature-cover,
  .trailer-thumb {
    min-height: 200px;
    height: 200px;
  }

  .trailer-modal {
    padding: 0.7rem;
  }

  .trailer-modal-panel {
    padding: 0.7rem;
  }

  .trailer-modal-panel h3 {
    font-size: 0.92rem;
    margin-bottom: 0.58rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .main-nav a {
    letter-spacing: 0.045em;
  }

  .btn {
    font-size: 0.88rem;
    padding: 0.74rem 1rem;
  }

  .hero-tags {
    gap: 0.4rem;
  }

  .hero-tags span {
    font-size: 0.77rem;
    padding: 0.3rem 0.55rem;
  }

  .back-to-top {
    width: 43px;
    height: 43px;
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
