* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  direction: rtl;
  font-family: 'Arial', sans-serif;
}

body, html {
  height: 100%;
  overflow: hidden;
}

#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #0a0f4f, #0052cc); /* تدرج مشابه لـ bak.png */
  opacity: 0.6;
  z-index: -1;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.logo {
  width: 180px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(-50px) scale(0.8);
  animation: slideFadeIn 2s ease-out forwards, pulse 3s ease-in-out infinite 3s;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }

.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-family: 'Cairo', sans-serif;
  margin-top: 40px;
  animation: fadeIn 2s ease forwards;
  opacity: 0;
  font-weight: 1700;
  flex-wrap: wrap;
}

.countdown div {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 20px 25px;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  animation: pulse 3s ease-in-out infinite;
}

.countdown span {
  display: block;
  font-size: 2.8rem;
  color: #ffffff;
}

.countdown small {
  display: block;
  font-size: 1rem;
  color: #dddddd;
  margin-top: 8px;
  letter-spacing: 1px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .countdown {
    font-size: 1.4rem;
  }

  .logo {
    width: 120px;
  }
}
