:root {
  --kraft-bg-base: #DFCFB9;
  --kraft-card-parchment: #F9F4EA;
  --kraft-card-warm-cream: #F4ECDC;
  --kraft-board-darker: #C2AA8A;
  --kraft-ink-charcoal: #1E1B18;
  --kraft-ink-soft: #38332D;
  --kraft-washi-tape: rgba(228, 196, 137, 0.85);
  --kraft-torn-banner-bg: #23322B;
  --font-marker: 'Permanent Marker', cursive;
  --font-hand: 'Caveat', cursive;
  --font-pen: 'Nanum Pen Script', cursive;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--kraft-bg-base);
  background-image: radial-gradient(#C2AA8A 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--kraft-ink-charcoal);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
.scrapbook-header {
  background: rgba(223, 207, 185, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 2px dashed rgba(60, 45, 30, 0.2);
  padding: 16px 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.scrapbook-logo {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
  color: #382E24;
}

.scrapbook-nav {
  display: flex;
  gap: 20px;
}

.scrapbook-nav a {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 600;
  color: #554433;
  text-decoration: none;
  transition: color 0.2s;
}

.scrapbook-nav a:hover {
  color: #1E1B18;
}

/* Canvas Area */
.scrapbook-canvas {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* Pinboard Grid Layout */
.pinboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .pinboard-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.scrapbook-item {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scrapbook-item:hover {
  transform: translateY(-4px) scale(1.02);
  z-index: 20;
}

/* Washi Tape Strips */
.washi-tape {
  position: absolute;
  height: 26px;
  background: var(--kraft-washi-tape);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(2px);
  z-index: 10;
}

.tape-top-left {
  top: -12px;
  left: 20px;
  width: 80px;
  transform: rotate(-6deg);
}

.tape-top-center {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 90px;
}

.tape-top-right {
  top: -10px;
  right: 25px;
  width: 85px;
  transform: rotate(5deg);
}

.tape-corner {
  top: -10px;
  right: -10px;
  width: 60px;
  transform: rotate(45deg);
}

/* 1. Postcard Hero */
@media (min-width: 768px) {
  .postcard-hero {
    grid-column: span 6;
  }
}

.postcard-hero {
  background: var(--kraft-card-parchment);
  border-radius: 4px;
  padding: 36px 30px;
  box-shadow: 0 10px 25px rgba(50, 35, 20, 0.15);
  transform: rotate(-2deg);
}

.doodle-stars {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: #B45309;
  text-align: right;
  margin-bottom: 8px;
}

.hero-hand-title {
  font-family: var(--font-marker);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--kraft-ink-charcoal);
  margin-bottom: 16px;
}

.hero-hand-title span {
  color: #B45309;
}

.hero-hand-sub {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  line-height: 1.35;
  color: #5C4A38;
}

/* 2. Polaroid Pin */
@media (min-width: 768px) {
  .polaroid-pin {
    grid-column: span 6;
  }
}

.polaroid-pin {
  background: #FFF;
  border-radius: 2px;
  padding: 12px 12px 42px 12px;
  box-shadow: 0 12px 30px rgba(50, 35, 20, 0.2);
  transform: rotate(3deg);
  max-width: 360px;
  margin: 0 auto;
}

.botanical-twig {
  position: absolute;
  top: -16px;
  right: -10px;
  font-size: 2.2rem;
  z-index: 15;
  transform: rotate(20deg);
}

.polaroid-photo {
  width: 100%;
  aspect-ratio: 1;
  background-size: cover;
  border-radius: 1px;
}

.silhouette-sunset {
  background-color: #3B2D20;
  background-image: radial-gradient(circle at 50% 70%, #E29E4D 0%, #7C451E 50%, #20150F 100%);
}

.polaroid-caption {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: #2D231A;
}

/* 3. Torn Notepad Letter */
@media (min-width: 768px) {
  .torn-notepad-letter {
    grid-column: span 8;
  }
}

.torn-notepad-letter {
  background: #FFFDF8;
  padding: 40px 32px;
  box-shadow: 0 10px 28px rgba(50, 35, 20, 0.16);
  border-radius: 2px;
  transform: rotate(-0.8deg);
}

.letter-salute {
  font-family: var(--font-pen);
  font-size: 2.2rem;
  color: #1E1B18;
  margin-bottom: 16px;
}

.letter-body {
  font-family: var(--font-pen);
  font-size: 1.7rem;
  line-height: 1.5;
  color: #38322C;
}

.letter-body p {
  margin-bottom: 14px;
}

.letter-sign {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: #78350F;
  margin-top: 20px;
  border-top: 1px dashed #D6C2A5;
  padding-top: 16px;
}

/* 4. Doodle Sticky Note */
@media (min-width: 768px) {
  .doodle-sticky {
    grid-column: span 4;
  }
}

.doodle-sticky {
  background: var(--kraft-card-warm-cream);
  padding: 30px 24px;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(50, 35, 20, 0.15);
  transform: rotate(4deg);
  text-align: center;
}

.pushpin-icon {
  font-size: 1.8rem;
  margin-top: -15px;
  margin-bottom: 10px;
}

.doodle-list {
  list-style: none;
  font-family: var(--font-marker);
  font-size: 1.2rem;
  color: #2A241D;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doodle-arrow {
  font-size: 2rem;
  margin-top: 10px;
  color: #B45309;
}

/* 5. Cake Section */
@media (min-width: 768px) {
  .cake-card-section {
    grid-column: span 6;
  }
}

.cake-card-section {
  background: #FFF;
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(50, 35, 20, 0.15);
  text-align: center;
  transform: rotate(1deg);
}

.cake-vintage-box {
  cursor: pointer;
  margin-bottom: 18px;
}

.candles-flames-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: -4px;
}

.candles-flames-row .flame {
  font-size: 1.4rem;
  animation: candleBurn 0.5s infinite alternate;
}

.candles-flames-row .flame.out {
  display: none;
}

@keyframes candleBurn {
  0% { transform: scale(1); }
  100% { transform: scale(1.15) rotate(4deg); }
}

.layer-cake-top {
  width: 150px;
  height: 36px;
  background: #3B2113;
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
}

.layer-cake-base {
  width: 190px;
  height: 48px;
  background: #27140A;
  margin: -2px auto 0;
  border-radius: 0 0 8px 8px;
}

.wooden-platter {
  width: 220px;
  height: 12px;
  background: #854D0E;
  margin: 4px auto 0;
  border-radius: 999px;
}

.btn-blow-vintage {
  background: #B45309;
  color: #FFF;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.3);
}

/* 6. Sweeter Note */
@media (min-width: 768px) {
  .sweeter-note {
    grid-column: span 6;
  }
}

.sweeter-note {
  background: var(--kraft-card-parchment);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(50, 35, 20, 0.15);
  transform: rotate(-3deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sweeter-text {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: #2D241C;
  line-height: 1.4;
}

/* Torn Dark Banner */
.torn-dark-banner {
  background: var(--kraft-torn-banner-bg);
  color: #F0EBE1;
  padding: 48px 30px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin-bottom: 50px;
  clip-path: polygon(
    0% 3%, 3% 0%, 6% 4%, 10% 1%, 15% 3%, 20% 0%, 25% 4%, 30% 1%, 35% 3%, 40% 0%, 
    45% 4%, 50% 1%, 55% 3%, 60% 0%, 65% 4%, 70% 1%, 75% 3%, 80% 0%, 85% 4%, 90% 1%, 95% 3%, 100% 0%,
    100% 97%, 96% 100%, 92% 96%, 88% 99%, 82% 96%, 77% 100%, 72% 96%, 66% 99%, 60% 96%, 55% 100%,
    50% 96%, 44% 99%, 38% 96%, 33% 100%, 28% 96%, 22% 99%, 17% 96%, 12% 100%, 7% 96%, 3% 99%, 0% 97%
  );
}

.banner-headline {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.banner-heart {
  font-size: 2rem;
  color: #F59E0B;
  margin-bottom: 24px;
}

.btn-whatsapp-kraft {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: #FFF;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Bottom Tactile Bar */
.bottom-tactile-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px dashed rgba(60, 45, 30, 0.25);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-hand);
  color: #554433;
}

.nav-icon {
  font-size: 1.6rem;
}

.nav-label {
  font-size: 1.05rem;
  font-weight: 600;
}
