/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #FFF0F5;  /* very light pink */
  color: #333;                /* dark gray for readability */
  line-height: 1.5;
  font-size: 16px;
   display: flex;
  flex-direction: column;}
  html, body {
  height: 100%;}

/* Header */
/* Headings */
h3, h4 {
  color: #C04060;                  /* strawberry red */
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.5em;
}
header {
  background-color: #FFC0CB;  /* classic pink */
  padding: 20px;
  text-align: center;
}

header h1 {
  color: #C04060;  /* deeper strawberry pink/red tone */
}

/* Navigation */
nav {
  background-color: #FFB6C1;  /* light pink */
  padding: 10px 0;
  text-align: center;
}

nav a {
  color: #006400;             /* dark green like strawberry leaves */
  text-decoration: none;
  padding: 0 15px;
  font-weight: bold;
}

nav a:hover {
  color: #228B22;             /* forest green on hover */
}

/* Main content area */
main {
  padding: 20px;
  max-width: 960px;
  margin: 20px auto;
  background-color: #FFFFFF;  /* white background for readability */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
}

/* Movie grid layout */
.movie-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Movie cards */
.movie-card {
  background-color: #FFF0F5;       /* pastel pink */
  border: 2px dashed #C04060;      /* deeper pink/red */
  border-radius: 12px;
  padding: 10px;
  width: 180px;
  text-align: center;
  text-decoration: none;
  color: #006400;                  /* leaf green */
  box-shadow: 3px 3px 10px rgba(192, 64, 96, 0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 5px 15px rgba(192, 64, 96, 0.5);
}

/* Cute box */
.cute-box {
  border: 2px dotted #FFB6C1;      /* light pink dotted border */
  background-color: #FFF0F5;
  padding: 15px;
  margin: 20px auto;
  width: 300px;
  box-shadow: 3px 3px 10px rgba(255, 105, 180, 0.5);
  border-radius: 10px;
  color: #800000;
}
section{ 
  
:root{
--bg-1: #fff6f8;
--bg-2: #ffeef2;
--card: #fff;
--pink: #f7a8c8;
--rose: #ff6f91;
--accent: #d94b68;
--shadow: 8px 12px 30px rgba(222,56,102,0.08);
--lace: rgba(255,255,255,0.6);
--maxw: 1100px;
}

/* cute heart cursor */
html, body { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">❤</text></svg>') 8 0, auto; }

body{
margin:0;
font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
color:#2a2230;
padding: 40px 20px;
display:flex;
justify-content:center;
}

.page {
width:100%;
max-width: var(--maxw);
background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.9));
border-radius: 18px;
padding: 36px;
box-shadow: 0 10px 30px rgba(0,0,0,0.06);
border: 1px solid rgba(255,255,255,0.7);
position:relative;
overflow:hidden;
}

.page::before{
content:"🍓";
position:absolute;
font-size:88px;
top:-18px;
right:18px;
opacity:0.12;
transform: rotate(-10deg);
}

header {
text-align: center;
margin-bottom: 18px;
}

h1{
font-family: "Playfair Display", serif;
font-size:44px;
margin:0;
color:#4a2030;
letter-spacing: -0.02em;
}

.sub {
margin-top:8px;
color:#6c4956;
font-size:14px;
opacity:0.95;
}

.intro {
margin: 18px auto;
max-width:820px;
background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,240,245,0.5));
border-radius:12px;
padding:12px 16px;
border:1px dashed var(--lace);
color:#5b3a45;
font-size:15px;
}

.divider {
display:flex;
align-items:center;
justify-content:center;
gap:12px;
margin:20px 0;
}
.divider .dot {
width:28px;height:28px;border-radius:50%;
background: linear-gradient(180deg,#ffb3c9,#ff86ab);
display:flex;align-items:center;justify-content:center;font-size:14px;
box-shadow: 0 6px 14px rgba(217,75,104,0.12);
}

.movie-grid{
display:grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap:20px;
margin-top:10px;
}

/* scrapbook cut-out style */
.movie-card{
background: var(--card);
border-radius:16px;
padding:16px;
box-shadow: var(--shadow), -4px 4px 0px #ffb3c9, 4px -4px 0px #ff86ab;
position:relative;
transition: transform 250ms cubic-bezier(.2,.9,.3,1), box-shadow 250ms;
border: 1px dashed var(--accent);
}

.movie-card:hover{
transform: translateY(-8px) rotate(-0.4deg);
box-shadow: 0 18px 40px rgba(217,75,104,0.12), -6px 6px 0 #ffb3c9, 6px -6px 0 #ff86ab;
}

/* poster image */
.poster {
width:100%;
aspect-ratio: 2/3;
object-fit: cover;
border-radius:12px;
display:block;
margin-bottom:10px;
}

/* bow accent on hover */
.movie-card::before{
content:"🎀";
position:absolute;
top:-10px;
right:-10px;
font-size:24px;
opacity:0;
transition: opacity 220ms, transform 220ms;
}
.movie-card:hover::before{
opacity:1;
transform: rotate(-15deg) scale(1.1);
}

.movie-title{
font-family: "Playfair Display", serif;
font-size:18px;
margin:0 0 6px 0;
color:#3d1f2a;
}

.meta {
font-size:12px;
color:#8a5e6b;
margin-bottom:8px;
}

.blurb{
font-size:14px;
color:#4a2f36;
line-height:1.4;
min-height:56px;
}

/* sparkle hover accent */
.movie-card::after{
content:"";
position:absolute;
left:8px; top:8px;
width:14px; height:14px;
background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.4) 30%, transparent 60%);
border-radius:50%;
opacity:0;
transform:scale(0.6) translateZ(0);
transition:opacity 260ms, transform 260ms;
filter: blur(4px);
}
.movie-card:hover::after{ opacity:1; transform:scale(1.1); left:10px; top:10px; }

.badge {
position:absolute;
top:12px;
left:12px;
background: linear-gradient(180deg,#fff,#ffeaf0);
border-radius:8px;
padding:4px 8px;
font-size:12px;
color:#b33b5b;
box-shadow: 0 6px 14px rgba(217,75,104,0.06);
border: 1px solid rgba(255,255,255,0.6);
}

@media (max-width:520px){
h1{ font-size:30px; }
.poster { aspect-ratio: 3/4; }
}

footer{
text-align:center;
margin-top:20px;
color:#8a6a78;
font-size:13px;
}
a.trailer {
display:inline-block;
margin-top:8px;
padding:8px 12px;
border-radius:999px;
background:linear-gradient(180deg,#ffd1e3,#ff9fc5);
color:#45162a;
text-decoration:none;
font-weight:600;
box-shadow: 0 8px 22px rgba(217,75,104,0.08);
}

/* Footer */
footer {
  background-color: #FFC0CB;
  color: #c04060;
  text-align: center;
  padding: 15px;
  position: relative;
  bottom: 0;
  width: 100%;
  position: static; /* or remove position entirely */
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .movie-card {
    width: 100%;
    margin-bottom: 20px;
  }

  nav a {
    display: block;
    margin: 8px 0;
  }
}
