body {
  margin: 0;
  font-family: 'Tahoma', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.8;
  animation: fadeIn 1s ease-in-out;
}

/* أنيميشن الدخول */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* الهيدر */
header {
  background-color: #111;
  padding: 20px;
  text-align: center;
  border-bottom: 3px solid red;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  animation: slideDown 1s ease-in-out;
}

@keyframes slideDown {
  from { transform: translateY(-100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

header h1 {
  color: red;
  font-size: 32px;
  text-shadow: 0 0 10px rgba(255,0,0,0.7);
}

header span {
  color: #0af;
  text-shadow: 0 0 10px rgba(0,170,255,0.7);
}

/* المحتوى الرئيسي */
main {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  font-size: 18px;
  animation: fadeUp 1.5s ease-in-out;
}

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

/* الأزرار */
a.button,
button {
  display: inline-block;
  padding: 12px 20px;
  margin-top: 20px;
  background-color: red;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,0,0,0.6);
  position: relative;
  overflow: hidden;
}

/* تأثير وميض عند المرور */
a.button::after,
button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.5s;
}

a.button:hover::after,
button:hover::after {
  left: 100%;
}

a.button:hover,
button:hover {
  background-color: #0af;
  color: #000;
  box-shadow: 0 0 20px rgba(0,170,255,0.8);
  transform: scale(1.05);
}

/* ملفات الرفع */
input[type="file"] {
  margin: 20px 0;
  background-color: #0af;
  padding: 10px;
  border-radius: 5px;
  color: #000;
  border: none;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,170,255,0.6);
  transition: transform 0.3s ease;
}

input[type="file"]:hover {
  transform: scale(1.05);
}

/* النصوص */
p {
  font-size: 18px;
  color: #ccc;
  text-shadow: 0 0 5px rgba(255,255,255,0.1);
}

/* القوائم */
ul {
  margin: 10px 0;
  padding-right: 20px;
}

/* انتقال الصفحات */
html {
  scroll-behavior: smooth;
}
