:root {
  --accent: #a06dff;
  --card-bg: rgba(36, 30, 60, 0.65);
  --border: rgba(255,255,255,0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, sans-serif;
  background: radial-gradient(circle at 30% 30%, #161333, #312c4b);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Particles */
canvas#particles {
  position: fixed;
  inset: 0;
  z-index: -3;
}

/* Glow */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  z-index: -2;
}

.glow1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  left: -100px;
}

.glow2 {
  width: 400px;
  height: 400px;
  background: white;
  bottom: -120px;
  right: -100px;
  opacity: 0.12;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #0e0b1d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loader img {
  width: 80px;
  position: absolute;
}

.loader-ring {
  width: 120px;
  height: 120px;
  border: 3px solid transparent;
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* Card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 2rem;
  max-width: 650px;
  width: calc(100% - 2rem);
  margin: 2rem auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.fade-in {
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Banner */
.media-logo {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

/* Text */
h1 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

p {
  line-height: 1.6;
}

/* Progress */
.progress-bar-wrapper {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, var(--accent), #d5c9ff);
  animation: loadBar 2s ease;
}

@keyframes loadBar {
  from { width: 0; }
}

/* Sections */
.section {
  margin-bottom: 1.4rem;
}

.section-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* FORM FIX */
.form-wrapper {
  margin-top: 1rem;
}

.form-wrapper iframe {
  width: 100%;
  min-height: 1100px;
  border: none;
  border-radius: 14px;
  background: #ffffff;
}

/* WhatsApp */
.contact-whatsapp {
  margin-top: 1.8rem;
  text-align: center;
}

.contact-whatsapp a {
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 12px rgba(160, 109, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-whatsapp a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(160, 109, 255, 0.7);
}

/* Footer */
.footer {
  margin: 2rem auto 1rem auto;
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  max-width: 100%;
  line-height: 1.5;
}

.footer a {
  color: rgb(196, 160, 255);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  text-shadow: 0 0 8px rgba(197, 176, 255, 0.61), 0 0 16px rgba(165, 132, 255, 0.658);
  transition: all 0.3s ease;
}

.footer a:hover::after {
  height: 3px;
  opacity: 1;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgb(209, 174, 255);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-year {
  margin-left: 0.3rem;
  opacity: 0.5;
  display: inline-block;
}

@media (max-width: 1024px) {
  .footer {
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 600px) {
  .footer {
    font-size: 0.8rem;
    padding: 0.6rem 0.5rem;
  }

  .footer a {
    font-size: 0.9rem;
  }
}
