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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1a0533 0%, #2d0a5e 50%, #1a0533 100%);
  min-height: 100vh;
  color: #fff;
}

/* HERO */
.hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #fff 0%, #f5c842 60%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  margin-bottom: 10px;
  animation: fadeDown 0.8s ease;
}

.subtitle {
  color: #c9a8f5;
  font-size: 1rem;
  margin-bottom: 30px;
  animation: fadeDown 1s ease;
}

/* BANNER */
.banner-art {
  display: inline-block;
  background: linear-gradient(135deg, #4a0080, #ff6a00, #ffcc00, #4a0080);
  background-size: 300% 300%;
  animation: bannerGradient 4s ease infinite;
  border-radius: 18px;
  padding: 4px;
  margin-bottom: 20px;
  box-shadow: 0 0 40px rgba(245, 168, 35, 0.4);
}

.banner-inner {
  background: linear-gradient(135deg, #1a0040 0%, #3d0070 100%);
  border-radius: 15px;
  padding: 30px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.banner-icon {
  font-size: 3rem;
}

.banner-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #ff8c00, #ffcc00, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stars {
  font-size: 1.3rem;
}

@keyframes bannerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* CONTAINER */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARDS */
.card {
  background: rgba(80, 20, 130, 0.45);
  border: 1px solid rgba(200, 130, 255, 0.25);
  border-radius: 16px;
  padding: 28px 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

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

.card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffcc55;
  margin-bottom: 10px;
}

.card-desc {
  color: #d4b8ff;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

/* STEPS */
.steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.steps li {
  color: #e8d8ff;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 8px 14px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  border-left: 3px solid #a855f7;
}

/* PLATAFORMAS */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.platform-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,130,255,0.2);
  border-radius: 12px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: all 0.2s;
  cursor: default;
}

.platform-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: #a855f7;
  transform: scale(1.03);
}

.platform-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.netflix-logo {
  background: #000;
  color: #e50914;
  font-family: 'Georgia', serif;
  font-size: 2rem;
  font-weight: 900;
  border: 2px solid #e50914;
}

.disney-logo {
  background: linear-gradient(135deg, #000b3d, #0a1f6b);
  color: #00a2e8;
  font-size: 1.1rem;
  font-weight: 800;
  border: 2px solid #00a2e8;
}

.platform-card strong {
  color: #fff;
  font-size: 0.95rem;
}

.platform-card span {
  color: #c4a8e8;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* FORM */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.9rem;
  color: #d4b8ff;
  font-weight: 600;
}

.form-group input {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(200,130,255,0.4);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: border 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: #a855f7;
  background: rgba(168,85,247,0.15);
}

.form-group input.valid {
  border-color: #22c55e;
}

.form-group input.invalid {
  border-color: #ef4444;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.35);
}

/* BOTÃO */
.btn-verificar {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #e07b00, #f5a623, #e07b00);
  background-size: 200% auto;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}

.btn-verificar:hover {
  background-position: right center;
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(245,166,35,0.6);
}

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

.btn-verificar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* LOADER */
.loader-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(168,85,247,0.15);
  border-radius: 10px;
  border: 1px solid rgba(168,85,247,0.3);
  color: #c4a8e8;
  font-size: 0.9rem;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(168,85,247,0.3);
  border-top: 3px solid #a855f7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

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

/* RESULTADO */
.resultado {
  margin-top: 18px;
  padding: 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  animation: fadeIn 0.5s ease;
}

.resultado.sucesso {
  background: rgba(34,197,94,0.15);
  border: 1.5px solid rgba(34,197,94,0.5);
  color: #86efac;
}

.resultado.erro {
  background: rgba(239,68,68,0.15);
  border: 1.5px solid rgba(239,68,68,0.5);
  color: #fca5a5;
}

.codigo-box {
  background: rgba(0,0,0,0.35);
  border: 2px solid #a855f7;
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
  text-align: center;
}

.codigo-valor {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 8px;
  color: #f5c842;
  text-shadow: 0 0 20px rgba(245,200,66,0.6);
}

.codigo-info {
  font-size: 0.78rem;
  color: #c4a8e8;
  margin-top: 6px;
}

/* VIDEO PLACEHOLDER */
.video-placeholder {
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(200,130,255,0.2);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}

.video-placeholder:hover {
  background: rgba(0,0,0,0.55);
  border-color: #a855f7;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(168,85,247,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(168,85,247,0.4);
}

.video-placeholder p {
  color: #b89ad8;
  font-size: 0.85rem;
  text-align: center;
  padding: 0 20px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px 20px;
  color: #8b6aad;
  font-size: 0.85rem;
  border-top: 1px solid rgba(200,130,255,0.15);
  line-height: 2;
}

footer strong {
  color: #c4a8e8;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.7rem; }
  .banner-inner { padding: 20px 30px; }
  .banner-title { font-size: 1.3rem; letter-spacing: 2px; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .platform-logo { width: 40px; height: 40px; font-size: 1.1rem; }
  .card { padding: 20px 16px; }
  .codigo-valor { font-size: 1.6rem; letter-spacing: 5px; }
}
