/* style-cine.css - thème Cinéma (bleu nuit) */
@import url('/style.css');

:root {
  --cine-bg-1: #081022;
  --cine-bg-2: #0b1622;
  --cine-accent: #4fc3f7;
  --white: #ffffff;
  --muted: #a0a8b0;
}

/* Body & container */
body.cinema {
  background: linear-gradient(180deg, var(--cine-bg-1), var(--cine-bg-2));
  color: var(--white);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  padding: 20px 16px 36px;
  max-width: 1280px;
  margin: auto;
}

/* Page title */
h1 {
  margin: 18px 0;
  font-size: 2em;
  text-align: center;
}

/* Grid of cards */
.category-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

/* Card */
.film-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.film-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2,10,20,0.6);
}

/* Card image */
.film-card .thumb {
  width: 100%;
  height: 250px;
  background: #08121a;
  border-radius: 8px;
  overflow: hidden;
}

.film-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card info */
.film-card .info {
  padding: 10px 6px;
  text-align: center;
}

.film-card .title {
  font-size: 16px;
  margin: 6px 0 4px;
  font-weight: 600;
  color: var(--white);
}

.film-card .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.film-card .desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Price */
.film-card .film-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--cine-accent);
  margin-top: 6px;
}

/* Actions */
.film-card .card-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.film-card .card-actions button,
.film-card .card-actions a {
  padding: 6px 10px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.film-card .card-actions .btn-know {
  background: var(--cine-accent);
  color: #012;
}

.film-card .card-actions .btn-share {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
}

.film-card .card-actions .btn-signal {
  background: #e50914;
  color: #fff;
}

/* Filters row */
.controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.controls select,
.controls input {
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--white);
}

/* Pagination */
#pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
}

#pagination button {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  background: transparent;
  color: var(--muted);
}

#pagination button.active {
  background: var(--cine-accent);
  color: #021;
  border: 0;
}

/* Modal / popup */
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #071523;
  padding: 16px;
  border-radius: 12px;
  z-index: 9999;
  width: min(560px, 94%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

.modal h3 {
  margin-top: 0;
}

.modal .row {
  margin-top: 10px;
}

/* Toast notification */
.cs-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #0b1622;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 99999;
  color: #fff;
}

/* Responsive */
@media (max-width: 720px) {
  .film-card .thumb { height: 180px; }
  .film-card .title { font-size: 15px; }
  .controls { flex-direction: column; align-items: stretch; }
}
