:root{
  --bg: #050505;
  --bg2: #0b0b0d;
  --card: rgba(255,255,255,.05);
  --card-hover: rgba(255,255,255,.08);
  --text: #e0e0e0;
  --muted: rgba(255,255,255,.6);
  --line: rgba(255,255,255,.1);
  --accent: #e50914; /* Netflix Red-ish */
  --accent2: #b81d24;
  --accent3: rgba(229, 9, 20, 0.18);
  --focus: rgba(229, 9, 20, 0.55);
  --shadow: 0 20px 60px rgba(0,0,0,.6);
  --shadow2: 0 18px 70px rgba(0,0,0,.65);
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(229, 9, 20, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(50, 50, 150, 0.15), transparent 25%);
  min-height: 100vh;
  display:flex;
  flex-direction: column;
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; transition: .2s; }
a:hover{ color: var(--accent); }
a:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 12px;
}

.container{
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Header */
.header{
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.8);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 45px rgba(0,0,0,0.35);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text{
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
}

/* Deixa "Verse" com o mesmo degradê vermelho do favicon/logo */
.logo-text span{
  background: linear-gradient(to right, #e50914, #b81d24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links{
  display: flex;
  gap: 24px;
}

.nav-links a{
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover{ color: #fff; }
.nav-links a:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 12px;
}

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.nav-toggle__bar{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
}

.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 90;
}

.btn-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  padding: 12px 26px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(229, 9, 20, 0.28);
  filter: saturate(1.05);
  color: white;
}
.btn-cta:active{
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(229, 9, 20, 0.22);
  filter: saturate(1);
}
.btn-cta:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    margin-top: 15px;
}

/* Hero */
.hero{
  padding: 100px 0 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1{
  font-size: clamp(40px, 5vw, 72px);
  margin: 0 0 24px;
  line-height: 1.1;
  background: linear-gradient(to bottom, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p{
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 40px;
}

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

.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  color: white;
  padding: 12px 28px;
  border-radius: 99px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn-secondary:hover{
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.btn-secondary:active{ transform: translateY(0); }
.btn-secondary:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Features */
.features{
  padding: 80px 0;
}

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card:hover{
  transform: translateY(-5px);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 24px 85px rgba(0,0,0,0.45);
}

.card h3{
  margin: 0 0 12px;
  font-size: 20px;
  color: #fff;
}

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

.community{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.ads-section{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.ads-left{
  background: var(--card);
  border: 1px solid rgba(229, 9, 20, 0.25);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 30px 100px rgba(229, 9, 20, 0.10), var(--shadow);
}

.ads-right{
  display: flex;
  justify-content: center;
}

.ads-highlights{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ads-pill{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 12px;
}

.ads-card{
  width: min(420px, 100%);
  border-radius: 24px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.45);
}

.ads-card-title{
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  letter-spacing: 0.2px;
}

.ads-price-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.ads-price{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 14px 14px;
}

.ads-price-value{
  color: #fff;
  font-weight: 900;
  font-size: 20px;
}

.ads-price-label{
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.ads-card-note{
  margin-top: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.community-left{
  background: var(--card);
  border: 1px solid rgba(229, 9, 20, 0.25);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 30px 100px rgba(229, 9, 20, 0.10), var(--shadow);
}

.community-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.22);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.community-title{
  margin: 14px 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  color: #fff;
}

.community-subtitle{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}

.community-actions{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.community-note{
  margin-top: 14px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.community-right{
  display: flex;
  justify-content: center;
}

.community-qr-card{
  width: min(360px, 100%);
  border-radius: 24px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-qr{
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.45);
}

.community-handle{
  margin-top: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.9);
}

.icon{
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
  padding: 12px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
}

/* Newsletter & Activation */
.newsletter{
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter h2{
  font-size: 32px;
  margin: 0 0 16px;
}

.form-group{
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 32px auto 0;
}

.input{
  flex: 1;
  padding: 14px 20px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.input:focus{
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.16), inset 0 0 0 1px rgba(0,0,0,0.25);
  background: rgba(0,0,0,.45);
}
.input::placeholder{
  color: rgba(255,255,255,0.45);
}
.input:focus::placeholder{
  color: rgba(255,255,255,0.35);
}
.input:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

/* Activation Key Styles */
.activation-key-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 30px;
    max-width: 500px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.1);
}

.activation-key {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 4px;
    margin: 20px 0;
    font-family: monospace;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed var(--line);
    user-select: all;
}

.activation-key-container h3 {
    margin-top: 0;
    color: #fff;
}

/* Botão Voltar ao Topo (Estilo Spotify) */
.scroll-to-top-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-to-top-container.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff; /* Fundo branco como no Spotify */
    border: none;
    color: #000; /* Ícone preto */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.scroll-to-top-btn:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
}

.scroll-to-top-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.msg {
    margin-top: 15px;
    font-size: 14px;
    padding: 10px;
    border-radius: 8px;
    display: none;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.msg.success { background: rgba(0, 255, 0, 0.1); color: #4caf50; border: 1px solid rgba(0, 255, 0, 0.2); }
.msg.error { background: rgba(255, 0, 0, 0.1); color: #f44336; border: 1px solid rgba(255, 0, 0, 0.2); }
.msg.normal { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 18px;
    background: radial-gradient(circle at 20% 10%, rgba(229, 9, 20, 0.22), transparent 35%),
                radial-gradient(circle at 80% 20%, rgba(120, 80, 255, 0.18), transparent 40%),
                rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #111;
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    background: linear-gradient(145deg, rgba(20,20,20,1) 0%, rgba(5,5,5,1) 100%);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content.advertiser-modal-content{
    max-width: 560px;
    width: min(560px, 92vw);
    padding: 34px 30px;
    border: 1px solid rgba(229, 9, 20, 0.35);
    box-shadow: 0 30px 90px rgba(229, 9, 20, 0.12), var(--shadow);
    max-height: 86vh;
    overflow: auto;
}

.modal-content.advertiser-modal-content h2{
    font-size: 28px;
    margin-bottom: 8px;
}

.modal-content.advertiser-modal-content .form-group{
    margin: 12px auto 0;
    max-width: 520px;
}

.modal-content.advertiser-modal-content .input[type="file"]{
    padding: 12px 14px;
    border-radius: 14px;
}

.modal-content.advertiser-modal-content .activation-key-container{
    border-color: rgba(229, 9, 20, 0.45);
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.12);
}

.modal-content.advertiser-modal-content .activation-key{
    font-size: 26px;
    letter-spacing: 1px;
    padding: 12px 14px;
    margin: 12px 0;
}

.modal-content.advertiser-modal-content .btn-cta{
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 800;
}

.modal-content form{
    margin-top: 8px;
}

.modal-content hr{
    border: none;
    height: 1px;
    width: 100%;
    background: rgba(255,255,255,0.10);
    margin: 18px 0 4px;
}

.close-modal{
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
    user-select: none;
}
.close-modal:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.16);
}
.close-modal:active{ transform: translateY(0); }
.close-modal:focus-visible{
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.modal-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #fff;
}

.modal-content p {
    color: var(--muted);
    margin: 0 0 15px;
    font-size: 15px;
}

.modal-timer {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-top: 20px;
    background: rgba(229, 9, 20, 0.1);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
}

@media (max-width: 768px){
  .header{ padding: 15px 0; }
  .nav-toggle{ display: inline-flex; }

  .nav-links{
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(10,10,12,0.98);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 70px rgba(0,0,0,0.65);
    z-index: 110;
  }

  body.nav-open{ overflow: hidden; }
  body.nav-open .nav-links{ display: flex; }
  
  .hero{ padding: 40px 0 30px; }
  .hero h1{ font-size: 32px; margin-bottom: 16px; }
  .hero p { font-size: 16px; margin-bottom: 24px; }
  
  .form-group{ flex-direction: column; width: 100%; max-width: 100%; }
  .input { width: 100%; margin-bottom: 10px; }
  .btn-cta, .btn-secondary { width: 100%; }
  
  .hero-btns { flex-direction: column; gap: 10px; width: 100%; padding: 0 20px; }
  
  .grid{ grid-template-columns: 1fr; }

  .community{
    grid-template-columns: 1fr;
  }
  .community-left{
    padding: 24px 18px;
  }
  .ads-section{
    grid-template-columns: 1fr;
  }
  .ads-left{
    padding: 24px 18px;
  }
  
  .modal-content{ 
    padding: 24px; 
    width: 90%; 
    max-width: 320px; 
    margin: 0 auto;
  }
  .modal-content.advertiser-modal-content{
    max-width: 360px;
    width: 92vw;
    padding: 22px 18px;
    max-height: 84vh;
  }
  .modal-icon { font-size: 36px; margin-bottom: 12px; }
  .modal-content h2 { font-size: 20px; }
  
  .activation-key { font-size: 28px; letter-spacing: 2px; }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 380px) {
    .logo { font-size: 20px; }
    .hero h1 { font-size: 28px; }
}

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