/* ---- Base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: "Segoe UI", "Cairo", sans-serif;
  background: linear-gradient(to bottom, #081428 0%, #0b1f3a 60%, #14274e 100%);
  overflow: hidden;
}

/* ---- Center Container ---- */
.container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #e0e0e0;
  text-align: center;
}

/* ---- Horizon Glow ---- */
.horizon {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 220px;
  background: radial-gradient(ellipse at center,
              rgba(255,255,255,0.15) 0%,
              rgba(255,255,255,0.05) 40%,
              rgba(255,255,255,0) 70%);
  animation: glow 6s ease-in-out infinite alternate;
  filter: blur(30px);
}

/* ---- Text ---- */
.text {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.ufuq {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: #f2f4ff;
  text-shadow: 0 0 20px rgba(100,150,255,0.3),
               0 0 60px rgba(80,120,255,0.2);
  letter-spacing: 2px;
}

.arabic {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  color: #bfc7d6;
  margin-top: 0.5em;
  text-shadow: 0 0 10px rgba(180,200,255,0.2);
}

/* ---- Animation Keyframes ---- */
@keyframes glow {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.15); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .ufuq {
    font-size: 2.8rem;
  }
  .arabic {
    font-size: 2rem;
  }
}
