body {
  background: black;
  color: #eee;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 40px;
  margin: 0;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  white-space: nowrap;
  text-align: center;
}
nav ul li {
  display: inline-block;
  margin: 0 20px;
}
nav ul li a {
  color: #eee;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
}
nav ul li a .arrow {
  margin-left: 5px;
  transition: transform 0.3s ease;
}
nav ul li a:hover .arrow {
  transform: translateX(5px);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.7);
  text-align: center;
}

.modal-content {
  background-color: #111;
  color: #eee;
  border-radius: 8px;
  padding: 20px 30px;
  margin: 15% auto;
  max-width: 400px;
  box-shadow: 0 0 10px #4ea1ff;
  position: relative;
}

.close {
  position: absolute;
  right: 12px; top: 8px;
  background: transparent;
  border: none;
  color: #4ea1ff;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}
.divider {
  border: none;
  height: 1px;
  background: #444; /* لون رمادي فاتح */
  margin: 20px auto;
  width: 80%;
  max-width: 600px;
}
@keyframes slideUpFadeIn {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #4ea1ff;
  animation: slideUpFadeIn 1s ease-out forwards;
  opacity: 0;
}

.subtitle {
  font-size: 1.2rem;
  color: #aaa;
  animation: slideUpFadeIn 1s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
/* زر Links ثابت أعلى اليمين */
.links-button {
  position: fixed;
  top: 15px;
  right: 15px;
  background-color: #4ea1ff;
  border: none;
  color: white;
  padding: 8px 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10000;
}

/* مودال Links مستقل */
.modal-links {
  display: none;
  position: fixed;
  top: 60px;
  right: 15px;
  width: 280px;
  max-width: 90vw;
  background-color: #111;
  color: #eee;
  border-radius: 8px;
  padding: 0;  /* بدون padding للعنصر الرئيسي */
  box-shadow: 0 0 10px #4ea1ff;
  z-index: 9999;
}

/* عرض المودال */
.modal-links[aria-hidden="false"] {
  display: block;
}

/* محتوى مودال Links */
.modal-links-content {
  padding: 20px 25px;
  position: relative;
}

/* زر الإغلاق */
.modal-links-content .close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: none;
  color: #4ea1ff;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}

/* قائمة الروابط */
.modal-links ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.modal-links ul li {
  margin-bottom: 10px;
}

.modal-links ul li a {
  color: #00000;
  text-decoration: none;
  font-weight: 600;
}

.modal-links ul li a:hover {
  text-decoration: underline;
}
.hero-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #4ea1ff;
  text-shadow:
    0 0 5px #4ea1ff,
    0 0 10px #4ea1ff,
    0 0 20px #4ea1ff,
    0 0 30px #4ea1ff;
  animation: slideUpFadeIn 1s ease-out forwards;
  opacity: 0;
}
@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 5px #4ea1ff,
      0 0 10px #4ea1ff,
      0 0 20px #4ea1ff,
      0 0 30px #4ea1ff;
  }
  50% {
    text-shadow:
      0 0 10px #6fb8ff,
      0 0 20px #6fb8ff,
      0 0 30px #6fb8ff,
      0 0 40px #6fb8ff;
  }
}

.hero-title {
  animation: glowPulse 2s ease-in-out infinite, slideUpFadeIn 1s ease-out forwards;
  color: #4ea1ff;
}
.subtitle {
  font-size: 1.2rem;
  color: #ff6666; /* لون أحمر فاتح */
  text-shadow:
    0 0 5px #ff6666,
    0 0 10px #ff6666,
    0 0 15px #ff6666;
  animation: slideUpFadeIn 1s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
@keyframes redGlowPulse {
  0%, 100% {
    text-shadow:
      0 0 5px #ff6666,
      0 0 10px #ff6666,
      0 0 15px #ff6666;
  }
  50% {
    text-shadow:
      0 0 10px #ff8888,
      0 0 20px #ff8888,
      0 0 30px #ff8888;
  }
}

.subtitle {
  animation: redGlowPulse 2s ease-in-out infinite, slideUpFadeIn 1s ease-out forwards;
  animation-delay: 0.5s;
  color: #ff6666;
}
.arrow {
  opacity: 0;
  margin-left: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

nav ul li a:hover .arrow {
  opacity: 1;
  transform: translateX(5px);
}
nav ul li a {
  color: #eee;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover {
  color: #fff;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 15px #ffffff;
}
a {
  background: none;
  outline: none;
  -webkit-tap-highlight-color: transparent; /* لإزالة اللون الأزرق في الهواتف */
}
a:focus {
  outline: none;
  box-shadow: none;
  background: none;
}
.links-button {
  all: unset;
  position: fixed;
  top: 15px;
  right: 15px;
  display: inline-block;
  padding: 8px 14px;
  color: #eee;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid #000; /* إطار أسود */
  border-radius: 6px;
  background: transparent;
  transition: 
    color 0.3s ease, 
    border-color 0.3s ease,
    text-shadow 0.3s ease;
  z-index: 10000;
}

.links-button:hover {
  color: #fff;
  border-color: #000;
  text-shadow:
    0 0 8px #8A8A8A,
    0 0 16px #8A8A8A,
    0 0 24px #8A8A8A,
    0 0 32px #8A8A8A;
}

}

.links-button:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
  text-shadow: none;
}

}
body {
  margin: 0;
  background-color: #111;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.spotlight {
  position: fixed;
  width: 400px;
  height: 400px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0.25;
  mix-blend-mode: screen;
  transition: opacity 0.1s ease;
}
a[href^="mailto:"] {
  color: #ffeb3b; /* Light yellow */
  text-decoration: none; /* Optional: remove underline */
}

a[href^="mailto:"]:hover {
  color: #fff176; /* Brighter yellow on hover */
  text-shadow:
    0 0 5px #fff176,
    0 0 10px #fff176;
}
