/* Critical Fallback Styles for Slow Connections */
@font-face {
  font-family: 'Alfa Slab One';
  font-style: normal;
  font-weight: 400;
  src: local('Arial Black'), local('Arial Bold'), local('Helvetica Bold');
  font-display: swap;
}

/* Offline mode indicator */
.offline-mode::before {
  content: "⚡ Yavaş bağlantı - Önbellek kullanılıyor";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(45deg, #ff9800, #f57c00);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10000;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* No animations fallback for slow connections */
.no-animations * {
  animation: none !important;
  transition: none !important;
}

/* Reduced motion for slow connections */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Low quality images for slow connections */
.offline-mode img {
  filter: contrast(1.1) brightness(1.1);
  image-rendering: -webkit-optimize-contrast;
}

/* Simplified layout for mobile/slow connections */
@media (max-width: 768px) {
  .animate-left, .animate-center, .animate-right {
    opacity: 1 !important;
    transform: none !important;
  }
}
