/* mobile-optimized.css */
@media (max-width: 768px) {

@font-face {
  font-family: 'Lalezar';
  src: url('./fonts/Lalezar.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Mikhak';
  src: url('./fonts/Mikhak.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
    
  /* بهبود بکگراند برای موبایل */
  body {
    font-family: 'Lalezar', 'Mikhak', sans-serif !important;
    font-style: bold;
    background: linear-gradient(135deg, #d2ea66, #a25c4b) !important;
  }
  
  body.dark {
    background: linear-gradient(135deg, #1a1f36, #15182e) !important;
  }    
    
  /* تغییرات اصلی برای موبایل */
  .menu-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .category-card {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
  }
  
  .current-letter {
    font-size: 2.5rem !important;
    padding: 12px 20px !important;
  }
  
  .btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px 15px !important;
    font-size: 0.9rem !important;
  }
  
  .score-option {
    width: 55px !important;
    height: 55px !important;
    font-size: 1.2rem !important;
  }
  
  .game-controls {
    margin-bottom: 15px;
  }
  

  
  /* بهبود بکگراند دکمه‌های فعال */
  .btn.active {
    background: rgba(255, 107, 107, 0.2) !important;
    border-color: rgba(255, 107, 107, 0.4) !important;
  }
  
  body.dark .btn.active {
    background: rgba(255, 107, 107, 0.15) !important;
    border-color: rgba(255, 107, 107, 0.3) !important;
  }
}

/* بهبود کلی برای همه دستگاه‌ها */
:root {
  --accent-color: #ff6b6b;
  --secondary-color: #4ecdc4;
}

body {
  transition: background 0.3s ease;
}

/* بهبود بکگراند بخش‌های کلیدی */
.spectator-answers {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark .spectator-answers {
  background: rgba(26, 31, 54, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}