/* Zerak Movie - Custom Styles (Tailwind CDN) */

/* Base reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  margin: 0;
  background: #0b0d12;
  color: #e5e7eb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  overflow-x: hidden;
}

/* Custom glass card (pure CSS fallback) */
.glass-card {
  background: rgba(21, 24, 33, 0.8);
  border: 1px solid rgba(42, 47, 61, 0.8);
  border-radius: 0.75rem;
  backdrop-filter: blur(12px);
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6366f1;
  color: white;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  gap: 0.5rem;
}
.btn-primary:hover { background: #4f46e5; }

.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Secondary button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f2937;
  color: #e5e7eb;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  gap: 0.5rem;
}
.btn-secondary:hover { background: #374151; }

/* Movie card */
.movie-card {
  cursor: pointer;
  transition: transform 0.2s;
}
.movie-card:hover {
  transform: translateY(-2px);
}
.movie-card img {
  transition: transform 0.3s;
}
.movie-card:hover img {
  transform: scale(1.05);
}

/* RTL support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .text-left { text-align: left; }
[dir="rtl"] .text-right { text-align: right; }

/* Scrollbar hide */
::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease; }

/* Loading spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #374151;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

