/* ============================================
   GLOBSEX — Landing Page
   Paleta: #9013ab → #f5245f
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --roxo: #9013ab;
  --rosa: #f5245f;
  --grad-btn: linear-gradient(to top, rgb(255, 80, 80), rgb(250, 185, 40));
  --grad-brand: linear-gradient(135deg, #9013ab 0%, #f5245f 100%);
  --grad-glass-border: linear-gradient(135deg,
      rgba(144, 19, 171, 0.55),
      rgba(245, 36, 95, 0.25),
      rgba(144, 19, 171, 0.55));
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-dim: rgba(255, 255, 255, 0.55);
  --glass-bg: rgba(20, 8, 28, 0.22);
  --glass-blur: 14px;
  --radius: 22px;
  --shadow-glow: 0 0 80px rgba(245, 36, 95, 0.18);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: #0a0510;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--rosa);
  color: #fff;
}

/* ============================================
   VÍDEO DE FUNDO
   ============================================ */

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #2a0a3a 0%, #0a0510 70%);
}

.bg-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.15);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.bg-video video.ready {
  opacity: 1;
}

/* Escurece geral pra dar clima noturno */
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 5, 16, 0.65) 0%,
      rgba(10, 5, 16, 0.35) 40%,
      rgba(10, 5, 16, 0.75) 100%),
    radial-gradient(circle at 50% 45%,
      rgba(144, 19, 171, 0.12) 0%,
      transparent 55%);
  pointer-events: none;
}

/* Vinheta radial pra puxar o foco pro centro */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
      transparent 35%,
      rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/* ============================================
   PALCO CENTRAL
   ============================================ */

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
}

/* ============================================
   CARD DE VIDRO
   ============================================ */

.glass-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 52px);
  text-align: center;
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: var(--shadow-glow), 0 25px 60px rgba(0, 0, 0, 0.45);
  isolation: isolate;
  animation: cardIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Borda gradiente sutil via pseudo-elemento */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--grad-glass-border);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Linha de brilho no topo */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.5),
      transparent);
  pointer-events: none;
}

/* ============================================
   LOGO
   ============================================ */

.logo {
  display: block;
  margin: 0 auto clamp(18px, 3vw, 28px);
  width: clamp(120px, 22vw, 180px);
  height: auto;
  filter: drop-shadow(0 0 25px rgba(245, 36, 95, 0.35));
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

.title {
  font-size: clamp(1.55rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title .brand {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(245, 36, 95, 0.35));
}

.subtitle {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 12px;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.subtitle strong {
  color: #fff;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.description {
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: clamp(26px, 4vw, 36px);
  animation: fadeUp 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================
   BOTÃO CTA
   ============================================ */

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: 17px 32px;
  border-radius: 14px;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  background: var(--grad-btn);
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(255, 80, 80, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.25s ease, box-shadow 0.3s ease, filter 0.3s ease;
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  cursor: pointer;
}

.cta:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow:
    0 18px 45px rgba(255, 80, 80, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.cta:active {
  transform: translateY(-1px) scale(0.99);
}

.cta-label {
  position: relative;
  z-index: 2;
}

/* Brilho passando no hover */
.cta-shine {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.45) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  z-index: 1;
  pointer-events: none;
}

.cta:hover .cta-shine {
  animation: shine 0.85s ease forwards;
}

/* ============================================
   AVISO 18+
   ============================================ */

.age-warning {
  margin-top: 18px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  animation: fadeUp 0.8s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================
   RODAPÉ
   ============================================ */

.footer {
  position: relative;
  z-index: 2;
  padding: 22px 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(to top,
      rgba(10, 5, 16, 0.85),
      transparent);
}

.footer p {
  margin: 0;
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shine {
  0%   { left: -75%; }
  100% { left: 125%; }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================
   AJUSTES MOBILE
   ============================================ */

@media (max-width: 480px) {
  .glass-card {
    border-radius: 18px;
  }
  .cta {
    padding: 16px 24px;
  }
}