/* Estilos da Seção 404 - Cores do Layout Slim Toldos (Amarelo e Preto) */
.section-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFD401 0%, #F5C800 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.section-404::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.container-404 {
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.content-404 {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
  border-top: 5px solid #FFD401;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-number {
  font-size: 120px;
  font-weight: 900;
  color: #FFD401;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 rgba(255, 212, 1, 0.3);
  animation: pulse 2s ease-in-out infinite;
  -webkit-text-stroke: 2px #2c2c2c;
}

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

.error-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 20px;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.error-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.redirect-info {
  background: #2c2c2c;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 4px solid #FFD401;
}

.redirect-info p {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

#countdown {
  font-weight: 700;
  color: #FFD401;
  font-size: 20px;
  display: inline-block;
  min-width: 20px;
}

.btn-home {
  display: inline-block;
  background: #2c2c2c;
  color: #FFD401;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Raleway', sans-serif;
  border: 2px solid #2c2c2c;
}

.btn-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 212, 1, 0.5);
  color: #2c2c2c;
  background: #FFD401;
  text-decoration: none;
  border-color: #FFD401;
}

.btn-home:active {
  transform: translateY(-1px);
}

/* Responsivo */
@media (max-width: 768px) {
  .error-number {
    font-size: 80px;
    -webkit-text-stroke: 1.5px #2c2c2c;
  }
  
  .error-title {
    font-size: 24px;
  }
  
  .error-description {
    font-size: 16px;
  }
  
  .content-404 {
    padding: 40px 30px;
  }
  
  .redirect-info p {
    font-size: 14px;
  }
  
  #countdown {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .error-number {
    font-size: 60px;
    -webkit-text-stroke: 1px #2c2c2c;
  }
  
  .error-title {
    font-size: 20px;
  }
  
  .content-404 {
    padding: 30px 20px;
  }
  
  .btn-home {
    padding: 12px 30px;
    font-size: 14px;
  }
}