body {
    margin: 0;
    font-family: Arial, sans-serif;
    direction: rtl;
    background-color: #e7e7e7;
}
header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content:center;
    padding: 15px 30px;
    background-color: #ffffff;
    border-top: solid 3px black;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
}
.logo {
    position: absolute;
    left: 30px;
    font-size: 24px;
    font-weight: bold;
}
.logo span {
    color: red;
}
.search-bar {
    width: 50%;
    max-width: 1000px;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border-radius: 25px;
    border: none;
    background-color: #222;
    color: #fff;
    font-size: 16px;
}
.search-bar button {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #a00;
    border: none;
    border-radius: 25px;
    width: 40px;
    height: 38px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}
.search-bar button:hover {
background-color: #d00;
}
/*نهاية تصميم الهيدر*/

/* تصميم الناف بار*/
nav {
    background-color: #fff;
    padding-top: 5px;
}
nav ul {
    display: flex;
    padding: 10px 30px;
    list-style: none;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}
nav li {
    margin: 0 10px;
}
nav a {
    font-weight: bold;
    position: relative;
    text-decoration: none;
    color: #0009;
    padding: 0 10px;
    display: inline-block;
}
nav .active {
    color: #a00;
    font-weight: bold;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #a00;
  transition: width 0.4s ease;
}
nav a:hover::after {
  width: 100%;
}
nav a:hover {
  color: #a00; /* نفس لون الخط */
}
/*انتهى تصميم الناف بار*/

/*تصميم منطقة ال body */
.container {
    padding: 0 200px;
}


 h1 {
    text-align: center;
    font-size: 24px;
    color: #a00;
    margin-bottom: 20px;
}
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.video-card {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;

}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/*تنسيق الاعلانات*/
.ad {
    
    
    width: 160px;
    height: 600px;
    background-color: #eee;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    z-index: 1;
    margin-top: 150px;
}
.ad-right {
    float: right;
    margin-left: 20px;
    
}
.ad-left {
    float: left;
    margin-right: 20px;
 
}
/* صورة داخل الإعلان */
.ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*دعم الجوال*/


movie { display: inline-block; margin: 10px; width: 200px; text-align: center; }
    .movie img { width: 100%; border-radius: 0; }
    .movie-title { margin-top: 8px; font-weight: bold; }
    
    a {
    font-weight: bold;
    position: relative;
    text-decoration: none;
    color: #0009;
    padding: 0 10px;
    display: inline-block;

}
    a:hover {
        color: red;
        text-decoration: none;


    }
    @media (max-width: 992px) {
  .ad {
    display: none;
  }
}
 /* الفوتر*/
 .site-footer {
  background: #f3f3f3;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #333;
  text-align: center;
  direction: rtl;
}

.footer-content {
  max-width: 800px;
  margin: auto;
}

.footer-description {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #b10000;
}

.footer-legal {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 13px;
  color: #aaa;
}

/* إخفاء الإعلانات الجانبية على الشاشات الصغيرة */
@media (max-width: 991px) {
  .ad {
    display: none;
  }

  .main-content {
    width: 100%;
    float: none;
  }

  .page-wrapper {
    width: 95%;
    padding: 0 10px;
  }
}
.Terms-conditions {
 
  margin: 10px 100px 0px 100px;
 font-size: 14px;
 direction: ltr;
}
.title-term {
  text-align: center;
  font-size: 24px;
}
.second-title {
  text-align: center;
  direction: ltr;
  font-size: 14px;
}