:root {
  --pink: #e11d74;
  --pink-light: #fdf2f8;
  --pink-glow: rgba(225, 29, 116, 0.15);
  --dark: #0f0f0f;
  --gray-900: #18181b;
  --gray-700: #3f3f46;
  --gray-500: #71717a;
  --gray-300: #d4d4d8;
  --gray-100: #f4f4f5;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #e11d74 0%, #be185d 50%, #9d174d 100%);
  --gradient-soft: linear-gradient(135deg, rgba(225,29,116,0.1) 0%, rgba(190,24,93,0.05) 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.08);
  --shadow-pink: 0 10px 40px -10px rgba(225, 29, 116, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--gray-100);
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container { width: min(92%, 1320px); margin: 0 auto; }

/* Header */
header {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo img { height: 44px; }
nav { display: flex; align-items: center; gap: 0.5rem; }
nav a {
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}
nav a:hover, nav a.active { background: var(--pink-light); color: var(--pink); }
nav a.nav-cta {
  background: var(--gradient);
  color: white;
  font-weight: 600;
  margin-left: 0.5rem;
}
nav a.nav-cta:hover { box-shadow: var(--shadow-pink); transform: translateY(-1px); color: white; }
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--gray-700);
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 280px;
  background: linear-gradient(135deg, rgba(15,15,15,0.7) 0%, rgba(15,15,15,0.85) 100%),
              url('../../images/background.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(225,29,116,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { max-width: 680px; z-index: 2; padding: 3rem 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-badge i { color: var(--pink); }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.1rem; opacity: 0.85; max-width: 500px; line-height: 1.7; }

/* Buttons */
.btn {
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--gradient); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-pink); transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline {
  background: white;
  color: var(--pink);
  border: 1px solid rgba(225,29,116,0.25);
}
.btn-outline:hover { background: var(--pink-light); }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Main */
main.page {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  flex: 1;
}
main.page-single {
  padding: 4rem 0;
  display: block;
  flex: 1;
}
main.page-full {
  padding: 3rem 0 4rem;
  flex: 1;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.section-header a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.section-header a:hover { gap: 0.6rem; }

/* Story cards (zonder foto, met categorie) */
.story-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(0,0,0,0.04);
  width: 100%;
}
.story-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(225,29,116,0.18);
}
.story-category {
  display: inline-flex;
  align-items: center;
  background: var(--pink);
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 0.6rem;
  opacity: 1;
  visibility: visible;
}
.story-category:hover { background: #be185d; color: #fff; }
.story-content { padding: 1.15rem 1.35rem 1.2rem; }
.story-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  line-height: 1.4;
  color: var(--gray-900);
}
.story-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.story-card-bottom .story-meta { margin-bottom: 0; }
.category-banner {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  background: var(--gray-100);
}
.category-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  vertical-align: top;
}
.story-title-link { color: inherit; text-decoration: none; }
.story-title-link:hover { color: var(--pink); }
.story-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.rating { display: flex; align-items: center; gap: 0.25rem; }
.rating i { color: #fbbf24; font-size: 0.85rem; }
.rating span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-left: 0.25rem;
}
.read-count {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.read-btn:hover { gap: 0.75rem; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.widget {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.widget-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.widget-header i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-light);
  color: var(--pink);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
.widget-header h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.widget ul { list-style: none; }
.widget ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.2s ease;
}
.widget ul li:last-child a { border-bottom: none; padding-bottom: 0; }
.widget ul li a:hover { color: var(--pink); padding-left: 0.5rem; }
.widget ul li a span {
  background: var(--gray-100);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
}
.widget-cta { background: var(--gradient-soft); border: 1px solid rgba(225,29,116,0.1); }
.widget-cta p { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 1.25rem; line-height: 1.6; }
.widget-cta .btn { width: 100%; }

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--gray-500);
  padding: 3rem 0;
  margin-top: auto;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links { display: flex; gap: 2rem; }
footer a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
footer a:hover { color: var(--pink); }
.footer-copy { font-size: 0.9rem; }

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.age-gate-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.age-gate-card img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}
.age-gate-card h2 {
  color: var(--gray-900);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.age-gate-card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Story detail */
.story-detail {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.story-detail h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gray-900);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.story-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-500);
}
.story-detail-meta a { color: var(--pink); text-decoration: none; font-weight: 600; }
.story-detail-meta i { margin-right: 0.35rem; color: var(--pink); }
.story-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-700);
}
.story-body p { margin-bottom: 1rem; }
.rating-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}
.rating-box h3 {
  font-size: 1.05rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.star-picker { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }
.star-picker button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.7rem;
  color: #d4d4d8;
  transition: color 0.12s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0.15rem;
  line-height: 1;
}
.star-picker button i { display: inline-block; }
.star-picker button.active { color: #fbbf24; }
.star-picker.is-hovering button.active {
  color: #d4d4d8;
  transform: none;
}
.star-picker button.preview {
  color: #fbbf24 !important;
  transform: scale(1.28);
}
.star-picker button.preview.just-in i {
  animation: star-pop 0.34s ease;
}
.star-picker button.is-saving {
  transform: scale(1.18);
}
@keyframes star-pop {
  0%   { transform: scale(0.65) rotate(-16deg); }
  55%  { transform: scale(1.22) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.rating-msg { font-size: 0.9rem; color: var(--gray-500); min-height: 1.4em; }

/* Forms */
.form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.form-card h2 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.form-card .form-intro {
  color: var(--gray-500);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-900);
  margin-bottom: 0.45rem;
}
.form-group .hint {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.8rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-700);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-glow);
}
textarea.form-control { min-height: 200px; resize: vertical; }
.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.form-check input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--pink); }
.terms-box {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  color: var(--gray-700);
}
.terms-box ol { margin: 0.5rem 0 0 1.1rem; }
.terms-box li { margin-bottom: 0.25rem; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: var(--pink-light); color: #9d174d; }

.content-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  line-height: 1.75;
}
.content-card h1, .content-card h2 {
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.content-card p { margin-bottom: 1rem; }
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-500);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px dashed var(--gray-300);
}
.empty-state i { font-size: 2rem; color: var(--pink); margin-bottom: 1rem; display: block; }

.info-blurb {
  background: var(--gradient-soft);
  border: 1px solid rgba(225,29,116,0.1);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
  main.page { grid-template-columns: 1fr; }
  .sidebar {
    order: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0.25rem;
  }
  nav.show { display: flex; }
  nav a { width: 100%; padding: 1rem 1.2rem; }
  nav a.nav-cta { margin: 0.5rem 0 0 0; }
  .hero-content { padding: 2rem 0; }
  .footer-content { flex-direction: column; text-align: center; }
  .story-detail, .form-card, .content-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .sidebar { grid-template-columns: 1fr; }
}
