/* ===========================
   BEAUTIFUL 404 PAGE
=========================== */

/* ===============================
   ULTRA 404 PAGE
================================ */

.error-404 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 20%, #0f172a, #000);
  text-align: center;
  padding: 2rem;
}

/* Glass card */
.error-card {
  position: relative;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0,255,255,0.2);
  animation: fadeUp 1s ease forwards;
  z-index: 2;
}

.error-number {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(90deg,#00f5ff,#00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float 3s ease-in-out infinite;
}

.error-card h1 {
  margin-top: 1rem;
  font-size: 2rem;
}

.error-card p {
  opacity: .75;
  margin: 1rem 0 2rem;
}

.error-btn {
  display: inline-block;
  padding: .9rem 2rem;
  border-radius: 50px;
  background: linear-gradient(90deg,#3498db,#00c3ff);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: .3s ease;
  box-shadow: 0 0 20px rgba(0,195,255,.5);
}

.error-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(0,255,255,.8);
}

.redirect-text {
  margin-top: 1.5rem;
  font-size: .9rem;
  opacity: .6;
}

/* Floating animation */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeUp {
  from { opacity:0; transform: translateY(40px); }
  to { opacity:1; transform: translateY(0); }
}

/* PARTICLES */
.particles::before,
.particles::after {
  content:"";
  position:absolute;
  width:200%;
  height:200%;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.05;
  animation: moveStars 60s linear infinite;
}

.particles::after {
  animation-duration: 100s;
  opacity: 0.08;
}

@keyframes moveStars {
  from { transform: translateY(0); }
  to { transform: translateY(-1000px); }
}

/* ===============================
   BIG COUNTDOWN
================================ */

.redirect-box {
  margin-top: 2rem;
}

.redirect-label {
  font-size: 1rem;
  opacity: .8;
  margin-bottom: .5rem;
  color: #ccc;
}

/* ОГРОМНЫЙ ТАЙМЕР */
.big-countdown {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: #ff2e63;
  text-shadow:
      0 0 15px rgba(255,46,99,0.7),
      0 0 30px rgba(255,46,99,0.5),
      0 0 50px rgba(255,0,0,0.4);

  animation: pulse 1s infinite;
}

/* Пульсация */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}


