:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg-soft: #f7edf6;
  --bg-card: rgba(255, 255, 255, 0.85);
  --accent: #d77ea5;
  --accent-dark: #3d2b6d;
  --text-dark: #1a132a;
  --muted: #5a4a68;
  --border: rgba(64, 44, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(255, 222, 233, 0.92), transparent 40%), linear-gradient(180deg, #f8e6ee 0%, #eef2ff 100%);
  color: var(--text-dark);
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid rgba(116, 84, 123, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-dark);
}

.hero-section {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8c4d8 0%, #6a58b5 100%);
  color: white;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 1rem;
  opacity: 0.88;
  font-size: 0.85rem;
}

.hero-section h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: #ffe0f1;
  color: #5a2a67;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 35px rgba(106, 88, 181, 0.16);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.hero-calendar {
  display: grid;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  padding: 1rem 1.25rem;
  max-width: 320px;
  color: white;
  text-align: left;
}

.hero-calendar label {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero-calendar input[type="date"] {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #3d2b6d;
}

.hero-calendar input[type="date"]:focus {
  outline: 2px solid rgba(255, 224, 241, 0.95);
  outline-offset: 2px;
}

.date-prompt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.date-prompt span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.date-prompt .heart {
  display: inline-block;
  color: #ff5c8a;
  animation: beat 0.9s ease infinite alternate;
}

.heart-burst {
  position: relative;
  min-height: 70px;
  overflow: visible;
}

.heart-burst .burst-heart {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scale(0.4);
  opacity: 0;
  font-size: 1.2rem;
}

.heart-burst .burst-heart:nth-child(1) { --dx: -28px; --dy: -82px; }
.heart-burst .burst-heart:nth-child(2) { --dx: 22px; --dy: -108px; }
.heart-burst .burst-heart:nth-child(3) { --dx: -8px; --dy: -120px; }
.heart-burst .burst-heart:nth-child(4) { --dx: 32px; --dy: -70px; }
.heart-burst .burst-heart:nth-child(5) { --dx: -40px; --dy: -96px; }

.heart-burst .burst-heart {
  animation: popBalloon 1.35s ease forwards;
}

.heart-burst .burst-heart:nth-child(1) { animation-delay: 0.05s; }
.heart-burst .burst-heart:nth-child(2) { animation-delay: 0.1s; }
.heart-burst .burst-heart:nth-child(3) { animation-delay: 0.16s; }
.heart-burst .burst-heart:nth-child(4) { animation-delay: 0.22s; }
.heart-burst .burst-heart:nth-child(5) { animation-delay: 0.28s; }

.screenshot-popup {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1rem;
  color: #3d2b6d;
  box-shadow: 0 18px 36px rgba(66, 23, 78, 0.12);
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 58px;
}

.screenshot-popup.visible {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-popup strong {
  color: #d63d75;
}

@keyframes popBalloon {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.45);
  }
  25% {
    opacity: 1;
    transform: translateX(-50%) translateY(-16px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateX(calc(-50% + var(--dx))) translateY(var(--dy)) scale(1.5);
  }
}

@keyframes beat {
  from { transform: scale(1); }
  to { transform: scale(1.18); }
}
.section {
  padding: 5rem 0;
}

.about-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.section-text {
  max-width: 560px;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.about-section h2,
.corner-section h2,
.gallery-section h2,
.future-section h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.05;
}

.about-section p,
.section-headline p,
.journal-card p,
.masonry-card p,
.closing-note {
  color: var(--muted);
  line-height: 1.8;
}

.placeholder-image {
  min-height: 340px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(225, 192, 226, 0.8)), url('') no-repeat center/cover;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 22px 60px rgba(89, 45, 100, 0.08);
}

.placeholder-image .image-text {
  color: var(--accent-dark);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.01em;
  background-image: url('/Cradle-Moon-Lakeside-Game-Lodge-7.jpg');
}

.corner-section .journal-cards {
  display: grid;
  gap: 1.5rem;
}

.journal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(87, 52, 106, 0.08);
}

.journal-card p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.journal-card span {
  color: var(--accent-dark);
  display: block;
  font-weight: 600;
}

.gallery-section .section-headline {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  min-height: 200px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(251, 236, 244, 0.95), rgba(195, 165, 226, 0.9));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-weight: 700;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 40%, rgba(74, 45, 93, 0.12) 100%);
}

.gallery-item span {
  position: relative;
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.future-section .masonry-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
}

.masonry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: 0 22px 44px rgba(104, 68, 113, 0.07);
}

.masonry-card-large {
  grid-column: span 7;
}

.masonry-card-small {
  grid-column: span 5;
}

.masonry-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
}

.site-footer {
  padding: 3rem 0 4rem;
  text-align: center;
}

.closing-note {
  font-family: 'Great Vibes', cursive;
  font-size: 1.85rem;
  margin: 0 0 1.75rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-dark);
}

@media (max-width: 900px) {
  .about-section,
  .future-section .masonry-grid {
    grid-template-columns: 1fr;
  }
  .masonry-card-large,
  .masonry-card-small {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .nav-links {
    justify-content: center;
  }
  .hero-section {
    padding: 3.5rem 0;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .journal-card,
  .placeholder-image {
    border-radius: 24px;
  }
  .section {
    padding: 3rem 0;
  }
  .placeholder-image {
    min-height: 260px;
    padding: 1.5rem;
  }
  .btn-primary {
    width: fit-content;
    padding: 1rem 1.75rem;
  }
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 0.75rem 0;
  }
  .brand {
    font-size: 1rem;
  }
  .nav-links {
    gap: 0.75rem;
  }
  .hero-eyebrow {
    font-size: 0.8rem;
  }
  .hero-section h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .section-label,
  .about-section p,
  .section-headline p,
  .journal-card p,
  .masonry-card p,
  .closing-note {
    font-size: 0.95rem;
  }
  .masonry-card {
    padding: 1.5rem;
  }
  .gallery-item {
    min-height: 180px;
  }
  .closing-note {
    font-size: 1.55rem;
  }
}
