:root {
  --primary: #6A0DAD; /* Deep Purple */
  --accent: #C8A2C8; /* Lilac */
  --bg-color: #FDFBFE; /* Very light purple tint */
  --text-color: #333;
  --header-bg: rgba(255, 255, 255, 0.95);
  --shadow: 0 4px 20px rgba(106, 13, 173, 0.1);
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, .site-title {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}

a { color: var(--primary); text-decoration: none; }

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  padding: 20px 0;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: padding 0.3s;
}

header.shrink {
  padding: 10px 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
}

nav a {
  margin-left: 20px;
  color: var(--text-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--accent);
}

/* Grids */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.genre-tag {
  background: var(--accent);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-right: 5px;
}

/* Review Page */
.review-header {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.review-image img {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .review-header { flex-direction: column; }
  .grid-container { grid-template-columns: 1fr; }
}

/* Footer */
footer {
  background: #f0ebf5;
  padding: 50px 0 20px;
  margin-top: 60px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  padding: 20px;
  flex: 1;
  min-width: 250px;
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  opacity: 0.8;
}

#back-to-top:hover { opacity: 1; }