/* ==========================================================================
   NESUS ONLINE - Mobile Roleplay Official Theme
   Design System: Soft Neon Glow (Purple / Cyberpunk Dark Mode)
   Mobile-First Responsive Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. متغيرات التصميم ونظام الألوان (Design Tokens & Color Palette)
   -------------------------------------------------------------------------- */
:root {
  /* التدرجات البنفسجية والنيون (Purple & Neon Palette) */
  --primary-neon: #a855f7;        /* بنفسجي نيون أساسي (Purple 500) */
  --primary-light: #c084fc;       /* لافندر مشرق للتوهج (Purple 400) */
  --primary-bright: #e9d5ff;      /* بنفسجي فاتح للنصوص المميزة (Purple 200) */
  --primary-dark: #7e22ce;        /* بنفسجي غامق للحدود والتدرجات (Purple 700) */
  --primary-deep: #4c1d95;        /* بنفسجي داكن جداً للظلال والعمق (Purple 900) */
  
  /* ألوان التمييز والحالات (Accent & Status Colors) */
  --accent-cyan: #38bdf8;         /* سماوي متباين خفيف */
  --accent-pink: #f43f5e;         /* وردي نيون للعصابات والتحذيرات */
  --status-online: #10b981;       /* أخضر نيون للسيرفر المتصل */
  --status-gold: #f59e0b;         /* ذهبي نيون لباقات الـ VIP */

  /* ألوان الخلفيات الداكنة (Dark Mode Surfaces) */
  --bg-deep: #08070e;             /* أسود غامق بلمسة بنفسجية خفيفة جداً */
  --bg-surface: #0f0c1a;          /* خلفية الأقسام والبطاقات الأساسية */
  --bg-surface-elevated: #161226; /* خلفية البطاقات المرتفعة */
  --bg-card: rgba(22, 18, 38, 0.72); /* بطاقات زجاجية مع بلور */
  --bg-card-hover: rgba(34, 27, 58, 0.85);

  /* خطوط ونصوص (Typography) */
  --font-arabic: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-gaming: 'Rajdhani', 'Outfit', sans-serif;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* توهجات النيون الناعمة (Soft Neon Glow Effects) */
  --glow-soft: 0 0 15px rgba(168, 85, 247, 0.35);
  --glow-medium: 0 0 25px rgba(168, 85, 247, 0.5), 0 0 50px rgba(168, 85, 247, 0.2);
  --glow-intense: 0 0 35px rgba(192, 132, 252, 0.7), 0 0 70px rgba(168, 85, 247, 0.35);
  --glow-text: 0 0 12px rgba(192, 132, 252, 0.65);
  --glow-gold: 0 0 20px rgba(245, 158, 11, 0.4);
  --glow-green: 0 0 15px rgba(16, 185, 129, 0.5);

  /* حدود وقياسات (Borders & Radius) */
  --border-subtle: 1px solid rgba(168, 85, 247, 0.18);
  --border-neon: 1px solid rgba(168, 85, 247, 0.45);
  --border-neon-bright: 1px solid rgba(192, 132, 252, 0.8);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* انتقالات سلسة (Transitions) */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. إعادة الضبط والأساسيات (Reset & Base)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  padding-bottom: 70px; /* مساحة لشريط التنقل السفلي في الجوال */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* شريط التمرير المخصص (Custom Scrollbar) */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #2e1d52;
  border-radius: 6px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-neon);
  box-shadow: var(--glow-soft);
}

/* تأثير التحديد (Selection) */
::selection {
  background: var(--primary-neon);
  color: #fff;
}

/* طبقة الإضاءة الخلفية الشاملة (Ambient Background Glow) */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: 50%;
  transform: translateX(50%);
  width: 750px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(126, 34, 206, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(126, 34, 206, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* الحاوية المتجاوبة (Container) */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3. العناصر المشتركة وفئات التوهج النيون (Soft Neon Utility Classes)
   -------------------------------------------------------------------------- */
.text-neon {
  color: var(--primary-light);
  text-shadow: var(--glow-text);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #d8b4fe 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-neon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.18);
  letter-spacing: 0.3px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--status-online);
  border-radius: 50%;
  box-shadow: var(--glow-green);
  animation: pulse-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

/* الأزرار المضيئة (Neon Glow Buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff;
  border: 1px solid rgba(233, 213, 255, 0.4);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
  box-shadow: 0 6px 28px rgba(168, 85, 247, 0.65), 0 0 12px rgba(192, 132, 252, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: rgba(22, 18, 38, 0.85);
  color: var(--primary-bright);
  border: 1px solid rgba(168, 85, 247, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(40, 30, 70, 0.95);
  border-color: var(--primary-light);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.6), 0 0 15px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* بطاقة زجاجية (Glass Card) */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition-normal);
  position: relative;
}

.glass-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15);
  transform: translateY(-3px);
}

/* رأس القسم (Section Header) */
.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header .section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: var(--glow-text);
}

.section-header .section-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .section-header .section-title {
    font-size: 2.35rem;
  }
}

.section-header .section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* فواصل نيون خفيفة (Neon Dividers) */
.neon-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
  margin: 4rem 0;
  border: none;
}

/* --------------------------------------------------------------------------
   4. شريط التنقل العلوي (Navbar Header)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 7, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(8, 7, 14, 0.92);
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(168, 85, 247, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.65));
  transition: var(--transition-fast);
}

.brand-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.9));
  transform: scale(1.04);
}

.brand-name {
  font-family: var(--font-gaming);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name span.sub {
  font-size: 0.7rem;
  font-family: var(--font-arabic);
  color: var(--primary-light);
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* روابط شريط التنقل (Desktop Nav Links) */
.nav-menu {
  display: none;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  text-shadow: var(--glow-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--primary-neon);
  box-shadow: var(--glow-soft);
  transition: transform var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(50%) scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-discord {
  display: none;
}

@media (min-width: 640px) {
  .btn-nav-discord {
    display: inline-flex;
  }
}

/* زر القائمة للشاشات الصغيرة (Mobile Menu Toggle Button) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(22, 18, 38, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-sm);
  color: var(--primary-light);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--primary-bright);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* قائمة الجوال الجانبية (Mobile Drawer) */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 8, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 1.75rem 1.25rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(22, 18, 38, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.mobile-nav-link i {
  color: var(--primary-neon);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--primary-neon);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
  color: #ffffff;
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   5. شريط التنقل السفلي السريع للجوال (Mobile Quick Bottom Bar)
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 8, 18, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  z-index: 95;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.725rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.bottom-bar-item i {
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.bottom-bar-item:hover, .bottom-bar-item.active {
  color: var(--primary-light);
}

.bottom-bar-item:hover i, .bottom-bar-item.active i {
  color: var(--primary-neon);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px var(--primary-neon));
}

.bottom-bar-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-neon);
  box-shadow: var(--glow-soft);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   6. القسم الترحيبي (Hero Section)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 105px;
  padding-bottom: 3.5rem;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 130px;
    padding-bottom: 5rem;
  }
}

/* طبقة الصورة الخلفية للشاشة الترحيبية */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 14, 0.7) 0%, rgba(8, 7, 14, 0.92) 80%, var(--bg-deep) 100%),
              url('../DCB82BB2-54C0-4163-B235-419B854A803C.jpg') center center/cover no-repeat;
  opacity: 0.28;
  filter: saturate(1.2) contrast(1.1);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    text-align: right;
  }
}

.hero-badge-wrap {
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.4rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  .hero-subtitle {
    margin-right: 0;
  }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .hero-cta-group {
    justify-content: flex-start;
  }
}

/* بطاقة نسخ الآيبي السريع (Hero IP Widget) */
.server-ip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(22, 18, 38, 0.75);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-gaming);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.server-ip-pill:hover {
  border-color: var(--primary-light);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
  background: rgba(35, 26, 62, 0.85);
}

.server-ip-pill .ip-code {
  color: #ffffff;
  font-weight: 700;
  direction: ltr;
  display: inline-block;
}

.server-ip-pill .copy-icon {
  color: var(--primary-light);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.server-ip-pill:hover .copy-icon {
  transform: scale(1.2);
}

/* بطاقة حالة السيرفر الحية (Live Server Status Card) */
.server-status-card {
  background: rgba(18, 14, 32, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
}

.server-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #c084fc, #a855f7);
  box-shadow: var(--glow-soft);
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.status-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-indicator-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--status-online);
  font-size: 1.25rem;
  box-shadow: var(--glow-green);
}

.status-title-wrap h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.status-title-wrap p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.status-tag-online {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

/* عداد اللاعبين المتصلين */
.players-counter-block {
  margin-bottom: 1.5rem;
}

.counter-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.counter-numbers {
  font-family: var(--font-gaming);
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  line-height: 1;
}

.counter-numbers .total-slots {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
}

/* شريط تقدم اللاعبين (Neon Progress Bar) */
.progress-bar-wrap {
  width: 100%;
  height: 10px;
  background: rgba(30, 24, 52, 0.8);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.progress-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 60%, #c084fc 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  transition: width 1s ease-in-out;
}

/* إحصائيات سريعة في بطاقة السيرفر (Server Stats Grid) */
.server-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quick-stat-item {
  background: rgba(26, 20, 46, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.quick-stat-item i {
  color: var(--primary-light);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  display: inline-block;
}

.quick-stat-val {
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

.quick-stat-lbl {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.btn-card-connect {
  width: 100%;
}

/* صورة البانر في الهيرو (Hero Graphic & Logo) */
.hero-graphic-wrap {
  position: relative;
  text-align: center;
}

.hero-main-logo-glow {
  max-width: 320px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 35px rgba(168, 85, 247, 0.75)) drop-shadow(0 0 70px rgba(126, 34, 206, 0.45));
  animation: float-logo 4.5s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.65));
  }
  50% {
    transform: translateY(-8px);
    filter: drop-shadow(0 0 45px rgba(192, 132, 252, 0.9));
  }
}

/* --------------------------------------------------------------------------
   7. قسم مميزات السيرفر (Features Section)
   -------------------------------------------------------------------------- */
.features-section {
  padding: 4.5rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  transition: var(--transition-normal);
  text-align: right;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-soft);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--glow-soft);
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-neon);
  color: #ffffff;
  transform: scale(1.08) rotate(5deg);
  box-shadow: var(--glow-medium);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. قسم الوظائف والفصائل (Factions & Jobs Section)
   -------------------------------------------------------------------------- */
.factions-section {
  padding: 4.5rem 0;
  position: relative;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(22, 18, 38, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: var(--primary-neon);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(126, 34, 206, 0.5) 100%);
  color: #ffffff;
  border-color: var(--primary-light);
  box-shadow: var(--glow-soft);
}

.factions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .factions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .factions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faction-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.faction-card:hover {
  border-color: var(--primary-neon);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), var(--glow-soft);
}

.faction-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.faction-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--primary-light);
  box-shadow: var(--glow-soft);
}

.faction-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-state {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.badge-crime {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.badge-civil {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--primary-light);
}

.faction-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.faction-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.faction-meta-box {
  background: rgba(14, 11, 25, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.faction-salary-val {
  font-family: var(--font-gaming);
  font-weight: 700;
  color: var(--status-gold);
}

.faction-action-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   9. قسم القوانين بنظام الأكورديون (Rules Section - Accordion & Search)
   -------------------------------------------------------------------------- */
.rules-section {
  padding: 4.5rem 0;
  position: relative;
}

.rules-search-wrap {
  max-width: 580px;
  margin: 0 auto 2rem;
  position: relative;
}

.rules-search-input {
  width: 100%;
  padding: 0.95rem 3rem 0.95rem 1.25rem;
  background: rgba(22, 18, 38, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.rules-search-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.4);
  background: rgba(30, 22, 54, 0.9);
}

.rules-search-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-light);
  font-size: 1.1rem;
}

/* حاوية الأكورديون (Accordion Container) */
.rules-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item.active {
  border-color: var(--primary-neon);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), var(--glow-soft);
}

.accordion-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(168, 85, 247, 0.08);
}

.accordion-title-flex {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.accordion-badge {
  font-family: var(--font-gaming);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.18);
  color: var(--primary-light);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.accordion-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.accordion-chevron {
  color: var(--primary-light);
  font-size: 0.95rem;
  transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.5rem;
}

.accordion-content {
  padding-bottom: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

.rule-highlight-box {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.rule-allowed {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.rule-forbidden {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fca5a5;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. قسم المتجر وباقات الـ VIP (Store & VIP Packages Section)
   -------------------------------------------------------------------------- */
.store-section {
  padding: 4.5rem 0;
  position: relative;
}

.store-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.75rem;
}

.vip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vip-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.vip-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-neon);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--glow-medium);
}

.vip-card.featured {
  background: linear-gradient(180deg, rgba(38, 22, 65, 0.85) 0%, rgba(18, 14, 32, 0.95) 100%);
  border: 2px solid var(--primary-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-medium);
}

.vip-popular-tag {
  position: absolute;
  top: -12px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--glow-soft);
  white-space: nowrap;
}

.vip-badge-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--glow-soft);
}

.vip-badge-bronze {
  background: rgba(205, 127, 50, 0.15);
  border: 1px solid rgba(205, 127, 50, 0.4);
  color: #f59e0b;
}

.vip-badge-silver {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5e1;
}

.vip-badge-gold {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  box-shadow: var(--glow-gold);
}

.vip-badge-legend {
  background: rgba(192, 132, 252, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.6);
  color: var(--primary-bright);
  box-shadow: var(--glow-intense);
}

.vip-name {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.vip-price-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.vip-price {
  font-family: var(--font-gaming);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
}

.vip-period {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.vip-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.vip-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.885rem;
  color: var(--text-muted);
}

.vip-feature-item i {
  color: var(--primary-light);
  font-size: 0.95rem;
  margin-top: 3px;
}

.vip-card.featured .vip-feature-item i {
  color: var(--status-online);
}

.btn-buy-vip {
  width: 100%;
}

/* طرق الدفع المدعومة (Payment Methods Bar) */
.payment-methods-strip {
  margin-top: 3.5rem;
  background: rgba(22, 18, 38, 0.6);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.payment-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.payment-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 11, 25, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.payment-pill i {
  color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   11. قسم المؤسسين والقيادة (Founders & Leadership Section)
   -------------------------------------------------------------------------- */
.staff-section {
  padding: 5rem 0;
  position: relative;
}

.text-neon-gold {
  color: #fbbf24 !important;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.founder-card {
  background: rgba(18, 14, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.founder-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(168, 85, 247, 0.25);
}

/* بنر خلفية الكرت بنمط الديسكورد النيون */
.founder-card-banner {
  height: 125px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.55) 0%, rgba(147, 51, 234, 0.65) 50%, rgba(236, 72, 153, 0.5) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-banner-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
}

.founder-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(18, 14, 30, 0.95) 100%);
}

/* شارات الديسكورد في أعلى البنر */
.founder-badges-row {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}

.discord-badge-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 8, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.discord-badge-chip:hover {
  transform: scale(1.18);
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.4);
}

.badge-owner i {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.7));
}

.badge-nitro i {
  color: #c084fc;
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.7));
}

.badge-booster i {
  color: #f472b6;
  filter: drop-shadow(0 0 6px rgba(244, 114, 182, 0.7));
}

.badge-dev i {
  color: #38bdf8;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
}

/* تلميح الشارة عند التحويم */
.badge-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #090614;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.3);
  z-index: 10;
}

.discord-badge-chip:hover .badge-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* محتوى بطاقة البروفايل */
.founder-card-body {
  padding: 0 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  text-align: right;
}

/* افتار المؤسس بنمط ديسكورد المتوهج */
.founder-avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin-top: -48px;
  margin-bottom: 1rem;
  align-self: flex-start;
  z-index: 4;
}

.founder-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #120e1e;
  background: #0d0a17;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.avatar-decoration-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899, #5865F2, #38bdf8);
  z-index: 1;
  opacity: 0.85;
  animation: ringPulse 4s linear infinite;
}

@keyframes ringPulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.founder-card:hover .founder-avatar {
  transform: scale(1.05);
}

.founder-card:hover .avatar-decoration-ring {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
}

/* مؤشر الحالة (متصل / أونلاين) */
.founder-status-indicator {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #23a55a;
  border: 3px solid #120e1e;
  z-index: 5;
  box-shadow: 0 0 10px rgba(35, 165, 90, 0.8);
}

.founder-status-indicator::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #23a55a;
  opacity: 0.7;
  animation: statusPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes statusPing {
  0% { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(1.8); opacity: 0; }
}

/* بيانات المؤسس */
.founder-info-header {
  margin-bottom: 0.65rem;
}

.founder-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.founder-display-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
}

.founder-verified-icon {
  color: #5865F2;
  font-size: 1rem;
}

.founder-discord-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-gaming);
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 0.2rem;
  direction: ltr;
}

.founder-discord-handle i {
  color: #5865F2;
}

/* بادج رتبة التأسيس */
.founder-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 1rem;
  width: fit-content;
}

.role-founder-crown {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.role-founder-dev {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.founder-bio {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* أزرار التفاعل لبروفايل المؤسس */
.founder-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-founder-action {
  flex: 1;
  min-width: 140px;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}

.btn-copy-username {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  transition: all 0.25s ease;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
}

.btn-copy-username:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--primary-light);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

/* الدعم للبطاقات الإدارية الأخرى */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.staff-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.staff-avatar-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.25rem;
  position: relative;
}

.staff-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  box-shadow: var(--glow-soft);
  transition: var(--transition-fast);
}

.staff-card:hover .staff-avatar {
  border-color: #ffffff;
  box-shadow: var(--glow-medium);
  transform: scale(1.05);
}

.staff-online-badge {
  position: absolute;
  bottom: 2px;
  right: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--status-online);
  border: 2px solid var(--bg-surface);
  box-shadow: var(--glow-green);
}

.staff-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.staff-role-badge {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.role-founder {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.role-admin {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.role-developer {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.role-mod {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--primary-light);
}

.staff-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.staff-discord-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 11, 25, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-gaming);
  font-size: 0.825rem;
  color: #cbd5e1;
}

.staff-discord-tag i {
  color: #5865F2;
}

/* --------------------------------------------------------------------------
   12. قسم دليل اللعب على الجوال (How to Play / Mobile Guide)
   -------------------------------------------------------------------------- */
.guide-section {
  padding: 4.5rem 0;
  position: relative;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .guide-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .guide-steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.guide-step-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.35rem;
  position: relative;
  transition: var(--transition-normal);
}

.guide-step-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), var(--glow-soft);
}

.step-number-bubble {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: var(--glow-soft);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. قسم الديسكورد والدعم المجتمعي (Discord Banner CTA)
   -------------------------------------------------------------------------- */
.discord-banner-section {
  padding: 3.5rem 0;
  position: relative;
}

.discord-banner-card {
  background: linear-gradient(135deg, rgba(29, 21, 56, 0.95) 0%, rgba(13, 10, 24, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-xl);
  padding: 2.75rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--glow-soft);
}

.discord-banner-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.discord-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .discord-banner-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.discord-banner-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.discord-banner-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.discord-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.discord-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 11, 25, 0.85);
  border: 1px solid rgba(88, 101, 242, 0.3);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #e2e8f0;
}

.discord-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   14. تذييل الصفحة (Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #06050b;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 25px;
  height: 2px;
  background: var(--primary-neon);
  box-shadow: var(--glow-soft);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.885rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: var(--primary-light);
  transform: translateX(-3px);
  text-shadow: var(--glow-text);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(168, 85, 247, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   15. الزر العائم للديسكورد (Floating Discord Button)
   -------------------------------------------------------------------------- */
.floating-discord-btn {
  position: fixed;
  bottom: 80px; /* فوق شريط التنقل السفلي في الجوال */
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.55), 0 0 25px rgba(168, 85, 247, 0.4);
  z-index: 90;
  transition: var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 992px) {
  .floating-discord-btn {
    bottom: 30px;
    right: 30px;
  }
}

.floating-discord-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 6px 30px rgba(88, 101, 242, 0.8), 0 0 35px rgba(168, 85, 247, 0.7);
}

/* حلقة النبض النيون حول الزر العائم */
.floating-discord-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.6);
  animation: pulse-ring 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   16. النوافذ المنبثقة والإشعارات (Modals & Toast Notifications)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 2rem 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--glow-medium);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  box-shadow: var(--glow-soft);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* حقول الإدخال في النوافذ (Modal Inputs) */
.form-group {
  margin-bottom: 1.25rem;
  text-align: right;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(12, 10, 20, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* إشعار منبثق توست (Toast Notification) */
.toast-notification {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(22, 18, 38, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--primary-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--glow-soft);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  font-size: 0.925rem;
  font-weight: 700;
  white-space: nowrap;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-notification i {
  color: var(--status-online);
  font-size: 1.15rem;
}

.founder-sync-note { color: #94a3b8; font-size: .78rem; margin-bottom: .8rem; }

.founder-avatar-decoration { position: absolute; width: 120%; height: 120%; max-width: none; inset: -10%; object-fit: contain; z-index: 6; pointer-events: none; }
.avatar-decoration-ring[hidden] { display: none; }
/* Full Discord-style founder profiles */
.founders-grid { max-width: 850px; align-items: start; }
.discord-full-profile { --profile-accent: #9ddd35; border: 1px solid #4c5934; border-radius: 18px; direction: ltr; background: linear-gradient(155deg, #253025 0%, #191522 39%, #0e0a19 85%); min-height: 630px; isolation: isolate; }
.profile-violet { --profile-accent: #aa7ef3; border-color: #514264; background: linear-gradient(155deg, #38324f, #191522 39%, #0e0a19 85%); }
.discord-full-profile::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-conic-gradient(from 12deg at 52% 37%, transparent 0deg 13deg, color-mix(in srgb, var(--profile-accent) 35%, transparent) 13deg 13.7deg, transparent 14deg 26deg); mask-image: linear-gradient(#000 0%, #000 45%, transparent 85%); opacity: .6; }
.discord-full-profile .founder-card-banner { height: 140px; overflow: visible; background: linear-gradient(135deg, #537f29, #515070); border: 0; }
.profile-violet .founder-card-banner { background: linear-gradient(135deg, #65458d, #384871); }
.discord-full-profile .founder-card-banner::after { background: linear-gradient(transparent, #1c182733); }
.discord-full-profile .founder-banner-pattern { background: repeating-linear-gradient(145deg, transparent 0 54px, #b2ff6738 55px 57px, transparent 58px 110px); }
.profile-orbit { position: absolute; top: 205px; right: 44px; width: 115px; height: 180px; border: 2px solid #bb39ef; border-radius: 50%; transform: rotate(28deg); opacity: .8; }
.profile-orbit::after { content: ''; position: absolute; inset: -10px 30px; border: 2px solid #7340ff; border-radius: 50%; transform: rotate(35deg); }
.profile-sparkles { position: absolute; top: 125px; right: 22px; line-height: 135px; color: white; font-size: 30px; z-index: 1; pointer-events: none; }
.discord-full-profile .founder-card-body { padding: 0 30px 24px; text-align: left; }
.discord-full-profile .founder-avatar-wrapper { width: 116px; height: 116px; margin-top: -61px; margin-bottom: 26px; }
.discord-full-profile .founder-avatar { border: 5px solid #25272a; }
.discord-full-profile .founder-display-name { color: #ffd9bb; text-shadow: 0 0 3px #ff734c, 0 0 12px #fa5734; font-size: 1.65rem; overflow-wrap: anywhere; }
.profile-violet .founder-display-name { color: #f0ddff; text-shadow: 0 0 10px #a36cee; }
.profile-identity-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.discord-full-profile .founder-discord-handle { margin: 0; font-family: var(--font-arabic, sans-serif); font-size: .88rem; }
.discord-full-profile .founder-discord-handle > i { display: none; }
.discord-full-profile .founder-discord-handle a { color: #d1cedb; }
.discord-full-profile .founder-discord-handle a:hover { text-decoration: underline; }
.discord-full-profile .founder-badges-row { position: static; gap: 6px; }
.discord-full-profile .discord-badge-chip { width: 23px; height: 23px; font-size: .85rem; border: 0; background: transparent; box-shadow: none; color: #ef8de7; }
.discord-full-profile .badge-owner { color: #eda745; }
.discord-full-profile .founder-role-pill { font-size: .73rem; padding: 5px 10px; margin-top: 12px; margin-bottom: 18px; }
.discord-full-profile .founder-bio { flex-grow: 0; color: #e4e0e9; font-size: .87rem; line-height: 1.55; min-height: 155px; margin-bottom: 25px; position: relative; z-index: 2; }
.discord-full-profile .founder-bio:not(.profile-about) { direction: rtl; text-align: right; }
.profile-member-since { margin-top: auto; padding-top: 12px; font-size: .82rem; color: #e7e2ed; }
.profile-member-since > span { display: block; color: #c4bfca; font-size: .73rem; font-weight: 700; margin-bottom: 8px; }
.profile-member-since i { margin-right: 6px; }
@media (max-width: 767px) { .founders-grid { max-width: 400px; } .discord-full-profile { min-height: 610px; } }

/* Keep the profile readable; account decoration comes from Discord. */
.discord-full-profile::before { display: none; }
.discord-full-profile { min-height: 560px; background: linear-gradient(180deg, #20252b, #111018 48%, #0e0b16); border-color: #34363c; box-shadow: 0 12px 32px #0005; }
.discord-full-profile .founder-card-banner { background: linear-gradient(120deg, #41632e, #495260); height: 140px; }
.profile-violet .founder-card-banner { background: linear-gradient(120deg, #4c3f61, #495260); }
.discord-full-profile .founder-banner-pattern { display: none; }
.discord-full-profile .founder-display-name { text-shadow: none; color: #f4f3f6; font-size: 1.5rem; }
.discord-full-profile .founder-avatar-wrapper { margin-bottom: 22px; }
.discord-full-profile .founder-role-pill { border: 0; box-shadow: none; background: #ffffff0a; color: #cac6d3; margin: 12px 0 20px; }
.discord-full-profile .founder-bio { min-height: 140px; }
.discord-full-profile .profile-member-since { border-top: 1px solid #ffffff12; margin-top: 20px; padding-top: 18px; }

.discord-full-profile { min-height: 390px; }
.discord-full-profile .profile-member-since { margin-top: 18px; }
@media (max-width: 767px) { .discord-full-profile { min-height: 390px; } }

.profile-presence { position: absolute; z-index: 7; bottom: 0; right: 0; width: 28px; height: 28px; border: 5px solid #22232a; border-radius: 50%; background: #747f8d; }
.profile-presence[data-status="online"] { background: #23a55a; }
.profile-presence[data-status="idle"] { background: #f0b232; }
.profile-presence[data-status="dnd"] { background: #f23f43; }
.profile-presence[data-status="dnd"]::after { content:''; position:absolute; top:7px; left:3px; width:12px; height:4px; border-radius:3px; background:#22232a; }
.profile-presence[data-status="offline"] { background: #22232a; box-shadow: inset 0 0 0 4px #80848e; }
.profile-presence[data-status="unknown"] { background: #22232a; border-style: dashed; }
.profile-presence-label { color:#a8a6b2; font-size:.75rem; margin:-9px 0 9px; }

.discord-full-profile .standalone-badges { display:flex; align-items:center; gap:5px; }
.profile-badge-icon { width:20px; height:20px; object-fit:contain; display:block; }
/* Independent mobile game showcase */
.gameplay-section { padding: 3.5rem 0; }
.gameplay-frame { overflow: hidden; border-radius: 24px; border: var(--border-neon); background: var(--bg-surface); box-shadow: var(--glow-soft); }
.gameplay-frame img { display: block; width: 100%; height: auto; }
.gameplay-frame figcaption { padding: 12px 18px; color: var(--text-muted); font-size: .83rem; }
.release-note { color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.release-discord { width: 100%; }
/* Palestine solidarity at the end of the page */
.palestine-section { background: radial-gradient(ellipse at 50% 0%, #0a71413d, transparent 58%), #070b09; border-top: 3px solid #16834a; padding: 72px 20px 84px; text-align: center; position: relative; overflow: hidden; }
.palestine-content { max-width: 850px; }
.palestine-flag { width: 180px; height: 108px; display: flex; flex-direction: column; position: relative; margin: 0 auto 30px; overflow: hidden; border-radius: 6px; box-shadow: 0 10px 36px #0008; border: 1px solid #ffffff20; }
.palestine-flag span { flex: 1; width: 100%; }
.palestine-flag span:nth-child(1) { background: #101010; }
.palestine-flag span:nth-child(2) { background: #fff; }
.palestine-flag span:nth-child(3) { background: #00843d; }
.palestine-flag::after { content: ''; position: absolute; inset: 0; background: #e43139; clip-path: polygon(0 0, 48% 50%, 0 100%); }
.solidarity-kicker { color: #8edaac; font-size: .84rem; font-weight: 700; }
.palestine-section h2 { font-size: clamp(1.55rem, 3.5vw, 2.8rem); line-height: 1.55; margin: 15px auto 24px; color: white; max-width: 750px; }
.solidarity-lead { font-size: clamp(1rem, 2vw, 1.25rem); color: #e5f5ea; margin-bottom: 18px; }
.solidarity-copy { color: #afc1b6; line-height: 2.1; max-width: 690px; margin: 0 auto; }
.solidarity-audio { margin: 32px auto 0; padding: 18px; max-width: 440px; border: 1px solid #ffffff20; border-radius: 18px; background: #ffffff05; }
.solidarity-audio > span { display: block; color: #e6eee9; margin-bottom: 12px; }
.solidarity-audio audio { display: block; width: 100%; }
.solidarity-audio p { color: #93a49a; font-size: .76rem; margin-top: 10px; }
.solidarity-signature { color: #81cf9f; font-size: .9rem; margin-top: 30px; }
body.palestine-theme { --primary-neon: #22a862; --primary-light: #79d7a2; --primary-bright: #f1fff6; --primary-dark: #14743f; --primary-deep: #0c4228; --accent-pink: #e43139; --bg-deep: #080b09; --glow-soft: 0 0 15px #16834a59; --glow-medium: 0 0 25px #16834a80; --glow-text: 0 0 12px #4cc67a88; --border-neon: 1px solid #16834a75; }
.palestine-theme .site-header { border-bottom-color: #e43139; background: #080d0bee; }
.palestine-theme .btn-primary { background: linear-gradient(135deg, #178a4d, #0b6132); }
.palestine-theme .btn-discord, .palestine-theme .floating-discord-btn { background: #14743f; box-shadow: 0 0 24px #16834a55; }
.palestine-theme .mobile-bottom-bar { border-top-color: #e43139; background: #080d0bf5; }
.palestine-theme .mobile-bottom-bar .bottom-bar-item { color: #c5dacf; }
.palestine-theme .server-ip-pill { border-color: #16834a; }
@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); overflow-wrap: anywhere; }
  .hero-cta-group { flex-wrap: wrap; }
  .hero-cta-group > .btn { flex: 1 1 135px; min-width: 0; }
  .section-title { font-size: clamp(1.45rem, 6.5vw, 2rem); }
  .nav-actions { gap: 8px; }
  .server-ip-pill { display: none; }
  .founders-grid { width: 100%; }
  .discord-full-profile .founder-card-body { padding-inline: 24px; }
  .gameplay-frame { border-radius: 15px; }
  .palestine-section { padding: 52px 0 90px; }
  .solidarity-copy { font-size: .92rem; }
  .palestine-flag { width: 150px; height: 90px; }
  .floating-discord-btn { width: 48px; height: 48px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

#palestine { scroll-margin-top: 95px; }


@media (max-width: 640px) { .hero-cta-group .btn { padding-inline: 16px; font-size: .95rem; } .hero-cta-group .btn span { white-space: nowrap; } }

.launch-status-card { padding: 28px; text-align: center; }
.launch-status-card h3 { font-size: 1.7rem; margin: 16px 0 12px; }
.launch-status-card p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.9; }
.launch-chip { display: inline-flex; gap: 8px; align-items: center; color: #f3d39a; background: #f5b74c14; border: 1px solid #f5b74c40; border-radius: 99px; padding: 6px 14px; }
.android-preview { background: radial-gradient(ellipse at 50% 50%, #61339433, transparent 70%); padding: 35px 25px 12px; border: 0; box-shadow: none; }
.android-phone { position: relative; padding: 13px 28px; border: 2px solid #777b83; border-radius: 46px; background: linear-gradient(125deg,#43464d,#070809 15%,#22242a 85%,#5e626b); box-shadow: 0 22px 45px #0009, inset 0 0 0 3px #0b0b0d; transform: perspective(1400px) rotateY(-4deg) rotateX(3deg); }
.android-screen { border: 2px solid #15161b; border-radius: 28px; overflow: hidden; background: #000; }
.android-screen img { width: 100%; height: auto; display: block; }
.phone-camera { position: absolute; left: 11px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #050508; box-shadow: inset 0 0 0 2px #242b40; }
.phone-side-button { position: absolute; top: -4px; right: 20%; height: 3px; width: 54px; background: #83858e; border-radius: 4px; }
.android-preview figcaption { text-align: center; margin-top: 16px; }
.solidarity-art { position: relative; width: min(340px,100%); margin: -12px auto 14px; }
.solidarity-art svg { width:100%; height:auto; display:block; }
.solidarity-visible .solidarity-art { animation: gentle-arrival 1.4s ease both; }
.hope-light { position:absolute; width:5px; height:5px; border-radius:50%; background:#dbf2bc; opacity:0; box-shadow:0 0 16px #dbf2bc; }
.solidarity-visible .hope-light { animation: hope-drift 6s ease-in-out infinite; }
.light-one { left:15%; top:65%; }
.light-two { right:15%; top:50%; animation-delay:2s !important; }
.light-three { right:32%; top:75%; animation-delay:4s !important; }
@keyframes gentle-arrival { from { opacity:0; transform:translateY(18px); } to {opacity:1;transform:translateY(0);} }
@keyframes hope-drift { 0%,100% {opacity:0;transform:translateY(0);} 40% {opacity:.7;} 80% {opacity:0;transform:translateY(-60px);} }
/* CSS 3D airplane, a brief non-interactive entrance. */
.intro-flight { position:fixed; width:300px; height:300px; left:0; top:0; pointer-events:none; z-index:300; perspective:900px; animation: fly-over 4.5s cubic-bezier(.3,.45,.65,.8) both; }
.plane-model { position:absolute; inset:0; transform-style:preserve-3d; transform:rotateX(52deg) rotateY(-16deg) rotateZ(35deg); filter:drop-shadow(8px 18px 8px #0007); }
.plane-fuselage { position:absolute; left:135px; top:22px; width:32px; height:250px; border-radius:70% 70% 45% 45%; background:linear-gradient(90deg,#647a89,#e5eef2 35%,#a7bbc6 72%,#536472); transform:translateZ(15px); }
.plane-wing { position:absolute; top:105px; width:135px; height:100px; background:linear-gradient(140deg,#ecf6ff,#879fb0 60%,#41536c); }
.wing-left { left:12px; clip-path:polygon(100% 0,100% 95%,0 100%,15% 60%); transform:rotateY(-5deg); }
.wing-right { right:11px; clip-path:polygon(0 0,0 95%,100% 100%,85% 60%); transform:rotateY(5deg); }
.plane-tail { position:absolute; top:225px; width:65px; height:38px; background:linear-gradient(#c2d2dc,#587084); }
.tail-left { left:77px; clip-path:polygon(100% 0,100% 100%,0 90%); }
.tail-right { right:76px; clip-path:polygon(0 0,0 100%,100% 90%); }
.plane-fin { position:absolute; top:210px; left:147px; width:48px; height:62px; background:linear-gradient(135deg,#b6cdd8,#526789); clip-path:polygon(0 100%,35% 0,100% 100%); transform:rotateY(-90deg) translateZ(-4px); transform-origin:left; }
.plane-cockpit { position:absolute; top:49px; left:140px; width:22px; height:21px; border-radius:80% 80% 10% 10%; background:linear-gradient(120deg,#65b5d2,#11283d); transform:translateZ(32px); }
.plane-engine { position:absolute; top:130px; width:19px; height:64px; background:linear-gradient(90deg,#344552,#e1e9ef,#627887); border-radius:40%; transform:translateZ(-12px); }
.engine-left {left:85px;}.engine-right {right:85px;}
.plane-shadow {position:absolute;inset:20px;background:#0003;filter:blur(24px);border-radius:50%;transform:translate(45px,75px) scale(.6);}
@keyframes fly-over { 0% {opacity:0;transform:translate(-320px,75vh) scale(.4);} 10% {opacity:1;} 55% {opacity:1;transform:translate(45vw,34vh) scale(.95);} 90% {opacity:1;} 100% {opacity:0;transform:translate(110vw,-340px) scale(.55);} }
@media(max-width:640px) { .android-preview { padding:20px 3px 8px; } .android-phone {padding:6px 15px;border-radius:22px;} .android-screen {border-radius:14px;} .phone-camera {left:5px;width:6px;height:6px;} .intro-flight {width:180px;height:180px;} .plane-model {transform:scale(.6) rotateX(52deg) rotateY(-16deg) rotateZ(35deg);transform-origin:0 0;width:300px;height:300px;} .launch-status-card {padding:22px;} }
@media(prefers-reduced-motion:reduce) { .intro-flight {display:none;} .hope-light {display:none;} }
/* Original transparent airplane and Android frame supplied by the owner. */
.intro-flight { width:clamp(260px,48vw,640px); height:auto; perspective:1200px; animation: supplied-plane-flight 5.2s cubic-bezier(.25,.4,.6,.8) both; }
.intro-airplane { width:100%; height:auto; display:block; filter:drop-shadow(0 20px 16px #0007); transform:rotateX(8deg) rotateY(-8deg); }
@keyframes supplied-plane-flight { 0% { opacity:0; transform:translate(110vw,75vh) scale(.45); } 12% {opacity:1;} 55% {opacity:1; transform:translate(35vw,28vh) scale(1);} 90% {opacity:1;} 100% {opacity:0;transform:translate(-70vw,-45vh) scale(.65);} }
.android-phone { padding:0; border:0; border-radius:0; background:transparent; aspect-ratio:1716/814; box-shadow:none; transform:none; isolation:isolate; }
.android-frame-overlay { position:absolute; left:50%; top:50%; width:47.4359%; max-width:none; height:auto; transform:translate(-50%,-50%) rotate(-90deg); z-index:3; pointer-events:none; }
.android-phone .android-screen { position:absolute; inset:4.4% 3.4% 4.4% 2.3%; border:0; border-radius:9% / 20%; }
.android-phone .android-screen img { width:100%; height:100%; object-fit:cover; }
.palestine-content { opacity:0; transform:translateY(28px); transition:opacity 1.5s ease,transform 1.5s ease; }
.solidarity-visible .palestine-content { opacity:1; transform:translateY(0); }
.solidarity-art, .solidarity-visible .solidarity-art { animation:none; }
body, .site-header, .mobile-bottom-bar, .floating-discord-btn, .btn-discord { transition: background-color 1.5s ease, border-color 1.5s ease, color 1.5s ease, box-shadow 1.5s ease; }
@media(max-width:640px) { .android-phone {padding:0; border-radius:0;} .intro-flight {width: min(80vw,390px);height:auto;} }
@media(prefers-reduced-motion:reduce) { .intro-flight {display:none;} .palestine-content {transform:none;transition:none;} }

.android-phone > .android-frame-overlay { width:47.4359%; max-width:none; height:auto; }


.toast-notification { max-width:calc(100vw - 28px); white-space:normal; text-align:center; }

.entry-pending { overflow:hidden; }
.site-entry { position:fixed; inset:0; z-index:1000; background:radial-gradient(ellipse at center,#34164c,#08070ef5 70%); display:flex; align-items:center; justify-content:center; padding:24px; backdrop-filter:blur(16px); transition:opacity .4s ease; }
.site-entry-card { width:min(460px,100%); text-align:center; padding:32px 26px; border:1px solid #bc8bf744; border-radius:24px; background:#181021dd; box-shadow:0 24px 60px #0007; }
.site-entry-card > img { width:105px; height:105px; object-fit:contain; margin-bottom:22px; }
.site-entry-card h2 { font-size:clamp(1.35rem,5vw,1.8rem); color:white; }
.site-entry-card > p { color:#b6abc7; line-height:1.9; font-size:.9rem; margin:18px 0; }
.site-entry-card .btn { width:100%; margin-top:12px; }
.site-entry-card #entryAudioStatus { font-size:.78rem; min-height:24px; margin-bottom:0; }
.site-entry.entry-dismissed { opacity:0; pointer-events:none; }
.intro-flight { animation-play-state:paused; opacity:0; }
.site-entered .intro-flight { animation-play-state:running; }
.hero-arabic-name { display:block; margin-top:18px; font-family:var(--font-arabic); font-size:clamp(.85rem,1.6vw,1.1rem); font-weight:600; color:#c5b5da; line-height:1.7; }
.game-guide-section { padding:60px 0; }
.game-guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.game-guide-item { border:1px solid #a855f72b; border-radius:14px; background:#16122690; overflow:hidden; }
.game-guide-item summary { padding:18px 22px; font-weight:700; cursor:pointer; color:#e9e3f2; line-height:1.7; }
.game-guide-item p { padding:0 22px 22px; color:#b3b5c6; line-height:2; font-size:.92rem; }
.game-guide-item[open] { border-color:#a855f766; }
.english-guide { margin-top:38px; display:grid; gap:14px; }
.english-guide > h2 { font-family:var(--font-gaming); font-size:1.8rem; }
.english-guide > p { color:var(--text-muted); margin-bottom:8px; }
.english-guide .game-guide-item p { line-height:1.85; }
@media(max-width:640px) { .game-guide-grid { grid-template-columns:1fr; } .game-guide-item summary { padding:16px; } .game-guide-item p { padding:0 16px 18px; } }
