/* 
   CUPIDFLIX */

.cf-body {
  margin: 0;
  background: #050814;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

/* HERO */
.cf-hero {
  position: relative;
  height: 55vh;
  min-height: 320px;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #ec4899 0, #1f2937 45%, #020617 100%);
  margin-bottom: 2.5rem;
}

.cf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), transparent 45%, rgba(0,0,0,0.6));
}

.cf-hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem 2rem;
  max-width: 520px;
}

.cf-logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: #f97373;
}

.cf-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.cf-hero-text {
  font-size: 0.98rem;
  color: #e5e7eb;
  max-width: 420px;
  margin-bottom: 1.5rem;
}

.cf-hero-actions {
  display: flex;
  gap: 0.75rem;
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: #f97373;
  color: #020617;
  box-shadow: 0 8px 20px rgba(248, 113, 113, 0.45);
}

.btn-primary:hover {
  background: #fb7185;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(248, 113, 113, 0.55);
}

.btn-outline {
  background: transparent;
  border: 1px solid #e5e7eb40;
  color: #e5e7eb;
}

.btn-outline:hover {
  background: #e5e7eb10;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
}

/* ROW TITLE */
.movies-section {
  margin-top: 1.5rem;
}

.row-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}


.cf-movie-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:1.6rem;
  margin-top:2rem;
}

.cf-movie-card{
  background: linear-gradient(145deg,#0b1220,#020617);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 14px 30px rgba(0,0,0,.55);
  transition:transform .2s ease, box-shadow .2s ease;
}

.cf-movie-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.75);
}

.cf-movie-poster{
  width:100%;
  aspect-ratio:2/3;
  object-fit:cover;
  display:block;
}

.cf-movie-info{
  padding:.9rem .85rem 1rem;
}

.cf-movie-title{
  font-size:.95rem;
  font-weight:700;
  margin:0 0 .35rem;
  color:#e5e7eb;
}

.cf-movie-meta{
  font-size:.75rem;
  color:#9ca3af;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.cf-movie-meta a{
  padding:.25rem .7rem;
  border-radius:999px;
  font-size:.72rem;
  text-decoration:none;
  color:#e5e7eb;
  border:1px solid #e5e7eb30;
}

.cf-movie-meta a:hover{
  background:#fb718520;
  border-color:#fb7185;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #0b1220, #020617);
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e5e7eb;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #fb7185;
}

/* FOOTER */
.site-footer {
  margin-top: 3rem;
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(to right, #020617, #0b1220);
}

/* 
   MOVIE DETAILS (CupidFlix style)
 */

.movie-details-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

.movie-details-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.movie-details-titlebar {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover {
  color: #fb7185;
}

.movie-details-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(236,72,153,0.18), rgba(2,6,23,1) 55%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
}

.movie-details-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.movie-poster {
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 30px rgba(0,0,0,0.5);
}

.movie-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.movie-meta {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.movie-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 900;
}

.movie-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e7eb;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.badge strong {
  color: #fb7185;
  font-weight: 800;
}

.section-block {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-block h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #e5e7eb;
  letter-spacing: 0.02em;
}

.section-block p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(to right, #020617, #0b1220);
}




@media (max-width: 900px) {
  .movie-details-inner {
    grid-template-columns: 1fr;
  }
  .movie-title {
    font-size: 1.65rem;
  }
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .cf-hero {
    height: auto;
    min-height: 0;
    border-radius: 0 0 18px 18px;
  }
  .cf-hero-content {
    padding: 1.8rem 1.4rem 1.6rem;
  }
  .cf-hero-title {
    font-size: 1.8rem;
  }
}

.cf-movie-grid { display: grid !important; }

