/* ==========================================
   COLOR PALETTE & VARIABLES
   ========================================== */
:root {
  /* Main Palette */
  --color-camel: #998756;
  --color-pearl-beige: #EBD7B3;
  --color-sweet-salmon: #DC9781;
  --color-brandy: #7A2914;

  /* Accent & Light Tones */
  --color-sweet-salmon-light: #F3CBBF; /* Lighter soft pink fill */
  --color-bubblegum-pink: #EC596B;
  --color-gold-light: #f3d078;

  /* Leafy Green Speech Bubble */
  --color-leafy-green: #6b7d42;
  --color-leafy-green-light: #e8eee0;
}

/* ==========================================
   BASE RESET & TYPOGRAPHY
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ==========================================
   GIF SHOWCASE BOX
   ========================================== */

.gif-showcase-box {
  width: 100%;
  padding: 12px;
  background-color: var(--color-pearl-beige);
  border: 3px double var(--color-brandy);
  border-radius: 18px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gif-box-title {
  font-family: 'Fredoka', cursive;
  font-size: 0.95rem;
  color: var(--color-brandy);
}

.gif-frame {
  width: 100%;
  border: 2px solid var(--color-sweet-salmon);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-sweet-salmon-light);
  padding: 8px;
}

.showcase-gif {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  display: block;
}

body {
  min-height: 100vh;
  font-family: 'Quicksand', sans-serif;
  
  /* Background Image Settings */
  background-image: url('../assets/images/M83_HSTgendler2400.jpg'); /* Adjust extension if .png */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  
  /* Fallback color */
  background-color: var(--color-brandy);
  color: var(--color-brandy);
}

/* ==========================================
   MAIN CENTRAL CONTAINER BOX
   ========================================== */
.main-container {
  width: 88%;
  max-width: 1100px;
  min-height: 85vh; /* Expands down naturally as content is added */
  margin: 2vh auto;

  /* Padding cleared at root to allow header flush layout */
  padding: 0;
  overflow: hidden;

  /* Background & Typography */
  background-color: var(--color-sweet-salmon-light);
  color: var(--color-brandy);

  /* Gold - Pink - Gold Frame */
  border: 10px double var(--color-gold-light);
  outline: 4px solid var(--color-sweet-salmon);
  outline-offset: -14px;
  border-radius: 28px;

  /* Tight defined shadow */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================
   TOP HEADER ROW
   ========================================== */
.top-header-row {
  width: 100%;
  height: 130px; /* Controls total header height */
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
  gap: 15px;
}
/* --- Left: Animal Crossing Style Speech Layout --- */
.speech-layout {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  padding-left: 15px;
}

.pet-gif {
  width: 65px;
  height: 65px;
  object-fit: contain;
  flex-shrink: 0;
  /* Zooms directly into the kitten image to fill transparent space */
  transform: scale(1.8); 
  transform-origin: center;
}
/* Leafy Green Speech Box */
.thought-bubble {
  position: relative;
  background-color: var(--color-leafy-green-light);
  border: 2px solid var(--color-leafy-green);
  border-radius: 18px;
  padding: 10px 16px;
  max-width: 340px;
  box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.1);
}

/* Bubble Tail pointing left towards the pet */
.thought-bubble::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px 10px 7px 0;
  border-style: solid;
  border-color: transparent var(--color-leafy-green) transparent transparent;
}

.speech-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-family: 'Fredoka', cursive;
}

.pet-name {
  color: var(--color-bubblegum-pink);
  font-weight: 600;
  font-size: 1.05rem;
}

.site-title {
  color: var(--color-brandy);
  font-size: 0.85rem;
  opacity: 0.85;
}

.speech-text {
  color: var(--color-brandy);
  font-family: 'Fredoka', cursive;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* --- Right: Banner GIF (Sweet Salmon Border) --- */
.banner-container {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  border: 3px solid var(--color-sweet-salmon);
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 12px;
  overflow: hidden;
}

.header-banner-gif {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops image cleanly inside 130px height */
  display: block;
}
  /* Sweet Salmon border on top, left, bottom */
  border: 4px solid var(--color-sweet-salmon);
  border-right: none;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
}

.header-banner-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ==========================================
   MARQUEE DIVIDER TICKER
   ========================================== */
.marquee-divider {
  width: 100%;
  height: 38px;
  background-color: #000000; /* Solid black background */
  border-top: 3px solid var(--color-gold-light);
  border-bottom: 3px solid var(--color-gold-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: scroll-left 25s linear infinite;
}

/* Scrolling Animation Loop */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Rainbow Pastel Text Effect */
.marquee-track span {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding-right: 10px;
  
  /* Glowing vibrant pastel gradient for black background */
  background: linear-gradient(
    90deg, 
    #ff8080, 
    #ffca80, 
    #ffff80, 
    #80ff80, 
    #80e5ff, 
    #b380ff, 
    #ff8080
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-shift 4s linear infinite;
}

/* Shifting Rainbow Colors Animation */
@keyframes rainbow-shift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
/* ==========================================
   3-COLUMN LAYOUT STRUCTURE
   ========================================== */
.content-columns {
  width: 100%;
  min-height: 500px; /* Gives the layout initial height before adding content */
  display: flex;
  align-items: stretch;
}

/* Left Column - Smallest */
.left-column {
  width: 20%;
  padding: 15px;
  border-right: 4px solid var(--color-sweet-salmon);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Center Column - Biggest */
.center-column {
  width: 52%;
  padding: 15px;
  border-right: 4px solid var(--color-sweet-salmon);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Right Column - Medium */
.right-column {
  width: 28%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
/* ==========================================
   NAVIGATION BOX & TEXTURED BUTTONS
   ========================================== */

/* Outer Navigation Container with Image Background Fallback */
.nav-box {
  width: 100%;
  padding: 18px 12px;
  
  /* Fallback solid color + background image space */
  background-color: var(--color-pearl-beige);
  background-image: url('../assets/images/nav-bg.jpg'); /* Add your image here later! */
  background-size: cover;
  background-position: center;
  
  /* Ornate frame border matching your palette */
  border: 3px double var(--color-brandy);
  border-radius: 18px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
  
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Box Header Title */
.nav-title {
  font-family: 'Fredoka', cursive;
  font-size: 1.1rem;
  color: var(--color-brandy);
  margin-bottom: 14px;
  text-shadow: 1px 1px 0px var(--color-pearl-beige);
}

/* Link List Reset */
.nav-links {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Individual Textured Buttons */
.nav-btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  
  /* Typography */
  font-family: 'Fredoka', cursive;
  font-size: 0.95rem;
  color: var(--color-brandy);
  
  /* Button Base + Texture Space */
  background-color: var(--color-sweet-salmon-light);
  background-image: url('../assets/images/button-texture.png'); /* Add button texture image here later! */
  background-size: cover;
  
  /* Cute Rounded Frame */
  border: 2px solid var(--color-brandy);
  border-radius: 12px;
  box-shadow: 0 2px 0px var(--color-brandy);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Hover & Active Pressed Button Effects */
.nav-btn:hover {
  transform: translateY(-2px);
  background-color: var(--color-pearl-beige);
  box-shadow: 0 4px 0px var(--color-brandy);
  color: var(--color-bubblegum-pink);
}

.nav-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0px var(--color-brandy);
}
/* ==========================================
   INTERACTIVE PHOTO BOX & SPARKLE HOVER
   ========================================== */

.photo-card-box {
  width: 100%;
  padding: 12px;
  background-color: var(--color-pearl-beige);
  border: 3px double var(--color-brandy);
  border-radius: 18px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Image Wrapper for Sparkle Positioning */
.sparkle-wrapper {
  position: relative;
  width: 100%;
  border: 2px solid var(--color-sweet-salmon);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

/* Image Styling */
#interactive-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Subtle Zoom on Hover */
.sparkle-wrapper:hover #interactive-photo {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* Sparkles Base */
.sparkle {
  position: absolute;
  color: #fff4b8; /* Soft golden sparkle color */
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s ease;
  text-shadow: 0 0 5px rgba(255, 230, 120, 0.9);
}

/* Sparkle Positions */
.s1 { top: 10%; left: 15%; }
.s2 { top: 20%; right: 15%; }
.s3 { bottom: 20%; left: 20%; }
.s4 { bottom: 15%; right: 20%; }

/* Sparkles Pop & Shine on Hover */
.sparkle-wrapper:hover .sparkle {
  opacity: 1;
  animation: sparkle-float 1.2s ease-in-out infinite alternate;
}

.s2 { animation-delay: 0.3s !important; }
.s3 { animation-delay: 0.6s !important; }
.s4 { animation-delay: 0.9s !important; }

@keyframes sparkle-float {
  0% { transform: scale(0.8) translateY(0); }
  100% { transform: scale(1.3) translateY(-4px); }
}

/* Hint Caption */
.photo-hint {
  font-family: 'Fredoka', cursive;
  font-size: 0.75rem;
  color: var(--color-brandy);
  opacity: 0.8;
}
/* ==========================================
   STATUS MEMO PAD WIDGET
   ========================================== */

/* Outer White Double-Frame Card */
.memo-pad-box {
  width: 100%;
  padding: 8px;
  background-color: #ffffff;
  border: 3px double var(--color-sweet-salmon);
  border-radius: 16px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Top Bow Accent Header */
.memo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.memo-bow {
  font-size: 1.2rem;
  line-height: 1;
}

.memo-dashes {
  display: flex;
  gap: 6px;
  flex: 1;
}

.memo-dashes span {
  flex: 1;
  height: 10px;
  background-color: var(--color-sweet-salmon-light);
  border: 1px solid var(--color-sweet-salmon);
  border-radius: 10px;
}

/* Lined Notepad Paper Area */
.memo-body {
  position: relative;
  background-color: #ffffff;
  border: 2px solid var(--color-sweet-salmon-light);
  border-radius: 12px;
  padding: 10px 10px 10px 28px; /* Left padding gives space for binder rings */
  overflow: hidden;
}

/* Notebook Ring Holes */
.binder-rings {
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ring {
  width: 10px;
  height: 10px;
  background-color: #e0f0ff; /* Soft blue ring tint matching your reference image */
  border: 2px solid #b3d7ff;
  border-radius: 50%;
}

/* Pink Dashed Lines Effect */
.memo-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.memo-line {
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: var(--color-brandy);
  line-height: 1.2;
  border-bottom: 2px dashed #f7a8b8; /* Pink dashed notebook line */
  padding-bottom: 2px;
}

.memo-label {
  color: var(--color-bubblegum-pink);
  text-decoration: underline;
  font-weight: bold;
  margin-right: 4px;
}

.memo-indent {
  padding-left: 20px;
}

.memo-kaomoji {
  text-align: center;
  font-size: 1.3rem;
  color: var(--color-brandy);
  padding-top: 4px;
}
/* ==========================================
   ENLARGED GUESTBOOK GIF STACK (RIGHT COLUMN)
   ========================================== */

.guestbook-gif-container {
  width: 100%;
  max-width: 280px; /* Expands container width for high visibility */
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* Generous spacing between the two GIFs */
}

.guestbook-link {
  display: block;
  width: 100%;
  text-align: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.guestbook-link:hover {
  transform: scale(1.05); /* Interactive pop effect when hovering */
  filter: drop-shadow(0px 4px 10px rgba(255, 255, 255, 0.6));
}

.side-gif {
  width: 100%; /* Makes image fill container width */
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.25));
}


/* Guestbook Button */
.guestbook-btn {
  display: inline-block;
  width: 100%;
  padding: 8px 12px;
  text-decoration: none;
  font-family: 'Fredoka', cursive;
  font-size: 0.9rem;
  color: var(--color-brandy);
  background-color: var(--color-sweet-salmon-light);
  border: 2px solid var(--color-brandy);
  border-radius: 12px;
  box-shadow: 0 2px 0px var(--color-brandy);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.guestbook-btn:hover {
  transform: translateY(-2px);
  background-color: var(--color-pearl-beige);
  color: var(--color-bubblegum-pink);
  box-shadow: 0 4px 0px var(--color-brandy);
}

.guestbook-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0px var(--color-brandy);
}
/* ==========================================
   DIGITAL CAMERA VERTICAL GALLERY & INTERACTION
   ========================================== */

.cam-gallery-box {
  width: 100%;
  padding: 14px 10px;
  background-color: var(--color-pearl-beige);
  border: 3px double var(--color-brandy);
  border-radius: 18px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cam-gallery-title {
  font-family: 'Fredoka', cursive;
  font-size: 1.05rem;
  color: var(--color-brandy);
}

.cam-gallery-viewport {
  width: 100%;
  height: 420px;
  border: 2px solid var(--color-sweet-salmon);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-sweet-salmon-light);
}

.cam-gallery-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 8px;
  animation: scroll-vertical 85s linear infinite;
  will-change: transform;
}

/* Pause vertical loop on hover */
.cam-gallery-viewport:hover .cam-gallery-track {
  animation-play-state: paused;
}

@keyframes scroll-vertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.digicam-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--color-brandy);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease;
}

.digicam-img:hover {
  filter: brightness(1.08) contrast(1.05);
}

.cam-gallery-hint {
  font-family: 'Fredoka', cursive;
  font-size: 0.72rem;
  color: var(--color-brandy);
  opacity: 0.8;
}
/* ==========================================
   HORIZONTAL STAMPS / USERBARS SCROLL BOX
   ========================================== */

.stamps-box {
  width: 100%;
  padding: 10px;
  background-color: var(--color-pearl-beige);
  border: 3px double var(--color-brandy);
  border-radius: 18px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Reduced height viewport (~160px) */
.stamps-viewport {
  width: 100%;
  max-height: 160px;
  padding: 8px;
  background-color: #d8f0ff; /* Soft pastel blue */
  border: 2px solid var(--color-brandy);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom retro scrollbar */
.stamps-viewport::-webkit-scrollbar {
  width: 6px;
}

.stamps-viewport::-webkit-scrollbar-track {
  background: #c2e5fc;
  border-radius: 10px;
}

.stamps-viewport::-webkit-scrollbar-thumb {
  background: var(--color-brandy);
  border-radius: 10px;
}

/* Stamp Wrapper for Glitter Effects */
.stamp-item {
  position: relative;
  width: 100%;
  max-width: 200px;
  display: flex;
  justify-content: center;
}

/* Individual horizontal stamp images */
.stamp-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.stamp-item:hover .stamp-img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* Glitter Burst Elements */
.glitter {
  position: absolute;
  font-size: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.4s ease;
  z-index: 2;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}

.g1 { top: -6px; left: 10px; }
.g2 { bottom: -6px; right: 10px; }

/* Glitter burst animation on hover */
.stamp-item:hover .glitter {
  opacity: 1;
  animation: glitter-sparkle 0.8s ease-in-out infinite alternate;
}

.g2 {
  animation-delay: 0.3s !important;
}

@keyframes glitter-sparkle {
  0% {
    transform: scale(0.6) rotate(0deg);
  }
  100% {
    transform: scale(1.2) rotate(18deg) translateY(-3px);
  }
}
/* ==========================================
   1940s VINTAGE CALENDAR WIDGET
   ========================================== */

.vintage-calendar-box {
  width: 100%;
  padding: 12px;
  background-color: #fcf8f2; /* Vintage parchment background */
  border: 3px double #784b38; /* Warm 40s brown frame */
  border-radius: 16px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Vintage Dashed Header Frame */
.calendar-header-frame {
  width: 100%;
  padding: 6px 10px;
  border: 2px dashed #784b38;
  border-radius: 10px;
  background-color: #f7eee3;
  text-align: center;
}

.calendar-month-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #a64b63; /* Rose tint */
  letter-spacing: 0.5px;
}

/* 7-Column Calendar Grid Layout */
.calendar-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

/* Weekday Labels */
.day-header {
  font-family: 'Courier Prime', monospace;
  font-weight: bold;
  font-size: 0.75rem;
  color: #5c3c2e;
  background-color: #eedecf;
  border: 1px solid #d4bda9;
  border-radius: 6px;
  padding: 4px 0;
}

.day-header.weekend {
  background-color: #e2f0e9; /* Muted vintage sage green for weekends */
  border-color: #b5d6c5;
}

/* Date Cells */
.day {
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  color: #3b2820;
  background-color: #faf5ed;
  border-radius: 6px;
  padding: 5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.day.empty {
  background-color: transparent;
}

/* Current Day Highlight (25th) */
.day.active-day {
  background-color: #f2c4ce; /* Dusty rose tint */
  color: #8c253e;
  font-weight: bold;
  border: 1px solid #d991a1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
/* ==========================================
   HORIZONTAL GIF DIVIDER BANNER
   ========================================== */

.gif-divider-container {
  width: 100%;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.gif-divider-img {
  width: 100%;
  height: 45px; /* Adjust height if you want it thicker or thinner */
  object-fit: cover; /* Crops cleanly like a banner without distorting */
  display: block;
}

/* ==========================================
   BORDERLESS FLAG COUNTER
   ========================================== */

.borderless-flag-counter {
  width: 100%;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.borderless-flag-counter img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ==========================================
   CUTE KITTY CORNER WIDGET
   ========================================== */

.kitty-corner-box {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background-color: #ffffff;
  border: 3px double #d4a5b8;
  border-radius: 16px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.kitty-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.kitty-title {
  font-family: 'Fredoka', cursive;
  font-size: 1rem;
  color: #ff6b9d;
}

.kitty-counter-display {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #885068;
}

/* Inner Layout with Stickers & Right-Side Meter */
.kitty-content-wrapper {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #fff9fb;
  border: 1.5px dashed #f2c4ce;
  border-radius: 12px;
  padding: 8px;
}

/* 3-Column Scrollable Grid for 20 Stickers */
.kitty-grid {
  flex: 1;
  max-height: 150px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: center;
  overflow-y: auto;
  padding-right: 4px;
}

.kitty-grid::-webkit-scrollbar {
  width: 4px;
}

.kitty-grid::-webkit-scrollbar-thumb {
  background: #f2c4ce;
  border-radius: 10px;
}

/* Interactive Cat Stickers */
.cat-sticker {
  width: 42px;
  height: 42px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.cat-sticker:hover {
  transform: scale(1.18) rotate(-4deg);
}

.cat-sticker:active {
  transform: scale(0.9) rotate(6deg);
}

/* Rainbow Meter Track Inspired by Reference */
.love-meter-track {
  width: 12px;
  height: 140px;
  background: #f0f0f0;
  border: 1.5px solid #ff9ebb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
}

.love-meter-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, #ff9a9e, #fecfef, #a1c4fd);
  transition: height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kitty-hint {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.72rem;
  color: #ba7b93;
}
/* ==========================================
   BORDERLESS FORTUNE COOKIE JAR WIDGET (RESIZED)
   ========================================== */

.cookie-jar-wrapper {
  width: 100%;
  margin-top: 10px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px; /* Ensures vertical height matches Kitty Corner closely */
}

#cookie-jar-img {
  width: 145px; /* Increased from 90px to fill out the column balance */
  max-width: 90%;
  height: auto;
  cursor: pointer;
  filter: drop-shadow(2px 5px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#cookie-jar-img:hover {
  transform: scale(1.08) rotate(-4deg);
}

#cookie-jar-img:active {
  transform: scale(0.95) rotate(3deg);
}

.cookie-hint {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  color: #ba7b93;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* Floating Fortune Bubble Positioned Higher */
.fortune-popover {
  position: absolute;
  top: -15px;
  background-color: #fff8f0;
  border: 1.5px dashed #e8b4b8;
  color: #7a4659;
  font-family: 'Fredoka', cursive;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.fortune-popover.show {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================
   2000s Y2K MAGAZINE CUTOUT TITLE
   ========================================== */

.magazine-title-wrapper {
  position: relative;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Common Container Overlay */
.name-container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Default States */
.name-monica {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.name-judith {
  opacity: 0;
  transform: scale(0.85) rotate(-3deg);
  pointer-events: none;
}

/* Hover Swap Transitions */
.magazine-title-wrapper:hover .name-monica {
  opacity: 0;
  transform: scale(0.85) rotate(3deg);
}

.magazine-title-wrapper:hover .name-judith {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Individual Magazine Letter Styling */
.mag-letter {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(2px 3px 5px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
}

/* Organic Cutout Rotation Effects */
.rot-left { transform: rotate(-6deg) translateY(-2px); }
.rot-right { transform: rotate(5deg) translateY(3px); }
.rot-left-small { transform: rotate(-3deg) translateY(1px); }
.rot-right-small { transform: rotate(4deg) translateY(-3px); }

/* Interactive Hover Wiggle per Letter */
.mag-letter:hover {
  transform: scale(1.18) rotate(0deg) !important;
  z-index: 10;
}
/* ==========================================
   CENTER COLUMN BORDERLESS GIF DIVIDER
   ========================================== */

.center-divider-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0 25px 0;
  padding: 0 5px;
}

.center-divider-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  /* Soft drop shadow so transparent PNG elements pop off the background */
  filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.08));
}
/* ==========================================
   SUPER Y2K MINI INTRO BOX
   ========================================== */

.y2k-intro-box {
  width: 100%;
  background-color: #ffffff;
  border: 3px double #f4b6c2;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 3px 5px 12px rgba(244, 182, 194, 0.35);
  font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  margin-bottom: 25px;
}

/* Left Column: Avatar & Click Action */
.avatar-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 140px;
  flex-shrink: 0;
}

.avatar-frame {
  width: 125px;
  height: 125px;
  border: 3px dashed #ff9ebb;
  border-radius: 14px;
  padding: 4px;
  background-color: #fff6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 6px rgba(255, 158, 187, 0.2);
}

#y2k-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#y2k-avatar-img:hover {
  transform: scale(1.06) rotate(-2deg);
}

.avatar-badge {
  font-size: 0.72rem;
  font-weight: bold;
  background-color: #ffe3ec;
  color: #d85b88;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid #f2a6c1;
}

.avatar-click-hint {
  font-size: 0.65rem;
  color: #b57a91;
  text-align: center;
}

/* Right Column: Text & Colors */
.intro-info-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.intro-greeting {
  font-size: 1.05rem;
  font-weight: bold;
  color: #4a344d;
  line-height: 1.3;
}

.pixel-hr {
  border: none;
  border-top: 1.5px dashed #f2b6c6;
  margin: 2px 0 6px 0;
}

.intro-line {
  font-size: 0.88rem;
  color: #554157;
  line-height: 1.4;
}

.intro-subtext {
  font-size: 0.75rem;
  color: #9c6c82;
  margin-top: 4px;
  font-style: italic;
}

/* Y2K Color Palette */
.txt-pink { color: #ff3377; font-weight: bold; }
.txt-purple { color: #8833cc; font-weight: bold; }
.txt-teal { color: #009999; font-weight: bold; }
.txt-orange { color: #ff6600; font-weight: bold; }
.txt-brown { color: #8b5a2b; font-weight: bold; }
.txt-coral { color: #e64a19; font-weight: bold; }

/* ==========================================
   EDGE-TO-EDGE HORIZONTAL SUB-DIVIDER BANNER
   ========================================== */

.center-subdivider-container {
  width: calc(100% + 32px); 
  margin-left: -16px;        
  margin-right: -16px;      
  margin-top: -6px;         /* Pulls the divider up closer to the intro box */
  margin-bottom: 12px;      /* Keeps bottom spacing intact */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-subdivider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;        
  display: block;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.06));
}
/* ==========================================
   PICNIC CLOTH AUDIO WIDGET (LANDSCAPE)
   ========================================== */

.picnic-widget-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 25px;
}

.picnic-basket {
    position: relative;
    width: 100%;
    max-width: 580px; /* Expands to fit landscape picnic cloth proportions */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Landscape Background Cloth Image */
.basket-frame-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.2));
}

/* Layering Container */
.picnic-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 6% 8% 6% 8%; /* Reduced padding to utilize wider landscape orientation */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* Dynamic Song Title Display Box */
#song-title-box {
    font-family: 'Fredoka', cursive, sans-serif;
    background-color: rgba(255, 252, 245, 0.92);
    border: 2px dashed #dca394;
    border-radius: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #5c433c;
    width: 85%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* 4 Rows x 3 Columns Fruit Grid Layout */
.fruit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 16px;
    width: 100%;
    justify-items: center;
    align-items: center;
    flex-grow: 1;
}

.fruit-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s ease;
}

/* Scaled-up Fruit Dimensions */
.fruit-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.22));
}

.fruit-btn:hover {
    transform: scale(1.22) rotate(6deg);
    filter: drop-shadow(0px 6px 10px rgba(255, 255, 255, 0.9));
}

.fruit-btn:active {
    transform: scale(0.92) rotate(-4deg);
}

.picnic-audio-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.picnic-audio-bar audio {
    width: 90%;
    height: 32px;
    border-radius: 12px;
    outline: none;
}
/* ==========================================
   PICNIC CLOTH AUDIO WIDGET ADJUSTMENTS
   ========================================== */

.picnic-basket {
    position: relative;
    width: 100%;
    max-width: 540px; /* Reduced to pull in bottom extra space */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Layering Container */
.picnic-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 4% 6% 3% 6%; /* Reduced top/bottom padding to tighten vertical height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* 4 Rows x 3 Columns Fruit Grid Layout */
.fruit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 12px; /* Tightened grid row gaps */
    width: 100%;
    justify-items: center;
    align-items: center;
    flex-grow: 1;
}

/* Larger Fruit Images */
.fruit-img {
    width: 68px; /* Increased base width */
    height: 68px; /* Increased base height */
    object-fit: contain;
    transform: scale(1.25); /* Zooms past extra blank space around PNG borders */
    filter: drop-shadow(2px 3px 5px rgba(0, 0, 0, 0.22));
}

.fruit-btn:hover .fruit-img {
    transform: scale(1.42) rotate(6deg);
    filter: drop-shadow(0px 6px 10px rgba(255, 255, 255, 0.9));
}

.fruit-btn:active .fruit-img {
    transform: scale(1.1) rotate(-4deg);
} 
/* ==========================================
   BOTTOM RIGHT COLUMN: GLITTER TEXT GIF
   ========================================== */

.glitter-text-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 8px;
}

.glitter-text-gif {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* Optional soft retro glow/shadow */
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}
