
:root {
  --pink: #ff2d93;
  --pink-strong: #ff0f84;
  --pink-soft: #ffd2e6;
  --ink: #74264d;
  --deep: #12263f;
  --white: rgba(255, 255, 255, 0.86);
  --white-strong: rgba(255, 255, 255, 0.95);
  --shadow: 0 18px 48px rgba(186, 54, 120, 0.18);
  --radius: 28px;
  --border: 2px solid rgba(18, 38, 63, 0.9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 243, 248, 0.58), rgba(255, 243, 248, 0.58)),
    url('assets/bg-sparkles.png') center / cover fixed no-repeat;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.45), transparent 18%),
    radial-gradient(circle at 90% 12%, rgba(255,255,255,0.35), transparent 16%),
    radial-gradient(circle at 30% 90%, rgba(255,255,255,0.28), transparent 18%);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 36px 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px min(32px, 4vw);
  backdrop-filter: blur(12px);
  background: rgba(255, 244, 248, 0.68);
  border-bottom: 1px solid rgba(255, 45, 147, 0.14);
}

.brand {
  font-weight: 800;
  color: var(--pink-strong);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.glass-card,
.panel,
.photo-card,
.weeks-toolbar,
.modal-dialog,
.site-footer {
  background: var(--white);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding-top: 28px;
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--pink-strong);
  margin-bottom: 14px;
}

h1, h2 {
  margin: 0;
  color: var(--pink);
  font-family: 'Playfair Display', Georgia, serif;
}

h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.8rem);
  line-height: 0.96;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 8px;
}

.lead, .section-heading p {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 18px;
  border: var(--border);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.filter-btn:hover,
.week-card:hover,
.modal-close:hover {
  transform: translateY(-2px);
}

.btn-primary,
.filter-btn.active {
  color: white;
  background: linear-gradient(180deg, #ff40a0, #ff1a89);
}

.btn-secondary,
.filter-btn {
  background: rgba(255,255,255,0.72);
  color: var(--deep);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.weeks-summary span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,45,147,0.18);
  font-weight: 700;
}

.hero-visuals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.photo-card {
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.8);
}

.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.tilt-left { transform: rotate(-3deg); }
.tilt-right { transform: rotate(3deg) translateY(24px); }

.meta-card {
  grid-column: span 2;
  padding: 16px;
}

.meta-card img {
  width: 100%;
  border-radius: 20px;
}

.section-heading {
  margin-bottom: 22px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.panel {
  padding: 24px;
}

.panel-large {
  grid-row: span 2;
}

.panel-header h3,
.panel h4,
.modal-title {
  margin: 0;
  font-size: 1.35rem;
  color: var(--pink-strong);
}

.panel-header p,
.modal-subtitle {
  margin: 8px 0 0;
  color: rgba(116, 38, 77, 0.82);
}

.spaced-top { margin-top: 18px; }
.mini-grid { display: grid; gap: 18px; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(18,38,63,0.18);
  background: var(--white-strong);
}

.data-table th {
  background: linear-gradient(180deg, #ff3aa0, #ff1c8d);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.data-table td {
  padding: 12px 14px;
  border-top: 1px solid rgba(18,38,63,0.12);
  vertical-align: top;
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-item {
  display: block;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,45,147,0.18);
  text-decoration: none;
  background: rgba(255,255,255,0.68);
}

.resource-item strong {
  display: block;
  color: var(--pink-strong);
  margin-bottom: 4px;
}

.weeks-toolbar {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: end;
  padding: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.toolbar-search {
  display: grid;
  gap: 8px;
  min-width: min(420px, 100%);
  flex: 1;
}

.toolbar-search label {
  font-weight: 700;
}

.toolbar-search input {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(18,38,63,0.22);
  padding: 0 16px;
  font: inherit;
  background: rgba(255,255,255,0.9);
}

.toolbar-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn,
.week-card,
.modal-close {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.filter-btn {
  min-height: 48px;
  border-radius: 16px;
  border: var(--border);
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
}

.weeks-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.week-card {
  border: var(--border);
  border-radius: 22px;
  padding: 18px;
  min-height: 170px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,230,241,0.92));
  box-shadow: var(--shadow);
  text-align: left;
}

.week-card h3 {
  margin: 0 0 10px;
  color: var(--pink-strong);
  font-size: 1.24rem;
}

.week-card p {
  margin: 0 0 12px;
  line-height: 1.55;
}

.week-pill {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,45,147,0.12);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pink-strong);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 50;
}

.modal.open { display: grid; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 13, 31, 0.45);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 24px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: var(--border);
  background: white;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.day-card,
.note-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(18,38,63,0.14);
}

.day-card h4,
.note-card h4 {
  margin: 0 0 10px;
  color: var(--pink-strong);
}

.day-card ul,
.note-card ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
}

.site-footer {
  margin: 24px auto 36px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .hero,
  .guide-layout,
  .weeks-grid,
  .modal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero { min-height: auto; }
}

@media (max-width: 760px) {
  .hero,
  .guide-layout,
  .hero-visuals,
  .weeks-grid,
  .modal-grid,
  .two-up,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .main-nav { display: none; }
  .hero-copy,
  .panel,
  .modal-dialog { padding: 22px; }
  .weeks-grid { gap: 14px; }
  .week-card { min-height: 0; }
  .site-footer { justify-content: start; }
  .tilt-left,
  .tilt-right { transform: none; }
}


.footer-block {
  min-width: 0;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,45,147,0.12);
  color: var(--pink-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link {
  width: fit-content;
  color: var(--pink-strong);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,45,147,0.3);
}

.footer-link:hover {
  border-bottom-color: var(--pink-strong);
}

.footer-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .footer-actions {
    justify-content: flex-start;
  }
}
