/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }
  
  body {
    background-color: #0f0f0f;
    color: #fff;
    overflow-x: hidden;
  }
  
  /* Particles Background */
  .particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    background: repeating-radial-gradient(circle at random, #f9264733, transparent 40px); /* تغيير اللون */
    animation: moveParticles 20s linear infinite;
    z-index: 0;
  }
  
  @keyframes moveParticles {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
  }
  
  /* Navigation */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    z-index: 2;
  }
  
  
  
  
  
  
  
  
  .btn {
    background-color: #f92647; /* تغيير اللون */
    color: #000;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    animation: fadeInUp 1.6s ease forwards;
  }
  
  .btn:hover {
    background-color: #d81a40; /* تغيير اللون */
  }
  
  /* Features Section */
  .features {
    display: flex;
    justify-content: space-around;
    padding: 60px 40px;
    background-color: #1a1a1a;
    flex-wrap: wrap;
  }
  
  .feature-card {
    background: #222;
    padding: 25px;
    margin: 15px;
    border-radius: 20px;
    max-width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .feature-card p {
    padding-top: 7px;
  }
  
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #f9264733; /* تغيير اللون */
  }
  
  /* Gaming PCs Section */
  .pcs-section {
    background-color: #121212;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .pcs-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #f92647; /* تغيير اللون */
    text-shadow: 0 0 10px #f92647aa; /* تغيير اللون */
  }
  
  .pcs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .pc {
    width: 150px;
    height: 200px;
    background: linear-gradient(145deg, #222, #333);
    border: 3px solid #f92647; /* تغيير اللون */
    border-radius: 20px;
    box-shadow: 0 0 20px #f9264733; /* تغيير اللون */
    position: relative;
    transition: transform 0.4s;
  }
  
  .pc::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 5px;
    top: 10px;
    left: 10%;
    background: #f92647; /* تغيير اللون */
    box-shadow: 0 0 15px #f92647aa; /* تغيير اللون */
    border-radius: 3px;
  }
  
  .animated-pc {
    animation: floatPC 4s ease-in-out infinite alternate;
  }
  
  .pc1 { animation-delay: 0s; }
  .pc2 { animation-delay: 1s; }
  .pc3 { animation-delay: 2s; }
  
  @keyframes floatPC {
    0%   { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(2deg); }
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Next Level Title */
  .next-level-wrapper {
    position: absolute;
    top: 20px;
    left: 30px;
  
  }
  .next-level-wrapper img{
    width: 28%;
    height: auto;
  }
  
  .next-level-text {
    font-size: 32px;
    font-weight: bold;
    color: #f92647; /* تغيير اللون */
    text-shadow: 0 0 10px #f92647aa; /* تغيير اللون */
    position: relative;
    z-index: 2;
  }
  
  .float-shape {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #f92647; /* تغيير اللون */
    box-shadow: 0 0 15px #f92647aa; /* تغيير اللون */
    border-radius: 50%;
    animation: floatAround 6s ease-in-out infinite;
    opacity: 0.8;
    z-index: 1;
  }
  
  
  
  @keyframes floatAround {
    0%   { transform: translateY(0) translateX(0) rotate(0deg); }
    50%  { transform: translateY(-10px) translateX(10px) rotate(180deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
  }
  
  
  /* Header Navigation */
  header {
    
    padding: 10px 0;
    position: relative;
    z-index: 10;
  }
  
  
  .main-nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #next_level_logo {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 125px;
    height: auto;
  }
  
  .nav-center {
    list-style: none;
    display: flex;
    gap: 40px;
  }
  
  .nav-center li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 16px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
  }
  
  .nav-center li a:hover {
    color: #f92647;
    border-bottom: 2px solid #f92647;
  }
  
  .slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  }
  
  .slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
  }
  
  .slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 100s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((100s / var(--quantity)) * (var(--position) - 1) - 100s) !important;
  }
  
  .slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  @keyframes autoRun {
    from {
      left: 100%;
    }
    to {
      left: calc(var(--width) * -1);
    }
  }
  
  .slider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
  }
  
  .slider .item:hover {
    filter: grayscale(0);
  }
  
  
  
  
  
  /* الغلاف الأساسي */
  .blur-background-container {
    position: relative;
    background: url('../views/images/New nextlevel Wallpaper.png') center/cover no-repeat;
    min-height: 500px; /* عدل حسب الحاجة */
    overflow: hidden;
  }
  
  /* طبقة الـ blur */
  .background-blur-layer {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(40px);
    background-color: rgba(0, 0, 0, 0.3); /* <== العتامة */
    z-index: 0;
  }
  
  /* المحتوى فوق الـ blur */
  .foreground-content {
    position: relative;
    z-index: 1;
  }
  
  /* الهيدر */
  header {
    padding: 20px;
    color: white;
  }
  
  
  
  /* رسالة الترحيب */
  
  
  .welcome-section h1 {
    
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ccc;
  }
  
  .welcome-section p {
    margin-top: 10vh;
    font-size: 1.2rem;
    color: #ccc;
  }
  
  /* تغيير اللون لكلمة NEXT LEVEL */
  .brand-color {
    color: #f92647;
    font-weight: bold;
  }
  
  .flip-letter {
    display: inline-block;
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
  }
  
  .flip-letter.flipped {
    transform: rotateY(180deg);
  }
  
  
  /* تنسيقات جديدة كاملة */
  .welcome-section {
      position: relative;
      padding: 40px 0;
      text-align: center;
    }
  .logo-extra {
  display: flex;
  flex-direction: column-reverse;  /* عكس الترتيب العمودي */
  
  gap: 15px;                      /* مسافة أكبر بين العناصر */
  padding-left: 38px;
  float: left;
  }
  
  /* تكبير وتحسين أيقونة الإنستغرام */
  .instagram-icon {
  font-size: 28px;               /* حجم أكبر */
  color: #ffffff;
  transition: all 0.3s;
  }
  
  .instagram-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
  }
  
  /* تحسين نص الموقع */
  .location-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;              /* حجم خط أكبر */
  font-weight: 500;             /* سمك الخط */
  }
  
  .location-icon {
  font-size: 16px;              /* حجم أيقونة الموقع */
  color: #f92647;
  }
  @media (max-width: 768px) {
      .logo-extra {
        float: none; /* إلغاء float */
        width: 100%; /* شغل العرض بالكامل */
        align-items: center; /* توسيط أفقي */
        padding-left: 0; /* إزالة padding الجانبي */
        padding-bottom: 20px;
        margin: 0 auto; /* توسيط إذا لزم الأمر */
      }
    }
  
  
  .welcome-content {
  margin: 0 auto;
  max-width: 800px;
  position: relative;
  z-index: 1;
  }
  
  .features-title {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .features-title h1 {
    font-size: 2.5rem;
    
  }
  
  #apout_next1 {
    color: #f92647;
  }
  
  /* قسم الالعاب */
  
  .games-section {
    padding: 60px 0px;
    background-color: #111;
    position: relative;
    overflow: hidden;
  }
  
  .games-slider-container {
    position: relative;
    overflow: hidden;
    justify-content: center;
  }
  
  .games-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 20px 20px 20px;
  }
  
  .games-slider::-webkit-scrollbar {
    display: none;
  }
  
  .games-slider img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #f92647;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
  
  .games-slider img:hover {
    transform: scale(1.05);
  }
  
  .scroll-buttons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 15px;
  }
  
  .scroll-btn {
    background: #f92647aa;
    border: none;
    color: white;
    font-size: 28px;
    padding: 6px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
  }
  
  .scroll-btn:hover {
    background: #f92647;
  }
  
  
  .games-title {
    text-align: center;
    color: #f92647;
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  
  
  
  
  
  .events-section {
    padding: 60px 40px;
    background-color: #111;
    color: white;
    text-align: center;
  }
  
  .events-section h2 {
    margin-bottom: 40px;
    font-size: 28px;
    color: #f92647;
  }
  
  #eventsSection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
  .event-card {
    position: relative;
    width: 450px;
    height: 288px;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #f92647;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
  }
  
  .event-card:nth-child(1) { animation-delay: 0s; }
  .event-card:nth-child(2) { animation-delay: 0.1s; }
  .event-card:nth-child(3) { animation-delay: 0.2s; }
  /* كرر حسب عدد الصور أو اجعلها تلقائية بجافاسكربت */
  
  .event-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(249, 38, 71, 0.4);
  }
  
  .event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* تأثير ظهور ناعم */
  @keyframes fadeIn {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  
  
  .map-section {
    padding: 60px 40px;
    background-color: #111;
    text-align: center;
  }
  
  .map-section h2 {
    color: #f92647;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  .map-container {
    max-width: 800px;
    margin: 0 auto;
    border: 3px solid #f92647;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(249, 38, 71, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .map-container:hover {
    transform: scale(1.01);
    box-shadow: 0 0 35px rgba(249, 38, 71, 0.3);
  }
  
  .map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
  }
  
  
  
  
  
  .communication {
    display: flex;
    justify-content: center;
    gap: 30vw;
    padding: 40px;
    background-color: #111;
  }
  
  .communication button {
    background-color: #1f1f1f;
    color: white;
    border: 2px solid #f92647;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .communication button:hover {
    background-color: #d5d5d5;
    color: #1f1f1f;
  }
  /* أنماط الهيدر المعدلة */
  .main-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 5%;
      position: relative;
      z-index: 100;
      background-color: transparent !important;
    }
    
    .logo-container {
      flex: 1;
      display: flex;
      justify-content: flex-start;
    }
    
    .main-nav {
      flex: 2;
      display: flex;
      justify-content: center;
    }
    
    .nav-center {
      list-style: none;
      display: flex;
      gap: 40px;
      margin: 0;
      padding: 0;
      justify-content: center;
    }
    
    .nav-center li a {
      text-decoration: none;
      color: #fff;
      font-weight: bold;
      font-size: 18px;
      transition: color 0.3s;
      padding: 5px 10px;
    }
  
    .nav-center li a:hover {
      color: #f92647;
    }
  
    .header-right {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 25px;
    }
    
  
    
    .mail-popup {
      width: 90%;
      max-width: 500px;
      max-height: 70vh;
      background-color: #1a1a1a;
      border: 2px solid #f92647;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      overflow: hidden;
      animation: popupFadeIn 0.3s ease-out;
    }
    
    .mail-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #f92647;
      color: white;
    }
    
    .mail-header h3 {
      font-size: 20px;
      margin: 0;
    }
    
    .close-mail-btn {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      transition: transform 0.3s ease;
      padding: 0 10px;
    }
    
    .close-mail-btn:hover {
      transform: rotate(90deg);
    }
    
    .mail-list {
      padding: 15px;
      overflow-y: auto;
      max-height: calc(70vh - 60px);
    }
    
    .message-item {
      padding: 15px;
      margin-bottom: 10px;
      background-color: #222;
      border-radius: 8px;
      border-left: 3px solid #444;
    }
    
    .message-item.unread {
      border-left-color: #f92647;
      background-color: #252525;
    }
    
    .message-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-size: 14px;
    }
    
    .message-sender {
      font-weight: bold;
      color: #f92647;
    }
    
    .message-date {
      color: #888;
    }
    
    .message-content {
      color: #ddd;
      line-height: 1.5;
    }
    
    .message-link {
      display: inline-block;
      margin-top: 10px;
      color: #f92647;
      text-decoration: none;
      transition: color 0.3s;
    }
    
    .message-link:hover {
      color: #d81a40;
      text-decoration: underline;
    }
    
    @keyframes popupFadeIn {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    /* أنماط عناصر المستخدم */
    .user-actions {
      display: flex;
      align-items: center;
    }
    
    .login-link {
      color: white;
      text-decoration: none;
      font-weight: bold;
      font-size: 16px;
      transition: color 0.3s;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .login-link:hover {
      color: #f92647;
    }
    
    .welcome-dropdown {
      position: relative;
    }
    
    .welcome-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      color: white;
      font-weight: bold;
      transition: color 0.3s;
    }
    
    .welcome-trigger:hover {
      color: #f92647;
    }
    
    .dropdown-menu {
      position: absolute;
      right: 0;
      top: 100%;
      background-color: #222;
      border-radius: 8px;
      padding: 10px 0;
      min-width: 180px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      display: none;
      z-index: 100;
    }
    
    .dropdown-menu.show {
      display: block;
    }
    
    .dropdown-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 20px;
      color: white;
      text-decoration: none;
      transition: background 0.3s;
      font-size: 14px;
    }
    
    .dropdown-item:hover {
      background-color: #333;
    }
    
    /* أيقونة البريد */
    .mail-icon-container {
      position: relative;
      cursor: pointer;
    }
    
    .mail-icon {
      font-size: 22px;
      color: white;
      transition: color 0.3s;
    }
    
    .mail-icon-container:hover .mail-icon {
      color: #f92647;
    }
    
    .unread-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      width: 18px;
      height: 18px;
      background-color: #f92647;
      border-radius: 50%;
      display: none;
    }
    
    /* تعديلات للشاشات الصغيرة */
    @media (max-width: 768px) {
      .main-header {
        flex-direction: column;
        padding: 15px;
      }
      
      .main-nav {
        margin: 15px 0;
        width: 100%;
      }
      
      .nav-center {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
      }
      
      .header-right {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
      }
      
      .mail-popup {
        width: 95%;
        max-height: 80vh;
      }
    }
  /* أنماط نافذة الرسائل المعدلة */
  .mail-popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 500px;
      max-height: 70vh;
      background-color: #1a1a1a;
      border: 2px solid #f92647;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      z-index: 1000;
      display: none;
      overflow: hidden;
    }
    
    .mail-popup.show {
      display: block;
      animation: mailPopupFadeIn 0.3s ease-out;
    }
    
    @keyframes mailPopupFadeIn {
      from {
        opacity: 0;
        transform: translate(-50%, -55%);
      }
      to {
        opacity: 1;
        transform: translate(-50%, -50%);
      }
    }
    
    /* طبقة الخلفية المعتمة */
    .mail-popup-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.7);
      z-index: 999;
      display: none;
    }
    
    .mail-popup-backdrop.show {
      display: block;
    }
    
    /* أنماط محتوى الرسائل */
    .mail-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #f92647;
      color: white;
    }
    
    .mail-header h3 {
      font-size: 20px;
      margin: 0;
    }
    
    .close-mail-btn {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    
    .close-mail-btn:hover {
      transform: rotate(90deg);
    }
    
    .mail-list {
      padding: 15px;
      overflow-y: auto;
      max-height: calc(70vh - 60px);
    }
    
    .message-item {
      padding: 15px;
      margin-bottom: 10px;
      background-color: #222;
      border-radius: 10px;
      border-left: 4px solid #444;
      transition: all 0.3s ease;
    }
    
    .message-item.unread {
      border-left-color: #f92647;
      background-color: #252525;
    }
    
    .message-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-size: 14px;
    }
    
    .message-sender {
      font-weight: bold;
      color: #f92647;
    }
    
    .message-date {
      color: #888;
    }
    
    .message-content {
      color: #ddd;
      line-height: 1.5;
    }
    
    .message-link {
      display: inline-block;
      margin-top: 10px;
      color: #f92647;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s ease;
    }
    
    .message-link:hover {
      color: #d81a40;
      text-decoration: underline;
    }
    
    /* للجوال */
    @media (max-width: 768px) {
      .mail-popup {
        width: 95%;
        max-height: 80vh;
      }
    }
    .checkout-section {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid #444;
    }
    
    .checkout-btn {
      background-color: #4CAF50;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      margin-top: 15px;
    }
    
    .checkout-btn:disabled {
      background-color: #666;
      cursor: not-allowed;
    }
    
    .phone-input {
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #444;
      background-color: #333;
      color: white;
      width: 100%;
      margin-top: 10px;
    }
    
    .confirmation-message {
      display: none;
      text-align: center;
      padding: 20px;
      color: #4CAF50;
      font-size: 18px;
    }
    /* نمط نافذة الاقتراحات */
  .feedback-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      overflow-y: auto;
    }
    
    .feedback-content {
      background-color: #222;
      margin: 50px auto;
      padding: 20px;
      border-radius: 10px;
      max-width: 600px;
      color: white;
      position: relative;
    }
    
    .close-feedback {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 24px;
      cursor: pointer;
      color: white;
    }
    
    #feedbackForm {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin-top: 20px;
    }
    
    #feedbackForm input,
    #feedbackForm textarea {
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #444;
      background-color: #333;
      color: white;
    }
    
    #feedbackForm textarea {
      min-height: 150px;
      resize: vertical;
    }
    
    .file-upload {
      margin: 15px 0;
    }
    
    .file-upload label {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      padding: 10px;
      background-color: #333;
      border-radius: 5px;
    }
    
    .file-upload input {
      display: none;
    }
    
    .file-preview {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 15px;
    }
    
    .file-preview-item {
      position: relative;
      width: 100px;
      height: 100px;
      border-radius: 5px;
      overflow: hidden;
    }
    
    .file-preview-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .file-preview-item .remove-file {
      position: absolute;
      top: 5px;
      right: 5px;
      background: red;
      color: white;
      border: none;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      cursor: pointer;
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    #feedbackForm button {
      background-color: #4CAF50;
      color: white;
      border: none;
      padding: 12px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
    }
    
    #feedbackForm button:disabled {
      background-color: #666;
      cursor: not-allowed;
    }
    /* إضافة أنماط القائمة الجانبية للهاتف */
  /* زر القائمة (الهامبرجر) */
  .menu-toggle {
      display: none;
      cursor: pointer;
      padding: 10px;
      z-index: 1000;
    }
    
    .menu-toggle .bar {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 5px 0;
      transition: all 0.3s ease;
    }
    
    /* القائمة الجانبية */
    .sidebar-menu {
      position: fixed;
      top: 0;
      right: -300px;
      width: 250px;
      height: 100%;
      background-color: #1a1a1a;
      z-index: 999;
      transition: right 0.3s ease;
      padding-top: 70px;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }
    
    .sidebar-menu.active {
      right: 0;
    }
    
    .sidebar-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .sidebar-menu li {
      padding: 15px 20px;
      border-bottom: 1px solid #333;
    }
    
    .sidebar-menu li a {
      color: white;
      text-decoration: none;
      font-size: 18px;
      display: block;
      transition: color 0.3s;
    }
    
    .sidebar-menu li a:hover {
      color: #f92647;
    }
    
    /* إغلاق القائمة */
    .close-sidebar {
      position: absolute;
      top: 15px;
      left: 15px;
      color: white;
      font-size: 24px;
      cursor: pointer;
    }
    
    /* طبقة التعتيم عند فتح القائمة */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      z-index: 998;
      display: none;
    }
    
    .overlay.active {
      display: block;
    }
    .dropdown-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 20px;
      color: white;
      text-decoration: none;
      transition: background 0.3s;
      font-size: 14px;
      background-color: #222222; /* إضافة لون خلفية أسود */
      border: none;
      width: 100%;
      text-align: right;
      cursor: pointer;
    }
    
    .dropdown-item:hover {
      background-color: #333;
      color: #f92647;
    }
    
    .dropdown-item i {
      margin-left: 5px;
    }
    .menu-toggle {
      display: none;
      cursor: pointer;
      padding: 10px;
      z-index: 1000;
      position: fixed; /* جعله ثابتًا */
      top: 20px;
      right: 20px;
      background-color: rgba(0, 0, 0, 0.7);
      border-radius: 5px;
      transition: all 0.3s ease;
    }
    
    .menu-toggle:hover {
      background-color: rgba(249, 38, 71, 0.7);
    }
    
    .menu-toggle .bar {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 5px 0;
      transition: all 0.3s ease;
    }
    
    /* عند التمرير نزولاً */
    .menu-toggle.scrolled {
      top: 10px;
      background-color: rgba(249, 38, 71, 0.9);
    }
  /* أنماط نافذة الحجز */
  .booking-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      overflow-y: auto;
    }
    
    .booking-content {
      background-color: #222;
      margin: 50px auto;
      padding: 20px;
      border-radius: 10px;
      width: 95%;
      max-width: 900px;
      color: white;
      position: relative;
    }
    
    /* أنماط الأكورديون */
    .tables-accordion {
      width: 100%;
      margin-top: 15px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      align-items: start; /* هذه هي التعديلية الأساسية */
    }
    
    .accordion-section {
      border: 1px solid #444;
      border-radius: 5px;
      overflow: hidden;
      background-color: #333;
    }
    
    .accordion-header {
      width: 100%;
      padding: 15px 10px;
      text-align: center;
      background-color: #444;
      border: none;
      cursor: pointer;
      color: white;
      font-size: 16px;
      font-weight: bold;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: all 0.3s;
    }
    
    .accordion-header:hover {
      background-color: #555;
    }
    
    .accordion-header.active {
      background-color: #f92647;
    }
    
    .accordion-arrow {
      margin-top: 5px;
      font-size: 12px;
      transition: transform 0.3s;
    }
    
    .accordion-header.active .accordion-arrow {
      transform: rotate(180deg);
    }
    
    .accordion-content {
      display: none;
      padding: 10px;
    }
    
    /* أنماط الطاولات */
    .tables-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      gap: 10px;
      padding: 10px;
    }
    
    .table-item {
      padding: 10px;
      text-align: center;
      border-radius: 5px;
      cursor: pointer;
      background-color: #4CAF50;
      color: white;
      transition: all 0.3s;
    }
    
    .table-item:hover {
      transform: scale(1.05);
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
    
    .table-item.selected {
      background-color: #2196F3;
      box-shadow: 0 0 0 2px #0b7dda;
    }
    
    .table-item.booked {
      background-color: #f44336;
      cursor: not-allowed;
      opacity: 0.7;
    }
    
    /* التكيف مع الشاشات الصغيرة */
    @media (max-width: 992px) {
      .tables-accordion {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    @media (max-width: 576px) {
      .tables-accordion {
        grid-template-columns: 1fr;
      }
      
      .booking-content {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
      }
    }
    
    /* باقي الأنماط الثابتة */
    .close-booking {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 24px;
      cursor: pointer;
      color: white;
    }
    
    .price-display {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 18px;
      font-weight: bold;
      color: #f92647;
    }
    
    .checkout-section {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid #444;
    }
    
    .checkout-btn {
      background-color: #4CAF50;
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      width: 100%;
      margin-top: 15px;
      transition: background 0.3s;
    }
    
    .checkout-btn:hover:not(:disabled) {
      background-color: #3e8e41;
    }
    
    .checkout-btn:disabled {
      background-color: #666;
      cursor: not-allowed;
    }
    
    /* تعديلات الهيدر للشاشات الصغيرة */
    @media (max-width: 992px) {
      .main-header {
        padding: 15px 20px;
      }
      
      .nav-center {
        gap: 20px;
      }
      
      .nav-center li a {
        font-size: 16px;
      }
    }
    
    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }
      
      .main-nav {
        display: none;
      }
      
      .logo-container {
        justify-content: center;
      }
      
      #next_level_logo {
        position: static;
        transform: none;
        margin: 0 auto;
      }
      
      .header-right {
        gap: 15px;
      }
    }
    
    /* تعديلات عامة للاستجابة */
    @media (max-width: 1200px) {
      .features {
        padding: 40px 20px;
      }
      
      .feature-card {
        max-width: 220px;
      }
    }
    
    @media (max-width: 768px) {
      .welcome-section h1 {
        font-size: 1.8rem;
      }
      
      .welcome-section p {
        font-size: 1rem;
      }
      
      .features {
        flex-direction: column;
        align-items: center;
        padding: 30px 15px;
      }
      
      .feature-card {
        max-width: 100%;
        width: 100%;
        margin: 10px 0;
      }
      
      .games-slider img {
        width: 120px;
        height: 160px;
      }
      
      .event-card {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
      }
      
      .communication {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
      }
      
      .map-section, .events-section {
        padding: 40px 15px;
      }
      
      .slider {
        --width: 300px;
        --height: 200px;
      }
    }
    
    @media (max-width: 480px) {
      .welcome-section h1 {
        font-size: 1.5rem;
      }
      
      .welcome-section {
        padding: 40px 15px;
        padding-top: 25px;
  
      }
      
      .games-title, .events-section h2, .map-section h2 {
        font-size: 24px;
      }
      
      .games-slider img {
        width: 100px;
        height: 140px;
      }
      
      .scroll-buttons {
        gap: 20px;
      }
      
      .scroll-btn {
        padding: 4px 15px;
        font-size: 24px;
      }
      
      .slider {
        --width: 250px;
        --height: 150px;
      }
      
      .mail-popup {
        width: 95%;
        max-height: 80vh;
      }
    }