body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #FFD90F 0%, #FFC107 100%);
  background-attachment: fixed;
}

.fundo-amarelo {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 15px 15px 15px;
  position: relative;
}

.fundo-amarelo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.bloco-branco {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 50px 40px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
              0 0 0 1px rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: 95vw;
  min-height: calc(100vh - 15px);
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloco-branco:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.3);
}

.bloco-branco::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0071BB, #00A8E8, #0071BB);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

h2 {
  color: #0071BB;
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 113, 187, 0.1);
}

p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
}

.tentativas {
  font-weight: 600;
  color: #0071BB;
  margin-bottom: 25px;
  font-size: 18px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(0, 113, 187, 0.1), rgba(0, 168, 232, 0.1));
  border-radius: 50px;
  display: inline-block;
  border: 2px solid rgba(0, 113, 187, 0.2);
}

.roleta-container {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.roleta-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: linear-gradient(45deg, 
    #FFD90F 0%, 
    #FFC107 25%, 
    #0071BB 50%, 
    #00A8E8 75%, 
    #FFD90F 100%);
  border-radius: 50%;
  z-index: -1;
  animation: rotateBg 8s linear infinite;
  filter: blur(8px);
  opacity: 0.6;
}

.roleta-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, 
    rgba(255, 217, 15, 0.3) 0%, 
    rgba(255, 193, 7, 0.2) 30%, 
    rgba(0, 113, 187, 0.2) 60%, 
    transparent 80%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseBg 3s ease-in-out infinite alternate;
}

@keyframes rotateBg {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseBg {
  0% { 
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.4;
  }
  100% { 
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.7;
  }
}

.roleta {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  transition: transform 6s cubic-bezier(0.33, 1, 0.68, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2),
              0 0 0 8px rgba(255, 255, 255, 0.8),
              0 0 0 12px rgba(0, 113, 187, 0.1);
  position: relative;
  z-index: 1;
}

.roleta::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}

.seta {
  position: absolute;
  top: -35px;
  left: 50%;
  width: 55px;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

button {
  padding: 18px 45px;
  background: linear-gradient(135deg, #0071BB 0%, #00A8E8 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 113, 187, 0.3);
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

button:hover {
  background: linear-gradient(135deg, #005f9e 0%, #0098d4 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 113, 187, 0.4);
}

button:hover::before {
  left: 100%;
}

button:active {
  transform: translateY(0);
}

.popup-oculto {
  display: none;
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 99;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-conteudo {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: slideUp 0.5s ease;
  border: 2px solid #0071BB;
  border-top: 6px solid #FFD90F;
}

@keyframes shimmerPremium {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-conteudo h3 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #0071BB;
  font-weight: 600;
  position: relative;
}

.popup-conteudo h3::before {
  content: '🎊';
  position: absolute;
  top: -20px;
  left: -40px;
  font-size: 28px;
  animation: celebrate 2s ease-in-out infinite;
}

.popup-conteudo h3::after {
  content: '🎉';
  position: absolute;
  top: -20px;
  right: -40px;
  font-size: 28px;
  animation: celebrate 2s ease-in-out infinite 0.5s;
}

@keyframes celebrate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.1); }
  75% { transform: rotate(15deg) scale(1.1); }
}

.popup-conteudo button {
  padding: 16px 32px;
  background: linear-gradient(135deg, #0071BB 0%, #00A8E8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 187, 0.3);
}

.popup-conteudo button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.5s ease;
}

.popup-conteudo button:hover {
  background: linear-gradient(135deg, #005f9e 0%, #0098d4 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 113, 187, 0.4);
}

.popup-conteudo button:hover::before {
  left: 100%;
}

.popup-conteudo button:active {
  transform: translateY(0);
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
  .fundo-amarelo {
    padding: 0 10px 10px 10px;
  }
  
  .bloco-branco {
    padding: 30px 20px;
    border-radius: 0 0 16px 16px;
    min-height: calc(100vh - 10px);
  }
  
  .roleta-container::before {
    width: 270px;
    height: 270px;
  }
  
  .roleta-container::after {
    width: 230px;
    height: 230px;
  }
  
  .roleta {
    width: 250px;
    height: 250px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  button {
    padding: 16px 35px;
    font-size: 16px;
  }
  
  .popup-conteudo {
    padding: 40px 30px;
    border-radius: 24px;
  }
  
  .popup-conteudo h3 {
    font-size: 26px;
  }
  
  .popup-conteudo h3::before,
  .popup-conteudo h3::after {
    font-size: 20px;
    top: -15px;
  }
  
  .popup-conteudo h3::before {
    left: -25px;
  }
  
  .popup-conteudo h3::after {
    right: -25px;
  }
}

.header {
    background: linear-gradient(135deg, #FFDA17 0%, #FFE55C 100%);
    padding: 8px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    max-height: 30px;
    max-width: 100%;
}

.popup-imagem {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 113, 187, 0.2);
}