@charset "UTF-8";
/* =====================================================================
   الواجهة الرئيسية (index.php) على الكمبيوتر — نفس محتوى وشكل واجهة الجوال (#mland) بمقاسات الكمبيوتر.
   الجوال (820px وأقل) يبقى على mobile.css كما هو.
   ===================================================================== */
#mland .ml-c { font-style: normal; }
.ml-foot { display: none; }

@media (min-width: 821px) {
  html, body.indexPage { min-width: 0 !important; width: auto !important; margin: 0; background: #ffffff !important; overflow-x: hidden; }
  body.indexPage > .wrapper, body.indexPage > .overlay { display: none !important; }

  #mland { display: block; direction: rtl; font-family: "Plex Arabic", Tahoma, sans-serif; color: #2b2418; }

  /* الترويسة + القائمة */
  #mland .ml-top { height: 112px; background: #eef3e0 url(default/img/vip/header-rtl-2x.png) center top / cover no-repeat; }
  #mland .ml-nav { display: flex; justify-content: center; gap: 6px; padding: 0 16px; background: linear-gradient(#ffffff, #f4f2ec); border-bottom: 1px solid #ddd5c2;
    box-shadow: 0 2px 6px rgba(60, 40, 10, .06); position: relative; z-index: 2; }
  #mland .ml-nav a { flex: none; min-width: 120px; padding: 13px 22px 11px; text-align: center; color: #3a3226 !important; text-decoration: none !important;
    font: 600 16px "Plex Arabic", Tahoma, sans-serif; border-bottom: 3px solid transparent; transition: color .15s, background .15s; }
  #mland .ml-nav a:hover { color: #c0261c !important; background: rgba(192, 38, 28, .04); }
  #mland .ml-nav a.on { color: #c0261c !important; border-bottom-color: #c0261c; }

  /* صورة الفارس (لوحة عريضة بعرض الشاشة) */
  #mland .ml-hero { height: 380px; background: #bfe3f7 url(../index_files/hero-desktop.jpg) 50% 100% / cover no-repeat; }

  /* البطاقة: عمودين (الترحيب + التسجيل يمين، عن اللعبة + الأرقام يسار) واللقطات تحت */
  #mland .ml-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 0 44px;
    max-width: 1060px; margin: -96px auto 0; padding: 30px 36px 30px; box-sizing: border-box; background: #fff; border-radius: 18px;
    border: 1px solid #ece6d6; box-shadow: 0 14px 40px rgba(60, 40, 10, .13); animation: mlUp .7s cubic-bezier(.2, .8, .3, 1) .1s backwards; }
  #mland .ml-card > h2 { grid-column: 1; grid-row: 1; margin: 0 0 10px; font: 700 28px/1.35 "Plex Arabic", Tahoma, sans-serif; color: #2b2418; }
  #mland .ml-card > p { grid-column: 1; grid-row: 2; margin: 0 0 22px; font-size: 16.5px; line-height: 1.9; color: #3e362a; }
  #mland .ml-card > .ml-cta { grid-column: 1; grid-row: 3; display: block; width: 100%; max-width: 380px; margin: 0 0 10px; padding: 14px 10px; box-sizing: border-box;
    text-align: center; border-radius: 12px; text-decoration: none !important; color: #fff !important; font: 700 20px "Plex Arabic", Tahoma, sans-serif;
    background: linear-gradient(#e2452f, #b8241a); box-shadow: 0 4px 0 #861710, 0 8px 16px rgba(184, 36, 26, .25); transition: transform .12s, box-shadow .12s, filter .12s; }
  #mland .ml-card > .ml-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
  #mland .ml-card > .ml-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #861710; }
  #mland .ml-card > .ml-login { grid-column: 1; grid-row: 4; display: block; max-width: 380px; margin: 4px 0 0; text-align: center; color: #555 !important;
    font-size: 15.5px; text-decoration: none !important; }
  #mland .ml-card > .ml-login b { color: #5f9a12; }
  #mland .ml-card > .ml-login:hover b { text-decoration: underline; }

  #mland .ml-card > h3 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px dashed #d6ccb4; font: 700 18px "Plex Arabic", Tahoma, sans-serif; color: #2b2418; }
  #mland .ml-card > h3:nth-of-type(1) { grid-column: 2; grid-row: 1; margin-top: 6px; }
  #mland .ml-card > .ml-about { grid-column: 2; grid-row: 2 / span 3; display: block; }
  #mland .ml-card > h3:nth-of-type(2) { grid-column: 1 / -1; grid-row: 5; margin-top: 26px; }
  #mland .ml-card > .ml-shots { grid-column: 1 / -1; grid-row: 6; }

  #mland .ml-feat { margin: 0 0 16px; padding: 0 20px 0 0; font-size: 15.5px; line-height: 2; color: #3e362a; }
  #mland .ml-feat li::marker { color: #b8241a; }
  #mland .ml-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
  #mland .ml-stats li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 8px 4px;
    box-sizing: border-box; border-radius: 12px; background: linear-gradient(#fbf8f0, #f3eddd); border: 1px solid #e3d9c0; text-align: center; }
  #mland .ml-stats li b { order: -1; font: 700 22px/1.2 "Plex Arabic", Tahoma, sans-serif; color: #3e7c27; font-variant-numeric: tabular-nums; }
  #mland .ml-stats li .ml-k { font-size: 12.5px; line-height: 1.35; color: #6b5a3a; }
  #mland .ml-stats li .ml-c { display: none; }

  #mland .ml-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  #mland .ml-shots a { display: block; border: 1px solid #ddd3bd; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    transition: transform .15s, box-shadow .15s; }
  #mland .ml-shots a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
  #mland .ml-shots img { display: block; width: 100%; height: 150px; object-fit: cover; }

  #mland .ml-foot { display: block; max-width: 1060px; margin: 0 auto; padding: 22px 16px 28px; text-align: center; color: #8a7d62; font-size: 13px; }

  /* نافذة اختيار السيرفر: أعرض شوي على الكمبيوتر */
  #mland #msrv { width: min(92vw, 500px); border-radius: 14px; overflow: hidden; }
  #mland #msrv-list a.srv { cursor: pointer; transition: transform .15s, box-shadow .15s; }
  #mland #msrv-list a.srv:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }

  /* ---------------------------------------------------------------- حركة الواجهة */
  @keyframes mlUp { from { opacity: 0; transform: translateY(26px); } }
  @keyframes mlFade { from { opacity: 0; } }
  @keyframes mlShine { 0%, 62% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(340%) skewX(-18deg); } }
  @keyframes mlPop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
  #mland .ml-hero { animation: mlFade .8s ease-out backwards; }
  #mland .ml-card > .ml-cta { position: relative; overflow: hidden; isolation: isolate; }
  #mland .ml-card > .ml-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 28%; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); animation: mlShine 3.8s ease-in-out 1s infinite; }
  #mland .ml-stats li { animation: mlPop .5s cubic-bezier(.2, .8, .3, 1.2) backwards; transition: transform .18s, box-shadow .18s; }
  #mland .ml-stats li:nth-child(1) { animation-delay: .35s; } #mland .ml-stats li:nth-child(2) { animation-delay: .45s; }
  #mland .ml-stats li:nth-child(3) { animation-delay: .55s; } #mland .ml-stats li:nth-child(4) { animation-delay: .65s; }
  #mland .ml-stats li:nth-child(5) { animation-delay: .75s; }
  #mland .ml-stats li:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(60, 40, 10, .12); }
  #mland .ml-shots a { animation: mlPop .5s ease-out backwards; }
  #mland .ml-shots a:nth-child(1) { animation-delay: .5s; } #mland .ml-shots a:nth-child(2) { animation-delay: .6s; }
  #mland .ml-shots a:nth-child(3) { animation-delay: .7s; } #mland .ml-shots a:nth-child(4) { animation-delay: .8s; }
  @media (prefers-reduced-motion: reduce) {
    #mland .ml-card, #mland .ml-hero, #mland .ml-stats li, #mland .ml-shots a, #mland .ml-card > .ml-cta::after { animation: none !important; }
  }

  /* لابتوب صغير */
  @media (max-width: 1000px) {
    #mland .ml-hero { height: 320px; }
    #mland .ml-card { margin: -80px 16px 0; padding: 24px 24px; gap: 0 28px; }
    #mland .ml-card > h2 { font-size: 24px; }
    #mland .ml-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #mland .ml-shots img { height: 120px; }
  }
}
