/**
 * Splash Screen Ano Novo 2026
 * Layout Horizontal - Logo a esquerda
 * Valido ate 07/01/2026
 */

/* Container Principal */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s ease-out;
  padding: 15px;
  box-sizing: border-box;
}

.splash-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Card Principal */
.splash-card {
  max-width: 800px;
  width: 100%;
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #1a472a 100%);
  border: 3px solid #10b981;
  border-radius: 20px;
  padding: 24px 30px;
  color: white;
  animation: slideUp 0.8s ease-out;
  box-shadow: 0 10px 40px rgba(26, 71, 42, 0.3);
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Header: Logo + Titulo lado a lado */
.splash-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.splash-logo-container {
  position: relative;
  flex-shrink: 0;
}

.splash-logo-container img {
  max-height: 110px;
  animation: rumble 0.5s infinite linear;
}

.splash-header-text {
  text-align: left;
  flex: 1;
}

/* Ano */
.splash-year {
  color: #f59e0b;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  font-size: 1rem;
}

/* Titulo */
.splash-title {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
}

.splash-title span {
  color: #f59e0b;
  font-style: italic;
}

/* Intro */
.splash-intro {
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  text-align: center;
}

/* Caixa de Mensagem */
.splash-message {
  background: rgba(255,255,255,0.1);
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 12px;
  text-align: center;
}

.splash-message p {
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 6px 0;
  font-size: 0.88rem;
}

/* Assinatura - inline */
.splash-signature {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
  margin-bottom: 12px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* Footer: Progress + Botao */
.splash-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botao de Audio */
.splash-audio-btn {
  background: #f59e0b;
  color: #1a472a;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.splash-audio-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

/* Barra de Progresso */
.splash-progress {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.splash-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Botao */
.splash-btn {
  background: #f59e0b;
  color: #1a472a;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 900;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.splash-btn:hover {
  background: #fbbf24;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.splash-btn:active {
  transform: scale(0.98);
}

/* Animacao do Coracao */
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.heart-beat {
  animation: heartBeat 1.5s ease-in-out infinite;
}

/* Animacao Trator Rumble */
@keyframes rumble {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-1px, 1px) rotate(-0.5deg); }
  50% { transform: translate(0, 0) rotate(0deg); }
  75% { transform: translate(1px, -1px) rotate(0.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Particulas de Fumaca */
.splash-smoke-particle {
  position: absolute;
  background: rgba(200, 200, 200, 0.6);
  border-radius: 50%;
  pointer-events: none;
  animation: smoke-rise 2s forwards;
  filter: blur(5px);
}

@keyframes smoke-rise {
  0% {
    transform: scale(0.5) translate(0, 0);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5) translate(-20px, -80px);
    opacity: 0;
  }
}

/* Responsivo */
@media (max-width: 600px) {
  .splash-card {
    padding: 18px 20px;
    border-radius: 16px;
  }

  .splash-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .splash-header-text {
    text-align: center;
  }

  .splash-logo-container img {
    max-height: 90px;
  }

  .splash-title {
    font-size: 1.3rem;
  }

  .splash-footer {
    flex-direction: column;
    gap: 10px;
  }

  .splash-progress {
    width: 100%;
  }

  .splash-btn {
    width: 100%;
    padding: 12px 20px;
  }
}
