
/* نظام الألوان المحدث */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #f59e0b;
  --third:#f84d0e;
  --accent: #10b981;
  --console:#4e41f4;
  --console2:#f441d7;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glow: 0 0 50px rgba(99, 102, 241, 0.2);
    --arabic-font-primary: 'Almarai', 'Segoe UI', sans-serif;
    --arabic-font-secondary: 'Amiri', serif;
}


body{
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  color: var(--light);
  
font-weight: 700;
line-height: 1.8;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* البانر الرئيسي المحسن */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}  

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  z-index: -2;
}

.hero-particles .particle {
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-particles .particle:nth-child(1) {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-particles .particle:nth-child(2) {
  width: 12px;
  height: 12px;
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}

.hero-particles .particle:nth-child(3) {
  width: 6px;
  height: 6px;
  top: 80%;
  left: 20%;
  animation-delay: 2s;
}

.hero-particles .particle:nth-child(4) {
  width: 10px;
  height: 10px;
  top: 30%;
  left: 70%;
  animation-delay: 3s;
}

.hero-particles .particle:nth-child(5) {
  width: 8px;
  height: 8px;
  top: 70%;
  left: 60%;
  animation-delay: 4s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #0f087a, #5f16aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--gray-light);
  margin-bottom: 40px;
  line-height: 1.6;
}
.highlight {
  color: #720060;
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.hero-features {
  display: flex;
  gap: 24px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-light);
  font-size: 0.9rem;
}

.feature-icon {
  font-size: 1.1rem;
}

/* إحصائيات سريعة */
.stats-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--gray-light);
  font-size: 1rem;
}

/* أقسام عامة */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
}

.header-decoration {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.decoration-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.decoration-dot:nth-child(2) {
  background: var(--secondary);
}

.decoration-dot:nth-child(3) {
  background: var(--accent);
}

/* شبكة الألعاب المحسنة */
.games-section {
  background: rgba(255, 255, 255, 0.02);
}

.games-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 30px;
}

.search-container {
  flex: 1;
  max-width: 400px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 15px;
  color: var(--gray-light);
  font-size: 1.2rem;
}

.search-input {
  width: 100%;
  padding: 15px 50px 15px 45px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--light);
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.search-clear {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: var(--gray-light);
  cursor: pointer;
  padding: 5px;
}

.filter-container {
  display: flex;
  gap: 10px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  background: var(--card-bg);
  padding: 8px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.filter-tab {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--gray-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary);
  color: white;
}

/* بطاقات الألعاب */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  margin-bottom: 50px;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow);
}

.game-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 20px 0;
  position: absolute;
  z-index:10 ;
}

.game-badge {
  background: var(--primary);
  color: white;
  padding: 0px 5px 0px 5px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 10px;
}
.game-badge-program {
  background: var(--third);
  color: white;
  padding: 0px 5px 0px 5px;
  border-radius: 1px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 10px;
}

.game-badge-console-mobile {
  background: var(--console);
  color: white;
  padding: 0px 5px 0px 5px;
  border-radius: 1px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 10px;
}
.game-badge-console-pc {
  background: var(--console2);
  color: white;
  padding: 0px 5px 0px 5px;
  border-radius: 1px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 10px;
}

.game-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--gray-light);
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--light);
}

.game-image {
  position: relative;
  display: inline-block;
  height: 200px;
  overflow: hidden;
}

.game-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail {
  transform: scale(1.05);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.play-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.game-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--light);
}

.game-developer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.game-developer:hover {
  color: var(--light);
}

.game-description {
  color: var(--gray-light);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 1rem;
}

.star.filled {
  color: var(--secondary);
}

.rating-text {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.plays-section {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* الترقيم الصفحي */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  padding: 12px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.page-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--gray-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

.page-btn.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-numbers {
  display: flex;
  gap: 4px;
}

/* حالة عدم وجود نتائج */
.no-results {
  text-align: center;
  padding: 80px 20px;
}

.no-results-content {
  max-width: 500px;
  margin: 0 auto;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--light);
}

.no-results p {
  color: var(--gray-light);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* قسم الشروحات التعليمية */
.tutorials-section {
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.9) 0%, rgba(25, 25, 45, 0.9) 100%);
}

.learning-paths {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 60px;
}

.path-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.path-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.path-card.main-path {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.path-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.path-icon {
  font-size: 2.5rem;
}

.path-info {
  flex: 1;
}

.path-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--light);
}

.path-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.path-badge.beginner {
  background: var(--accent);
  color: white;
}

.path-badge.intermediate {
  background: var(--secondary);
  color: black;
}

.path-badge.advanced {
  background: var(--primary);
  color: white;
}

.path-description {
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.path-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-light);
  font-size: 0.9rem;
}

.path-progress {
  margin-bottom: 20px;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  background: var(--accent);
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.path-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.path-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.path-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.path-link:hover {
  color: var(--primary-dark);
}

.tutorials-cta {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  backdrop-filter: blur(10px);
}

.cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--light);
}

.cta-content p {
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.code-preview {
  background: #1a1b26;
  border: 1px solid #2a2b3a;
  border-radius: 12px;
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #2a2b3a;
  border-bottom: 1px solid #3a3b4a;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.code-dots span:nth-child(2) {
  background: #ffbd2e;
}

.code-dots span:nth-child(3) {
  background: #28ca42;
}

.code-title {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.code-content {
  padding: 20px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.code-line {
  margin-bottom: 8px;
}

.code-keyword {
  color: #ff79c6;
}

.code-variable {
  color: #50fa7b;
}

.code-string {
  color: #f1fa8c;
}

.blinking-cursor {
  animation: blink 1s infinite;
  color: var(--light);
}

/* قسم الخطط المستقبلية */
.roadmap-section {
  background: rgba(255, 255, 255, 0.02);
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.roadmap-phase {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
}

.roadmap-phase:hover {
  transform: translateX(10px);
  box-shadow: var(--glow);
}

.roadmap-phase.active {
  border-left: 4px solid var(--primary);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.phase-marker {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
}

.phase-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light);
  flex: 1;
}

.phase-badge {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent);
  color: white;
}

.phase-description {
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.phase-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phase-features li {
  padding: 8px 0;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phase-features li:last-child {
  border-bottom: none;
}

.phase-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-light);
}

.timeline-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.community-cta {
  display: flex;
  justify-content: center;
}

.cta-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  backdrop-filter: blur(10px);
  max-width: 600px;
  width: 100%;
}

.cta-icon {
  font-size: 3rem;
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--light);
}

.cta-content p {
  color: var(--gray-light);
  line-height: 1.6;
}

/* قسم المميزات */
.features-section {
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.9) 0%, rgba(25, 25, 45, 0.9) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--light);
}

.feature-content p {
  color: var(--gray-light);
  line-height: 1.6;
}

/* قسم النصائح */
.tips-section {
  background: rgba(255, 255, 255, 0.02);
}

.tips-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.tips-icon {
  font-size: 2.5rem;
}

.tips-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
}

.tips-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.tip-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.tip-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tip-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--light);
}

.tip-text p {
  color: var(--gray-light);
  line-height: 1.5;
  margin: 0;
}

/* الأنيميشن */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-20px) rotate(5deg); 
  }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* تأثيرات الظهور */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* التصميم المتجاوب */
@media (max-width: 1200px) {
  .hero-content {
    gap: 60px;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .games-controls {
    flex-direction: column;
  }
  
  .search-container {
    max-width: 100%;
  }
  
  .learning-paths {
    grid-template-columns: 1fr;
  }
  
  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tutorials-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .paths-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-card {
    flex-direction: column;
    text-align: center;
  }
  
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .page-numbers {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .game-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .game-actions {
    align-self: flex-end;
  }
}
/* قسم "كيف تبدأ" */
.getting-started-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--light);
}

.step-card p {
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 25px;
}

.step-actions {
  margin-top: auto;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #0d9488 100%);
  color: white;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #0d9488 0%, var(--accent) 100%);
  transform: translateY(-2px);
}

.step-completed {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.step-pending {
  color: var(--gray);
  font-size: 0.9rem;
}

/* مؤشر التقدم */
.progress-indicator {
  max-width: 500px;
  margin: 0 auto;
}

.progress-track {
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
}

.progress-label {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.progress-label.active {
  color: var(--light);
  font-weight: 600;
}

/* قسم الموقع المتطور */
.evolution-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.evolution-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 25px;
  padding: 50px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.evolution-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, #d97706 100%);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  animation: pulse 2s infinite;
}

.evolution-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
}

.evolution-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--light) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.evolution-text > p {
  color: var(--gray-light);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-indicator {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.feature-indicator.new {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
}

.feature-indicator.improved {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary);
}

.feature-indicator.upcoming {
  background: rgba(245, 158, 11, 0.2);
  color: var(--secondary);
}

.update-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  border-left: 4px solid var(--primary);
}

.update-version {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.update-version strong {
  color: var(--light);
  font-size: 1.1rem;
}

.update-date {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.update-highlights {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.highlight {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* قسم التقييم */
.evolution-actions {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rating-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.rating-cta .cta-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.rating-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--light);
}

.rating-cta p {
  color: var(--gray-light);
  margin-bottom: 20px;
}

.suggestions-link {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.suggestions-link p {
  color: var(--gray-light);
  margin-bottom: 15px;
}

/* أنيميشن النبض */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* التصميم المتجاوب */
@media (max-width: 968px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .evolution-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .update-version {
    flex-direction: column;
    gap: 10px;
  }
  
  .update-highlights {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .evolution-card {
    padding: 30px 20px;
  }
  
  .evolution-text h2 {
    font-size: 1.8rem;
  }
  
  .features-list {
    gap: 12px;
  }
  
  .feature-item {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .getting-started-section,
  .evolution-section {
    padding: 60px 0;
  }
  
  .step-card {
    padding: 30px 20px;
  }
  
  .evolution-badge {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 20px;
    justify-content: center;
  }
}
/* قسم الألعاب المميزة */
.featured-games-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.featured-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.featured-game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  
  
}

.featured-game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.featured-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--secondary) 0%, #dc2626 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

.featured-game-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.featured-game-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-game-card:hover .featured-game-thumbnail {
  transform: scale(1.1);
}

.featured-game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-game-card:hover .featured-game-overlay {
  opacity: 1;
}

.featured-game-content {
  padding: 20px;
}

.featured-game-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--light);
}

.featured-game-developer {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.featured-game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-plays {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* قسم أحدث الألعاب */
.latest-games-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.latest-games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.latest-games-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  border-radius: 25px;
}

.view-all-link:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

.latest-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  margin-bottom: 50px;
}

.latest-game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.latest-game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.latest-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

.latest-game-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.latest-game-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.latest-game-card:hover .latest-game-thumbnail {
  transform: scale(1.1);
}

.latest-game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.latest-game-card:hover .latest-game-overlay {
  opacity: 1;
}

.latest-game-content {
  padding: 20px;
}

.latest-game-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--light);
}

.latest-game-developer {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.latest-game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.latest-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.latest-date {
  color: var(--gray-light);
  font-size: 0.85rem;
}

/* قسم الألعاب الشائعة */
.popular-games-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.popular-games-header {
  text-align: center;
  margin-bottom: 50px;
}

.popular-games-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary) 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.popular-games-subtitle {
  color: var(--gray-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.popular-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.popular-game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.popular-game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
}

.popular-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--secondary) 0%, #dc2626 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

.popular-game-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.popular-game-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.popular-game-card:hover .popular-game-thumbnail {
  transform: scale(1.1);
}

.popular-game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popular-game-card:hover .popular-game-overlay {
  opacity: 1;
}

.popular-game-content {
  padding: 25px;
}

.popular-game-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--light);
}

.popular-game-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.popular-game-plays {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-weight: 600;
}

.popular-game-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light);
  font-weight: 600;
}

.popular-game-description {
  color: var(--gray-light);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* قسم الأعلى تقييماً */
.top-rated-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.top-rated-header {
  text-align: center;
  margin-bottom: 50px;
}

.top-rated-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.top-rated-subtitle {
  color: var(--gray-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.top-rated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.top-rated-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.top-rated-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.rating-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-rated-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.top-rated-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.top-rated-card:hover .top-rated-thumbnail {
  transform: scale(1.1);
}

.top-rated-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.top-rated-card:hover .top-rated-overlay {
  opacity: 1;
}

.top-rated-content {
  padding: 25px;
}

.top-rated-header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.top-rated-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light);
  margin: 0;
}

.top-rated-stars {
  display: flex;
  gap: 2px;
}

.top-rated-stars .star {
  font-size: 1rem;
  color: var(--secondary);
}

.top-rated-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-rated-developer {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.top-rated-reviews {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.top-rated-description {
  color: var(--gray-light);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* أزرار خاصة بالأقسام */
.play-now-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.play-now-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

/* حالات عدم وجود ألعاب */
.no-featured-games,
.no-popular-games,
.no-top-rated-games {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.no-games-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-featured-games h3,
.no-popular-games h3,
.no-top-rated-games h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--light);
}

.no-featured-games p,
.no-popular-games p,
.no-top-rated-games p {
  color: var(--gray-light);
  font-size: 1rem;
}

/* التصميم المتجاوب */
@media (max-width: 1200px) {
  .featured-games-grid,
  .latest-games-grid,
  .popular-games-grid{
    grid-template-columns: repeat(3, 1fr);
  }
  
}

@media (max-width: 768px) {
  .featured-games-section,
  .latest-games-section,
  .popular-games-section,
  .top-rated-section {
    padding: 60px 0;
  }
  
  .featured-games-grid,
  .latest-games-grid,
  .popular-games-grid,
  .top-rated-grid {
    grid-template-columns: 3fr;
  }
  
  .latest-games-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .latest-games-header h2 {
    font-size: 2rem;
  }
  
  .popular-games-header h2,
  .top-rated-header h2 {
    font-size: 2rem;
  }
  
  .featured-game-content,
  .latest-game-content,
  .popular-game-content,
  .top-rated-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .featured-games-section,
  .latest-games-section,
  .popular-games-section,
  .top-rated-section {
    padding: 40px 0;
  }
  
  .latest-games-header h2,
  .popular-games-header h2,
  .top-rated-header h2 {
    font-size: 1.8rem;
  }
  
  .featured-game-title,
  .latest-game-title,
  .popular-game-title,
  .top-rated-title {
    font-size: 1.1rem;
  }
  
  .play-now-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* تأثيرات إضافية */
.featured-game-card,
.latest-game-card,
.popular-game-card,
.top-rated-card {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تأخيرات للأنيميشن */
.featured-game-card:nth-child(1) { animation-delay: 0.1s; }
.featured-game-card:nth-child(2) { animation-delay: 0.2s; }
.featured-game-card:nth-child(3) { animation-delay: 0.3s; }
.featured-game-card:nth-child(4) { animation-delay: 0.4s; }
.featured-game-card:nth-child(5) { animation-delay: 0.5s; }
.featured-game-card:nth-child(6) { animation-delay: 0.6s; }

.latest-game-card:nth-child(1) { animation-delay: 0.1s; }
.latest-game-card:nth-child(2) { animation-delay: 0.2s; }
.latest-game-card:nth-child(3) { animation-delay: 0.3s; }
.latest-game-card:nth-child(4) { animation-delay: 0.4s; }
.latest-game-card:nth-child(5) { animation-delay: 0.5s; }
.latest-game-card:nth-child(6) { animation-delay: 0.6s; }