html {
  /* O html define a altura total da página */
  min-height: 100%;
}

body {
  font-family: Georgia, serif;
  padding: 40px;
  color: #eee;
  line-height: 1.6;
  margin: 0;
  position: relative;
  
  /* CORREÇÕES PARA O FUNDO DEGRADÊ - NOITE (padrão) */
  background: linear-gradient(
    45deg,
    #04203d, /* Azul Escuro */
    #411072, /* Roxo */
    #4c7386, /* Azul Médio */
    #00CC99  /* Verde Ciano */
  );
  /* background-attachment: fixed; FAZ O FUNDO COBRIR A TELA INTEIRA E FICAR PARADO */
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  transition: background 1s ease, color 1s ease;
}

/* Tema DIA - cores claras */
body.day-theme {
  background: linear-gradient(
    45deg,
    #87CEEB, /* Azul Céu */
    #98D8E8, /* Azul Claro */
    #B0E0E6, /* Powder Blue */
    #F0E68C  /* Amarelo Claro */
  );
  color: #333;
}

body.day-theme a {
  color: #0066cc;
}

body.day-theme h1,
body.day-theme h2,
body.day-theme p,
body.day-theme label {
  color: #333;
}

padding-bottom: 500px

/* O bloco body::before é removido */

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

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: #ff6600;
  width: 0%;
  z-index: 99;
  transition: width 0.1s;
}

h1 {
  font-size: 2.5em;
}

p {
  font-size: 1.1em;
}

a {
  color: #ff6600;
  text-decoration: none;
  margin-right: 15px;
}

a:hover {
  text-decoration: underline;
}


#contato-rapido {
    position: relative;
}

#contato-rapido form {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    max-width: 500px;
    margin-top: 20px;
    padding: 30px;
    
    /* Beautiful contoured design */
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 102, 0, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 0 20px rgba(255, 102, 0, 0.1),
        0 0 30px rgba(255, 102, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Stretch items to fill container width */
    align-items: stretch; 
    transition: all 0.3s ease;
}

#contato-rapido form:hover {
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.5),
        inset 0 0 30px rgba(255, 102, 0, 0.15),
        0 0 40px rgba(255, 102, 0, 0.3);
    border-color: rgba(255, 102, 0, 0.5);
}

body.day-theme #contato-rapido form {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(0, 102, 204, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(0, 102, 204, 0.1),
        0 0 30px rgba(0, 102, 204, 0.15);
}

body.day-theme #contato-rapido form:hover {
    border-color: rgba(0, 102, 204, 0.5);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(0, 102, 204, 0.15),
        0 0 40px rgba(0, 102, 204, 0.25);
}

#contato-rapido label {
    display: block; 
    margin-bottom: 5px;
    font-weight: bold;
}

#contato-rapido input,
#contato-rapido textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 102, 0, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #eee;
    font-family: Georgia, serif;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#contato-rapido input:focus,
#contato-rapido textarea:focus {
    outline: none;
    border-color: rgba(255, 102, 0, 0.7);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

body.day-theme #contato-rapido input,
body.day-theme #contato-rapido textarea {
    background: rgba(255, 255, 255, 0.6);
    color: #333;
    border-color: rgba(0, 102, 204, 0.3);
}

body.day-theme #contato-rapido input:focus,
body.day-theme #contato-rapido textarea:focus {
    border-color: rgba(0, 102, 204, 0.7);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.3);
}

#contato-rapido textarea {
    min-height: 120px;
    resize: vertical;
}

#contato-rapido button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6600, #ff8833);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contato-rapido button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
    background: linear-gradient(135deg, #ff7711, #ff9944);
}

#contato-rapido button:active {
    transform: translateY(0);
}

body.day-theme #contato-rapido button {
    background: linear-gradient(135deg, #0066cc, #0088ee);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

body.day-theme #contato-rapido button:hover {
    background: linear-gradient(135deg, #0077dd, #0099ff);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

.aviso-form {
    font-size: 0.9em;
    font-style: italic;
    opacity: 0.8;
    text-align: center;
    margin: 0;
}

/* Sol - Visível durante o dia */
#sun {
  position: fixed;
  top: 50px;
  right: 80px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #FFD700, #FFA500);
  border-radius: 50%;
  box-shadow: 0 0 40px #FFD700, 0 0 80px #FFA500;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 10;
}

body.day-theme #sun {
  opacity: 1;
}

/* Estrelas - Visíveis durante a noite */
.star {
  position: fixed;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 3px white;
  opacity: 0;
  transition: opacity 1s ease;
  animation: twinkle 3s infinite;
}

body:not(.day-theme) .star {
  opacity: 1;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ========== HIDDEN INTERACTIONS STYLES ========== */

/* Success Popup */
#success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(5px);
}

#success-popup.show {
  opacity: 1;
}

.popup-content {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.95), rgba(255, 136, 51, 0.95));
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 50px rgba(255, 102, 0, 0.5);
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 400px;
}

#success-popup.show .popup-content {
  transform: scale(1);
}

.popup-icon {
  font-size: 4em;
  margin-bottom: 10px;
  animation: popupBounce 0.6s ease;
}

@keyframes popupBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.popup-content h3 {
  margin: 10px 0;
  font-size: 2em;
  color: white;
}

.popup-content p {
  margin: 10px 0;
  color: white;
  font-size: 1.2em;
}

.popup-subtitle {
  font-size: 1em !important;
  opacity: 0.9;
}

/* Floating Emojis */
.floating-emoji {
  position: fixed;
  bottom: -50px;
  font-size: 2em;
  z-index: 999;
  pointer-events: none;
  animation: floatUp linear forwards;
  opacity: 0;
}

@keyframes floatUp {
  0% {
    bottom: -50px;
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 110vh;
    opacity: 0;
    transform: translateX(100px) rotate(360deg);
  }
}

/* Rainbow Mode */
body.rainbow-mode {
  animation: rainbowBackground 3s ease infinite !important;
}

@keyframes rainbowBackground {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Konami Shake */
@keyframes konamiShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

/* Sparkles */
.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 998;
}

.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  background: linear-gradient(45deg, #ff6600, #FFD700);
  border-radius: 50%;
}

.sparkle::before {
  width: 6px;
  height: 6px;
  top: -3px;
  left: -3px;
  animation: sparkleAnimation 1s ease-out forwards;
}

.sparkle::after {
  width: 4px;
  height: 4px;
  top: 2px;
  left: 2px;
  animation: sparkleAnimation 1s ease-out 0.1s forwards;
}

@keyframes sparkleAnimation {
  0% {
    opacity: 1;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(3) rotate(180deg);
  }
}

/* Notification */
.notification {
  position: fixed;
  top: 80px;
  right: -400px;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.95), rgba(255, 136, 51, 0.95));
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(255, 102, 0, 0.4);
  z-index: 1001;
  font-size: 1.1em;
  font-weight: bold;
  transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 300px;
}

.notification.show {
  right: 20px;
}

body.day-theme .notification {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.95), rgba(0, 136, 238, 0.95));
  box-shadow: 0 5px 25px rgba(0, 102, 204, 0.4);
}

body.day-theme .popup-content {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.95), rgba(0, 136, 238, 0.95));
  box-shadow: 0 10px 50px rgba(0, 102, 204, 0.5);
}