@font-face {
  font-family: 'SaudiFont';
  src: url('../assets/Font/SaudiWeb-Bold.woff2') format('woff2'),
       url('../assets/Font/SaudiWeb-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'SaudiFont', sans-serif;
  direction: rtl;
}

body {
  background-image: url('../assets/bgall2.png');
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: top center;
  background-attachment: scroll;
  color: #333;
}

main {
  margin-top: 110px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background-image: url('../assets/headbg2.png');
  background-size: 100% auto;
  background-position: top center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 30px;
}

.logo-btn img {
  width: auto;
  height: 55px;
  cursor: pointer;
}

.center-play-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.center-play-btn button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  border-radius: 8px;
  font-size: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.center-play-btn button:hover {
  background-color: #0056b3;
}

.login-btn a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  clip-path: ellipse(100% 92% at 50% 0%);
  margin-bottom: -30px;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: transparent;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.hero-img {
  width: 100%;
  display: block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-title {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 5rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro-section {
  text-align: center;
  padding: 100px 40px 40px;
  color: #fff;
}
.intro-section h2 {
  font-size: 6rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 3px black;
}
.intro-section p {
  font-size: 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px black;
}

.modes {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.mode {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.mode img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.mode:hover img {
  transform: scale(1.05);
}

.mode-description {
  max-width: 600px;
}

.mode-description h3 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  color: white;
  text-shadow: 2px 2px 3px black;
}

.mode-description p {
  font-size: 1.9rem;
  color: white;
  text-shadow: 1px 1px 2px black;
  margin: 0;
}

.mode.reverse {
  flex-direction: row-reverse;
}

/* الفوتر الجديد */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 30px 40px;
  background-color: #aaa;
  color: white;
  font-family: 'SaudiFont', sans-serif;
  border-top: 2px solid #888;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin: 10px;
  font-size: 1rem;
}

.footer-right p {
  margin: 5px 0;
}

.footer-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 1.1rem;
}

.footer-center a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer-center a:hover {
  color: #ddd;
}

.footer-left {
  text-align: left;
}

/* responsive */
@media (max-width: 768px) {
  .mode {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .mode img {
    width: 80vw;
    height: auto;
  }

  .mode-description {
    max-width: 90vw;
  }

  .intro-section h2 {
    font-size: 3rem;
  }

  .intro-section p {
    font-size: 1.6rem;
  }

  .mode-description h3 {
    font-size: 2.4rem;
  }

  .mode-description p {
    font-size: 1.4rem;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
}
