/* Variáveis Globais */
:root {
  --gold: #d4af37;
  --gold-light: #e9cf77;
  --purple: #4a1d68;
  --purple-light: #9c55d3;
  --purple-gradient: linear-gradient(135deg, #4a1d68 0%, #9c55d3 100%);
  --dark: #0a0a0a;
  --dark-medium: #141414;
  --dark-light: #1e1e1e;
}

/* Estilos Básicos */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: white;
  background-color: #000;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 50%, #111 0%, #000 80%);
}

.lottie-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

.map-background {
  display: none; /* Removido em favor da animação Lottie */
}

.blur-overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo e Cabeçalho */
.logo-container {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.logo-container::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple-light), var(--gold));
  border-radius: 3px;
}

.logo-container img {
  max-width: 220px;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.headline {
  font-weight: 300;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #e0e0e0;
}

/* Cards e Containers */
.card-container {
  background: linear-gradient(145deg, var(--dark-medium), var(--dark-light));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
              0 0 25px rgba(106, 48, 147, 0.2),
              0 0 5px rgba(212, 175, 55, 0.2);
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.card-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
              0 0 30px rgba(106, 48, 147, 0.3),
              0 0 10px rgba(212, 175, 55, 0.3);
}

.preference-container {
  margin: 2rem 0 3rem;
  background: linear-gradient(to right, rgba(20, 20, 20, 0.85), rgba(30, 30, 30, 0.85));
  overflow: visible;
}

.preference-body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

#preference-animation {
  flex: 1;
  min-width: 250px;
  height: 250px;
  position: relative;
}

.preference-text {
  flex: 2;
  min-width: 280px;
}

.preference-text h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.preference-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Botões */
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  font-weight: 500;
  border: 2px solid var(--gold);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  font-weight: 600;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark);
}

.btn-white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Efeitos e Animações */
.animated-border {
  position: relative;
  overflow: hidden;
}

.animated-border::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    var(--purple), 
    var(--purple-light), 
    var(--gold),
    transparent 40%
  );
  animation: rotate 4s linear infinite;
  z-index: -1;
  border-radius: inherit;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.feature:hover .feature-icon {
  transform: scale(1.2);
}

.card-header {
  background: linear-gradient(135deg, var(--dark-light), var(--purple));
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.card-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  position: relative;
  z-index: 1;
  padding-left: 15px;
  border-left: 4px solid var(--gold);
}

.card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0) 70%);
  transform: rotate(45deg);
  z-index: 0;
}

.card-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(170, 68, 255, 0.1), 
    rgba(170, 68, 255, 0.3), 
    rgba(170, 68, 255, 0.1), 
    transparent
  );
  animation: light-sweep 3s ease-in-out infinite;
}

@keyframes light-sweep {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.glow-pulse {
  box-shadow: 0 0 30px rgba(106, 48, 147, 0.6), 0 0 50px rgba(106, 48, 147, 0.3);
  transition: box-shadow 0.7s ease;
}

.purple-glow {
  animation: purple-pulse 2s infinite;
}

@keyframes purple-pulse {
  0% {
    box-shadow: 0 0 15px rgba(74, 29, 104, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(156, 85, 211, 0.6);
  }
  100% {
    box-shadow: 0 0 15px rgba(74, 29, 104, 0.3);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 30px rgba(106, 48, 147, 0.5);
  }
  100% {
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  }
}

@keyframes pulse-rotate {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Features */
.card-body {
  padding: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 1.8rem;
  position: relative;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.5), rgba(30, 30, 30, 0.5));
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.feature:hover {
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.7), rgba(35, 35, 35, 0.7));
  transform: translateX(5px);
}

.feature-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.7rem;
  margin-top: 4px;
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.5));
  transition: all 0.5s ease;
}

.feature-text strong {
  color: white;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.feature-text p {
  color: #bbb;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* CTA Container */
.cta-container {
  background: linear-gradient(165deg, var(--purple), #4a1a6a);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: 0;
}

.cta-container h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-container p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Popups */
.popup-location {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-location.popup-shown {
  opacity: 1;
  visibility: visible;
}

.popup-location.popup-hide {
  opacity: 0;
  visibility: hidden;
}

.popup-content {
  background: var(--purple-gradient);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 90%;
  width: 350px;
  position: relative;
  overflow: hidden;
}

.popup-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.popup-content p {
  color: white;
  font-size: 1.1rem;
  margin: 1.5rem 0 0;
  position: relative;
  z-index: 1;
}

.location-loader {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.location-loader i {
  color: white;
  font-size: 2.5rem;
  animation: pulse-rotate 2s infinite linear;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: var(--purple-gradient);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 90%;
  width: 400px;
  position: relative;
  overflow: hidden;
}

.success-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.success-icon i {
  color: white;
  font-size: 2.5rem;
}

.success-content h3 {
  color: white;
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem;
  position: relative;
  z-index: 1;
}

.success-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Location Container */
.location-container {
  text-align: center;
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.7), rgba(30, 30, 30, 0.7));
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(156, 85, 211, 0.3);
  border-left: 1px solid rgba(156, 85, 211, 0.3);
}

.location-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Fallback Animation */
.fallback-animation {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
}

.fallback-animation i {
  font-size: 3rem;
  color: var(--purple-light);
  animation: float 3s ease-in-out infinite;
  position: relative;
}

.fallback-animation i:nth-child(1) {
  animation-delay: 0s;
  color: var(--gold);
}

.fallback-animation i:nth-child(2) {
  animation-delay: 0.5s;
  font-size: 3.5rem;
}

.fallback-animation i:nth-child(3) {
  animation-delay: 1s;
  color: var(--gold-light);
}

/* Signup Container */
.signup-container {
  background: linear-gradient(145deg, var(--dark-medium), var(--dark-light));
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: 700px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
              0 0 15px rgba(106, 48, 147, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.options-container {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.option-btn {
  flex: 1;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.crown-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.crown-icon i {
  font-size: 2.2rem;
}

.gold-crown {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(20, 20, 20, 0.8) 70%);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.gold-crown i {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

.silver-crown {
  background: radial-gradient(circle, rgba(192, 192, 192, 0.2) 0%, rgba(20, 20, 20, 0.8) 70%);
  box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}

.silver-crown i {
  background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 2px rgba(192, 192, 192, 0.5));
}

.option-btn span {
  color: #bbb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.option-btn.active, .option-btn:hover {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.8));
  transform: translateY(-5px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.option-btn.active .gold-crown, .option-btn:hover .gold-crown {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
}

.option-btn.active .silver-crown, .option-btn:hover .silver-crown {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(192, 192, 192, 0.5);
}

.option-btn.active span, .option-btn:hover span {
  color: white;
}

.option-btn.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple-light));
  border-radius: 2px;
}

/* Form Inputs */
.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
  z-index: 10;
}

.form-control, .form-select {
  height: 55px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  padding: 0.75rem 1.2rem 0.75rem 2.7rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1.2rem;
}

.form-control:focus, .form-select:focus {
  background: rgba(20, 20, 20, 0.8);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsividade */
@media(max-width: 768px) {
  .options-container {
    flex-direction: column;
  }
  
  .card-header h2 {
    font-size: 1.5rem;
  }
  
  .cta-container {
    padding: 2rem 1rem;
  }
  
  .cta-container h2 {
    font-size: 1.7rem;
  }
  
  .signup-container {
    padding: 1.5rem;
  }
  
  .preference-body {
    flex-direction: column;
  }
  
  #preference-animation {
    width: 100%;
  }
}