/* XOXO SHYSHY — DARK CHERRY DIARIES */

/* COLOR PALETTE */
:root {
  --cherry: #760E29;
  --plum: #371B39;
  --butter: #F6E5A7;
  --cream: #FFF9EC;
  --rose: #D6A1AD;
  --ink: #21191F;
}

/* GLOBAL STYLES */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

[hidden] {
  display: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

/* HEADER */
.site-header {
  background: var(--cherry);
  color: var(--cream);
  padding: 22px 5%;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  font-family: Georgia, serif;
  font-size: 30px;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

nav a {
  font-size: 14px;
  text-decoration: none;
}

nav a:hover {
  color: var(--butter);
}

/* ZEBRA-INSPIRED ACCENT */
.zebra-strip {
  height: 14px;
  background:
    repeating-linear-gradient(
      115deg,
      var(--ink) 0px,
      var(--ink) 8px,
      var(--cream) 8px,
      var(--cream) 19px,
      var(--ink) 19px,
      var(--ink) 23px,
      var(--cream) 23px,
      var(--cream) 34px
    );
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 24px 110px;
  background:
    radial-gradient(
      circle at top left,
      #f3d9d9,
      transparent 45%
    ),
    var(--cream);
  border-bottom: 1px solid var(--rose);
}

.eyebrow {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2.5px;
  color: var(--cherry);
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(52px, 8vw, 105px);
  font-style: italic;
  font-weight: normal;
  color: var(--cherry);
  line-height: 1.1;
  margin: 25px 0;
}

.hero-subtitle {
  font-family: Georgia, serif;
  font-size: 21px;
  font-style: italic;
  color: var(--plum);
  max-width: 550px;
  margin: 0 auto 30px;
}

.primary-button,
.read-button {

  display: block;
  width: fit-content;
  font-size: 13px;
  margin: 0 auto;
  background: var(--cherry);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.primary-button:hover,
.read-button:hover {
  background: var(--plum);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 35px;
  color: var(--plum);
  font-size: 13px;
  font-style: italic;
}

/* DIARY SECTION */
.diary-section {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 75px 24px 100px;
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(35px, 5vw, 55px);
  font-weight: normal;
  color: var(--cherry);
  margin: 10px 0;
}

.section-heading > p:last-child {
  color: var(--plum);
  font-style: italic;
}

/* RESPONSIVE DIARY GRID */
.diary-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

/* BUTTER YELLOW DIARY CARDS */
.diary-card {
  min-width: 0;
  background: var(--butter);
  border: 1px solid var(--cherry);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 7px 7px 0 var(--rose);
  transition: transform 0.25s;
}

.diary-card:hover {
  transform: translateY(-6px);
}

.card-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 24px;
}

.date {
  color: var(--cherry);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-content h3 {
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
  color: var(--cherry);
  margin: 14px 0;
  overflow-wrap: anywhere;
}

.card-preview {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.mood {
  display: inline-block;
  background: var(--plum);
  color: white;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 12px;
  margin: 12px 0 18px;
}

.read-button {
  display: block;
  width: fit-content;
  font-size: 13px;
}

/* FULL JOURNAL ENTRY */
.full-entry {
  max-width: 800px;
  margin: 0 auto;
  background: var(--butter);
  border: 1px solid var(--cherry);
  border-radius: 14px;
  padding: 35px;
  box-shadow: 8px 8px 0 var(--rose);
}

.back-button {
  border: 1px solid var(--cherry);
  background: var(--cream);
  color: var(--cherry);
  border-radius: 25px;
  padding: 10px 18px;
  margin-bottom: 25px;
}

.entry-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
}

.full-entry h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--cherry);
  line-height: 1.2;
}
  
.entry-body {
  max-width: 680px;
  margin: 30px auto 0;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.85;
  white-space: normal;
  overflow-wrap: anywhere;
}

.entry-body p {
  margin: 0 0 22px;
}

.entry-body p:last-child {
  margin-bottom: 0;
}


.signature {
  text-align: right;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--cherry);
  margin-top: 35px;
}

/* ABOUT SECTION */
.about-section {
  padding: 75px 24px;
  background:  #F5C6D6;
}

.about-card {
  max-width: 750px;
  margin: 0 auto;
  padding: 55px 35px;
  text-align: center;
  background: var(--cream);
  border: 2px dashed var(--rose);
  border-radius: 12px;
  transform: rotate(-1deg);
}

.about-card h2 {
  font-family: Georgia, serif;
  font-size: 43px;
  font-style: italic;
  font-weight: normal;
  color: var(--cherry);
}

.about-card p {
  color: var(--plum);
}

.about-signature {
  font-family: Georgia, serif;
  font-style: italic;
  margin-top: 30px;
}

/* FOOTER */
.site-footer {
  background: var(--cherry);
  color: var(--cream);
  text-align: center;
  padding: 30px;
  font-family: Georgia, serif;
  font-style: italic;
}

/* TABLET */
@media (max-width: 900px) {
  .diary-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    text-align: center;
  }

  nav {
    justify-content: center;
    gap: 15px;
  }

  .hero {
    padding: 70px 20px;
  }

  .diary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .diary-section {
    padding: 50px 20px 70px;
  }

.card-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

  .full-entry {
    padding: 20px;
  }

  .about-card {
    padding: 35px 20px;
  }
}

/* ==================================
   XOXO SHYSHY — MYSPACE HOMEPAGE
================================== */

/* NAVIGATION TABS */

.site-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-tabs a {
  display: inline-block;
  padding: 10px 15px;
  background: #FFF9EC;
  color: #760E29;
  text-decoration: none;
  border: 1px solid #760E29;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  font-weight: bold;
}

.site-tabs a:hover,
.site-tabs a.active-tab {
  background: #760E29;
  color: #FFF9EC;
}

/* THREE-COLUMN HOMEPAGE */

.homepage-layout {
  display: grid;
  /* Keep the classic three-column blog wide enough to read when zoomed. */
  min-width: 1100px;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 2.3fr)
    minmax(0, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: start;
}

.home-main-content {
  min-width: 0;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SIDEBAR BOXES */

.sidebar-box {
  background: #FFF9EC;
  border: 2px solid #760E29;
  border-radius: 10px;
  padding: 18px;
  color: #371B39;
  box-shadow: 5px 5px 0 #371B39;
}

.sidebar-box h2 {
  font-family: Georgia, serif;
  color: #760E29;
  font-size: 20px;
  margin-bottom: 15px;
}

.sidebar-box p {
  font-size: 13px;
  line-height: 1.7;
}

.sidebar-box a {
  color: #760E29;
}

/* PHOTO PLACEHOLDER */


/* PROFILE PHOTO FRAME */

.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid #760E29;
  border-radius: 8px;
  background-color: #D6A1AD;
  box-sizing: border-box;
}

/* PROFILE PHOTO IMAGE */

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* MUSIC BOX */

.music-placeholder {
  background: #371B39;
  color: #F6E5A7;
  padding: 25px 10px;
  text-align: center;
  border-radius: 8px;
}

.music-placeholder span {
  font-size: 40px;
}

.music-placeholder p {
  color: #F6E5A7;
}

/* ARCHIVES PLACEHOLDER */

.home-archives {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  text-align: center;
  background: #FFF9EC;
  border: 2px solid #760E29;
  border-radius: 12px;
}

.home-archives h2 {
  color: #760E29;
}

.home-archives a {
  color: #760E29;
}


/* COMPACT HOMEPAGE HERO */

.home-main-content .hero {
  min-height: auto;
  padding: 35px 20px;
  margin-bottom: 25px;
}

.home-main-content .hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1;
  margin: 15px 0;
}

.home-main-content .hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
}

.home-main-content .hero-note {
  margin-top: 20px;
}

.home-main-content .diary-section {
  padding: 25px 15px;
}

/* ==================================
   CLASSIC ZEBRA BACKGROUND
================================== */

body {
  background-color: #FFF9EC;
  background-image: url("images/zebra-pattern.png");
  background-repeat: repeat;
  background-position: top left;
  background-size: 280px auto;
  background-attachment: scroll;
}

/* Keep the main layout transparent
   so the zebra pattern shows behind it */

main,
.homepage-layout,
.home-main-content {
  background: transparent;
}

/* Keep the text areas readable */

.home-main-content .hero,
.home-main-content .diary-section {
  background-color: #FFF9EC;
  border-radius: 12px;
}

/* Make the sidebars stand out */

.sidebar-box {
  background-color: #FFF9EC;
}

.homepage-layout {
  gap: 24px;
  padding: 20px 24px;
}

.home-main-content .hero,
.home-main-content .diary-section {
  border: 2px solid #760E29;
  box-shadow: 5px 5px 0 #371B39;
}

.site-header {
  position: relative;
  z-index: 2;
}

/* DIARY PAGE HEADING */

body:has(.full-entry) .section-heading {
  background: #FFF9EC;
  border: 2px solid #760E29;
  border-radius: 12px;
  padding: 25px;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  box-shadow: 5px 5px 0 #371B39;
}

/* ==================================
   HOMEPAGE FEATURED DIARY CARD
================================== */

.home-main-content .diary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 20px;
}

.home-main-content .diary-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}

.home-main-content .card-content {
  width: 100%;
  box-sizing: border-box;
}

.home-main-content .diary-card h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.25;
  overflow-wrap: break-word;
}

/* FEATURED SECTION HEADING */

.home-main-content .section-heading h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  margin: 12px 0;
}

.home-main-content .section-heading {
  margin-bottom: 25px;
}

.home-main-content .hero {
  margin-bottom: 30px;
}

.home-main-content .diary-section {
  padding: 30px 20px;
}

/* XOXO SHYSHY — NOW PLAYING */

.now-playing-box {
  text-align: center;
}

.music-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.music-cover {
  width: 110px;
  height: 110px;
  background: #D6A1AD;
  border: 2px solid #760E29;
  border-radius: 8px;
  box-shadow: 4px 4px 0 #371B39;

  display: flex;
  align-items: center;
  justify-content: center;
}

.music-cover span {
  font-size: 50px;
  color: #760E29;
}

.music-info h3 {
  color: #760E29;
  font-size: 16px;
  margin: 0;
}

.music-info p {
  color: #371B39;
  font-size: 13px;
  margin: 5px 0 0;
}

.music-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.music-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #760E29;
  background: #F6E5A7;
  color: #760E29;
  font-size: 18px;
  cursor: pointer;
}

.music-controls button:hover {
  background: #D6A1AD;
}

.music-message {
  font-size: 12px;
  font-style: italic;
  color: #760E29;
  margin: 0;
}

/* XOXO SHYSHY — SPINNING VINYL RECORD */

.now-playing-box .music-cover {
  width: 150px;
  height: 150px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-record {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: relative;

  background:
    repeating-radial-gradient(
      circle,
      transparent 0px,
      transparent 3px,
      rgba(255,255,255,0.12) 4px,
      transparent 5px
    ),
    radial-gradient(
      circle,
      #3d3540 0%,
      #211c25 65%,
      #0f0c10 100%
    );

  border: 3px solid #371B39;

  box-shadow:
    0 5px 12px rgba(55,27,57,0.25),
    inset 0 0 8px rgba(255,255,255,0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  animation: vinylSpin 5s linear infinite;
  animation-play-state: paused;
}

/* CENTER RECORD LABEL */

.vinyl-label {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #760E29;
  border: 2px solid #F6E5A7;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #FFF9EC;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.vinyl-label::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #F6E5A7;
  border-radius: 50%;
  margin-top: 4px;
}

/* RECORD ROTATION */

@keyframes vinylSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* SPIN ONLY WHEN MUSIC IS PLAYING */

.vinyl-record.is-playing {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .vinyl-record {
    animation: none;
  }
}

/* FIX VINYL RECORD LABEL TEXT */

.music-cover .vinyl-label span {
  font-size: 10px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #FFF9EC;
  text-align: center;
}

.vinyl-label {
  width: 58px;
  height: 58px;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
}

.vinyl-label span {
  display: block;
}

/* 3D DIGITAL CAMERA PHOTO BOOTH */

.camera-photo-booth {
  width: 100%;
  max-width: 400px;
  margin: 15px auto;
  text-align: center;
}

.camera-display {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.camera-frame-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.camera-photo-screen {
  position: absolute;
  left: 16.3%;
  top: 29.8%;
  width: 54.3%;
  height: 52%;
  overflow: hidden;
  background: #371B39;
  z-index: 1;
}

.camera-photo-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-photo-screen img[hidden] {
  display: none;
}

#photoBoothEmpty {
  color: #FFF9EC;
  font-size: 11px;
  padding: 12px;
}

/* INTERACTIVE CAMERA ARROWS */

.camera-display button {
  position: absolute;
  z-index: 3;
  top: 51%;
  transform: translateY(-50%);
  background: rgba(118,14,41,0.8);
  border: 1px solid #F6E5A7;
  color: white;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  cursor: pointer;
  font-size: 12px;
}

#previousPhoto {
  left: 18%;
}

#nextPhoto {
  left: 63%;
}

.camera-display button:hover {
  background: #D6A1AD;
}

.camera-display button:disabled {
  opacity: 0.4;
  cursor: default;
}

#photoCounter {
  color: #760E29;
  font-size: 12px;
  font-weight: bold;
  margin: 8px 0;
}

#photoBoothCaption {
  color: #760E29;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* KEEP DIGITAL CAMERA INSIDE SIDEBAR */

.camera-photo-booth {
  width: 100%;
  max-width: 100%;
  margin: 15px auto;
}

.camera-frame-image {
  display: block;
  object-fit: contain;
}

/* DISPLAY SLIDESHOW OVER CAMERA LCD */

.camera-photo-screen {
  position: absolute;
  left: 16.3%;
  top: 29.8%;
  width: 54.3%;
  height: 52%;
  z-index: 3;
  overflow: hidden;
  border-radius: 5px;
  background: #371B39;
  padding: 0;
}

.camera-photo-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-photo-screen img[hidden] {
  display: none;
}

/* KEEP SLIDESHOW BUTTONS CLICKABLE */

.camera-display button {
  z-index: 4;
}

/* KEEP EMPTY MESSAGE CENTERED */

#photoBoothEmpty {
  color: #FFF9EC;
  font-size: 11px;
  text-align: center;
  margin: 0;
  padding: 10px;
}

#photoBoothEmpty[hidden] {
  display: none;
}

/* PHOTO BOOTH CAPTION — LIGHT PINK */

#photoBoothCaption {
  color: #FFD1DC;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  text-shadow:
    1px 1px 2px #371B39,
    -1px -1px 2px #371B39;
}

/* PHOTO BOOTH CAPTION — CHERRY RED BACKGROUND */

#photoBoothCaption {
  background: rgba(255, 249, 236, 0.92);
color: #760E29;

  padding: 10px 16px;
  border: 1px solid #F6E5A7;
  border-radius: 10px;

  width: fit-content;
  max-width: 90%;
  margin: 12px auto;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;

  box-shadow: 2px 3px 0 rgba(55, 27, 57, 0.6);
  text-shadow: none;
}

/* ======================================
   XOXO SHYSHY — 3D NOTEBOOK TIMELINE
   Homepage only
====================================== */

.home-main-content .diary-grid {
  display: flex;
  flex-direction: column;
  gap: 42px;
  padding: 20px 12px 30px;
  overflow: visible;
}

/* Individual notebook sheets */
.home-main-content .notebook-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;

  background-color: #F6E5A7;
  background-image:
    linear-gradient(
      to right,
      transparent 0,
      transparent 48px,
      rgba(194, 77, 112, 0.55) 48px,
      rgba(194, 77, 112, 0.55) 50px,
      transparent 50px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 30px,
      rgba(102, 151, 178, 0.35) 31px,
      transparent 32px
    );

  border: none;
  border-radius: 2px;

  padding: 24px 20px 28px 60px;

  box-shadow:
    4px 5px 0 #E5CD8B,
    8px 10px 0 #D8BB79,
    13px 17px 22px rgba(55, 27, 57, 0.25);

  transform: rotate(-1.2deg);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Alternate the direction of each page */
.home-main-content .notebook-page:nth-child(even) {
  transform: rotate(1.2deg);
}

/* Lift and straighten when hovered */
.home-main-content .notebook-page:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow:
    5px 7px 0 #E5CD8B,
    10px 13px 0 #D8BB79,
    16px 22px 28px rgba(55, 27, 57, 0.3);
  z-index: 2;
}

/* Torn-looking top and bottom edges */
.home-main-content .notebook-page::before,
.home-main-content .notebook-page::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 9px;
  background: #F6E5A7;
  clip-path: polygon(
    0 50%, 4% 15%, 8% 65%, 12% 20%,
    17% 75%, 22% 25%, 27% 65%,
    33% 10%, 39% 70%, 45% 20%,
    52% 80%, 59% 15%, 66% 70%,
    73% 20%, 80% 75%, 87% 15%,
    94% 70%, 100% 30%, 100% 100%, 0 100%
  );
}

.home-main-content .notebook-page::before {
  top: -7px;
}

.home-main-content .notebook-page::after {
  bottom: -7px;
  transform: rotate(180deg);
}

/* Keep notebook text readable */
.home-main-content .notebook-page .card-content {
  position: relative;
  z-index: 1;
  padding: 0;
  background: transparent;
}

.home-main-content .notebook-page h3 {
  color: #760E29;
  overflow-wrap: anywhere;
}

.home-main-content .notebook-page .date {
  color: #760E29;
}

.home-main-content .timeline-entry-body {
  color: #371B39;
  font-size: 15px;
  line-height: 2;
  text-align: left;
  overflow-wrap: anywhere;
}

.home-main-content .timeline-entry-body p {
  margin: 0 0 16px;
  white-space: pre-wrap;
}

/* Journal photos and GIFs */
.home-main-content .notebook-page img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Smaller rotations on mobile */
@media (max-width: 600px) {
  .home-main-content .diary-grid {
    padding: 16px 6px 24px;
    gap: 32px;
  }

  .home-main-content .notebook-page {
    padding: 22px 14px 24px 38px;
    transform: rotate(-0.4deg);
  }

  .home-main-content .notebook-page:nth-child(even) {
    transform: rotate(0.4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-main-content .notebook-page {
    transition: none;
  }
}
/* NOTEBOOK JOURNAL TITLES */

.home-main-content .notebook-page h3 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
  margin-bottom: 18px;
}

/* =====================================
   SHY'S TIMELINE — REALISTIC PAPER
===================================== */

.home-main-content .notebook-page {
  /* Softer, more natural paper color */
  background-color: #F5E8B9;

  background-image:
    /* Subtle paper grain */
    repeating-linear-gradient(
      35deg,
      rgba(120, 90, 40, 0.018) 0px,
      rgba(255, 255, 255, 0.025) 2px,
      transparent 4px,
      transparent 7px
    ),

    /* Pink notebook margin */
    linear-gradient(
      to right,
      transparent 0,
      transparent 48px,
      rgba(181, 89, 106, 0.35) 49px,
      transparent 50px
    ),

    /* Faded blue notebook lines */
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 30px,
      rgba(103, 137, 151, 0.20) 31px,
      transparent 32px
    );

  /* Less exaggerated stacked-paper effect */
  box-shadow:
    2px 3px 0 rgba(194, 169, 113, 0.45),
    5px 8px 12px rgba(55, 27, 57, 0.12),
    9px 14px 24px rgba(55, 27, 57, 0.08);

  /* Natural-looking page tilt */
  transform: rotate(-0.7deg);
  border-radius: 1px;
}

/* Alternate page rotations */
.home-main-content .notebook-page:nth-child(even) {
  transform: rotate(0.8deg);
}

/* More subtle hover movement */
.home-main-content .notebook-page:hover {
  transform: rotate(0deg) translateY(-3px);

  box-shadow:
    2px 4px 0 rgba(194, 169, 113, 0.45),
    6px 12px 20px rgba(55, 27, 57, 0.15);
}

/* Soften the jagged paper-edge effect */
.home-main-content .notebook-page::before,
.home-main-content .notebook-page::after {
  background: #F5E8B9;
  height: 5px;
  opacity: 0.95;
}

/* More natural typography */
.home-main-content .notebook-page h3 {
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.25;
  font-weight: 600;
}

/* Comfortable journal text */
.home-main-content .timeline-entry-body {
  font-size: 15px;
  line-height: 2.05;
  color: #3F3440;
}

/* REALISTIC NOTEBOOK PAPER — TEST */

.home-main-content .notebook-page {
  background-image: url("images/shy-notebook-paper.png");
  background-color: transparent;
  background-size: 100% 100%;
  background-repeat: no-repeat;

  border: none;
  border-radius: 0;
  box-shadow: none;

  padding: 90px 55px 85px 95px;
  min-height: 480px;
}

/* Remove the old CSS torn edges */
.home-main-content .notebook-page::before,
.home-main-content .notebook-page::after {
  display: none;
}

/* Keep the paper decoration away from text on mobile */
@media (max-width: 600px) {
  .home-main-content .notebook-page {
    padding: 70px 35px 65px 65px;
    min-height: 380px;
  }
}

/* REALISTIC SCRAPBOOK — ALTERNATING PAGES */

.home-main-content .notebook-page {
  transform: rotate(-1deg);
  transform-origin: center center;
  transition: transform 0.3s ease;
}

.home-main-content .notebook-page:nth-child(even) {
  transform: rotate(1deg);
}

.home-main-content .notebook-page:hover {
  transform: rotate(0deg) translateY(-4px);
}

/* XOXO SHYSHY — FOUR SCRAPBOOK PAPER STYLES */

.home-main-content .notebook-page:nth-child(4n + 1) {
  background-image: url("./images/shy-notebook-paper.png");
}

.home-main-content .notebook-page:nth-child(4n + 2) {
  background-image: url("./images/notebook-plain.png");
}

.home-main-content .notebook-page:nth-child(4n + 3) {
  background-image: url("./images/notebook-extra-torn.png");
}

.home-main-content .notebook-page:nth-child(4n + 4) {
  background-image: url("./images/notebook-double-tape.png");
}

/* XOXO SHYSHY — LOVE LETTER CLUB */

.love-letter-section {
  padding: 35px 20px;
  background: linear-gradient(
  to bottom,
  #FFF9EC 0%,
  #FFF9EC 55%,
  #FBE6EA 82%,
  #F5CAD8 100%
);
  text-align: center;
}

.love-letter-card {
  max-width: 650px;
  margin: 0 auto;
  padding: 45px 35px;
  background: #F6E5A7;
  border: 3px solid #760E29;
  border-radius: 14px;
  box-shadow: 9px 9px 0 #D6A1AD;
}

.love-letter-eyebrow {
  color: #760E29;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.love-letter-card h2 {
  color: #760E29;
  font-family: Georgia, serif;
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 20px;
}

.love-letter-intro {
  font-family: Georgia, serif;
  font-style: italic;
  color: #371B39;
  font-size: 21px;
  margin-bottom: 12px;
}

.love-letter-description {
  color: #371B39;
  font-size: 15px;
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto 28px;
}

.love-letter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.love-letter-form label {
  text-align: left;
  color: #760E29;
  font-weight: bold;
  font-size: 13px;
}

.love-letter-form input {
  width: 100%;
  padding: 14px;
  border: 2px solid #760E29;
  border-radius: 7px;
  background: #FFF9EC;
  color: #371B39;
  font-size: 15px;
  box-sizing: border-box;
}

.love-letter-form button {
  padding: 15px;
  border: none;
  border-radius: 7px;
  background: #760E29;
  color: #FFF9EC;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.love-letter-form button:hover:not(:disabled) {
  transform: translateY(-3px);
}

.love-letter-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.love-letter-note {
  margin-top: 22px;
  color: #760E29;
  font-size: 12px;
}

.love-letter-message {
  margin-top: 12px;
  color: #760E29;
  font-size: 13px;
}

@media (max-width: 600px) {
  .love-letter-section {
    padding: 25px 15px;
  }

  .love-letter-card {
    padding: 35px 20px;
  }
}

/* LOVE LETTER CLUB — SOFT ZEBRA TRANSITION */

.love-letter-section {
  position: relative;
}

.love-letter-section::before {
  content: "";
  position: absolute;
  top: -75px;
  left: 0;
  width: 100%;
  height: 75px;

  background: linear-gradient(
    to bottom,
    transparent 0%,
    #FFF9EC 100%
  );

  pointer-events: none;
}

/* LOVE LETTER CLUB — TWO COLUMN SCRAPBOOK */

.love-letter-layout {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 380px);
  align-items: center;
  justify-content: center;
  gap: 65px;
  max-width: 1050px;
  margin: 0 auto;
}

.love-letter-layout .love-letter-card {
  width: 100%;
  max-width: 500px;
  margin: 0;
  box-sizing: border-box;
}

/* SCRAPBOOK COLLAGE */

.love-letter-collage {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 390px;
  margin: 0 auto;
}

.scrapbook-paper {
  position: absolute;
  top: 25px;
  left: 30px;
  width: 245px;
  min-height: 270px;
  padding: 45px 22px 25px;
  box-sizing: border-box;
  background: repeating-linear-gradient(
    to bottom,
    #FFF9EC 0px,
    #FFF9EC 29px,
    #E8CDD2 30px
  );
  border: 1px solid #D4A6AE;
  box-shadow: 5px 7px 0 rgba(55, 27, 57, 0.15);
  transform: rotate(-9deg);
  text-align: left;
}

.scrapbook-paper p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: #760E29;
  margin: 0 0 15px;
}

.paper-signature {
  display: block;
  text-align: right;
  font-family: Georgia, serif;
  font-style: italic;
  color: #760E29;
}

.paper-tape {
  position: absolute;
  top: -13px;
  left: 85px;
  width: 75px;
  height: 25px;
  background: rgba(246, 229, 167, 0.75);
  transform: rotate(4deg);
}

/* PINK ENVELOPE */

.scrapbook-envelope {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 245px;
  height: 155px;
  background: #E9A5B8;
  border: 2px solid #760E29;
  border-radius: 4px;
  box-shadow: 6px 7px 0 rgba(118, 14, 41, 0.2);
  transform: rotate(9deg);
  overflow: hidden;
}

.scrapbook-envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    35deg,
    transparent 49.5%,
    #760E29 50%,
    transparent 50.5%
  );
  opacity: 0.5;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F5CAD8;
  clip-path: polygon(0 0, 100% 0, 50% 62%);
  border-bottom: 1px solid #760E29;
}

.envelope-heart {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #760E29;
  color: #FFF9EC;
  display: grid;
  place-items: center;
  font-size: 25px;
}

/* POSTAGE STAMP */

.scrapbook-stamp {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 68px;
  height: 78px;
  background: #F6E5A7;
  border: 3px dashed #760E29;
  transform: rotate(13deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #760E29;
  box-shadow: 3px 4px 0 rgba(55, 27, 57, 0.15);
}

.scrapbook-stamp span {
  font-size: 32px;
}

.scrapbook-stamp small {
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* LITTLE DECORATIONS */

.scrapbook-sparkle {
  position: absolute;
  color: #760E29;
  font-size: 35px;
}

.sparkle-one {
  top: 115px;
  right: 0;
}

.sparkle-two {
  bottom: 35px;
  left: 10px;
}

/* MOBILE LAYOUT */

@media (max-width: 850px) {
  .love-letter-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 500px;
  }

  .love-letter-layout .love-letter-card {
    margin: 0 auto;
  }

  .love-letter-collage {
    max-width: 350px;
    height: 390px;
  }
}

/* COMPACT LOVE LETTER CLUB */

.love-letter-layout .love-letter-card {
  padding: 28px 25px;
}

.love-letter-layout .love-letter-card h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.love-letter-layout .love-letter-intro {
  margin-bottom: 8px;
}

.love-letter-layout .love-letter-description {
  line-height: 1.5;
  margin-bottom: 18px;
}

.love-letter-layout .love-letter-note {
  margin-top: 14px;
}

.love-letter-layout .love-letter-message {
  margin-top: 8px;
}

/* SHORTER SCRAPBOOK AREA */

.love-letter-collage {
  height: 320px;
}

@media (max-width: 850px) {
  .love-letter-layout {
    gap: 20px;
  }

  .love-letter-collage {
    height: 350px;
  }
}

/* LOVE LETTER CLUB - MAILERLITE FORM */

.love-letter-embed {
  display: block;
  width: 100%;
  height: 390px;
  border: none;
  background: transparent;
}

/* Respect hidden diary sections */
.diary-grid[hidden],
.full-entry[hidden] {
  display: none !important;
}

/* Diary card mood and read button */
.diary-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.diary-card-footer .mood,
.diary-card-footer .read-button {
  margin: 0;
}

.diary-card-footer .mood {
  flex-shrink: 0;
}

/* ===================================
   XOXO SHYSHY — THE CHIT CHAT ROOM
=================================== */

.community-board {
  background: #fff5f5;
  border: 1px solid #e6b9c9;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(105, 31, 61, 0.06);
  color: #69223e;
}

.community-board-header {
  text-align: center;
  margin-bottom: 18px;
}

.community-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #9d4265;
  margin-bottom: 8px;
}

.community-board h2 {
  font-size: 22px;
  color: #691f3d;
  margin: 0 0 8px;
}

.community-description {
  font-size: 12px;
  line-height: 1.6;
  color: #89576a;
}

.community-board-content {
  background: #f9e4eb;
  border-radius: 14px;
  padding: 14px;
}

.community-board-content h3 {
  font-size: 16px;
  color: #832b4e;
  margin: 0 0 8px;
}

.community-welcome {
  font-size: 12px;
  line-height: 1.7;
  color: #80566a;
  margin-bottom: 16px;
}

/* Individual discussion previews */

.community-topic {
  background: #ffffff;
  border: 1px solid #efd5df;
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 10px;
}

.community-topic-category {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #a34b70;
  margin-bottom: 7px;
}

.community-topic p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #69223e;
  margin: 0 0 8px;
}

.community-topic-author {
  font-size: 11px;
  color: #987989;
}

/* Community moderation note */

.community-moderation-note {
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  color: #89576a;
  margin: 15px 0;
}

/* Join conversation button */

.community-join-button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #ffffff;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.community-join-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.community-coming-soon {
  font-size: 11px;
  text-align: center;
  color: #987989;
  margin: 10px 0 0;
}

/* Keep the board inside its sidebar */

.community-board,
.community-board * {
  box-sizing: border-box;
}

.community-board {
  min-width: 0;
}

.community-topic p {
  overflow-wrap: anywhere;
}

/* Community page navigation link */
a.community-join-button {
  text-align: center;
  text-decoration: none;
}

a.community-join-button:hover {
  background: #ffffff;
  color: #691f3d;
}
/* XOXO SHYSHY — KEEP HOMEPAGE THREE COLUMNS */

.homepage-layout {
  display: grid !important;
  width: 100%;
  min-width: 1100px;
  max-width: 1300px;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 2.3fr)
    minmax(0, 1fr) !important;
}

.homepage-layout > .left-sidebar,
.homepage-layout > .home-main-content,
.homepage-layout > .right-sidebar {
  order: initial !important;
  min-width: 0;
}

/* ==========================================
   XOXO SHYSHY — SIDEBAR SCRAPBOOK STICKERS
   ========================================== */

/* Keep sidebar content within its borders */
.left-sidebar,
.left-sidebar .sidebar-box {
  min-width: 0;
  box-sizing: border-box;
}

.left-sidebar .sidebar-box {
  overflow-wrap: break-word;
}

/* A FEW THINGS I LOVE — NEAT 2 × 2 GRID */

.left-sidebar .interest-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 14px 0 20px;
}

.left-sidebar .interest-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 55px;
  padding: 10px 5px;
  box-sizing: border-box;
  text-align: center;

  background: #fff0ac;
  color: #78152f;
  border: 1px solid #e2c37e;
  border-radius: 9px;

  box-shadow: 2px 3px 0 #d7ae79;

  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* CURRENTLY — ZIGZAG BUBBLE LAYOUT */

.left-sidebar .currently-box {
  min-width: 0;
}

.left-sidebar .currently-box .status-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: max-content;
  max-width: 78%;
  min-width: 0;
  min-height: 74px;
  margin: 0 0 17px;
  padding: 14px 19px;
  box-sizing: border-box;

  text-align: center;
  overflow-wrap: anywhere;

  background: linear-gradient(
    145deg,
    #fff9d1 0%,
    #ffeda0 70%,
    #f5d477 100%
  );

  border: 1px solid #e3c277;
  border-radius: 48% 52% 50% 50% /
                 55% 48% 52% 45%;

  box-shadow:
    3px 5px 0 #d4a66a,
    5px 8px 12px rgba(121, 68, 43, 0.19),
    inset 2px 3px 4px rgba(255, 255, 255, 0.65);

  color: #78152f;
  transform-origin: center;
}

/* Alternate bubble placement */
.left-sidebar .currently-box .status-row:nth-of-type(odd) {
  margin-right: auto;
}

.left-sidebar .currently-box .status-row:nth-of-type(even) {
  margin-left: auto;
  border-radius: 55% 45% 48% 52% /
                 47% 56% 44% 53%;
}

/* Small labels inside bubbles */
.left-sidebar .currently-box .status-label {
  display: block;
  margin-bottom: 4px;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: #982a4a;
}

/* Supabase-powered current status text */
.left-sidebar .currently-box .status-row span:not(.status-label) {
  display: block;
  color: #68142e;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

/* Playful wiggle on hover */
@keyframes shyBubbleWiggle {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  20% {
    transform: translateX(-3px) rotate(-4deg);
  }
  40% {
    transform: translateX(3px) rotate(4deg);
  }
  60% {
    transform: translateX(-2px) rotate(-2deg);
  }
  80% {
    transform: translateX(2px) rotate(2deg);
  }
}

.left-sidebar .currently-box .status-row:hover {
  animation: shyBubbleWiggle 0.45s ease-in-out;
}

/* Keep footer underneath the bubbles */
.left-sidebar .currently-box .status-footer {
  clear: both;
  margin-top: 14px;
  text-align: center;
}

/* Accessibility: respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .left-sidebar .currently-box .status-row:hover {
    animation: none;
  }
}
/* Give the zigzag bubbles a little breathing room */

.left-sidebar .currently-box .status-row {
  max-width: 76%;
}

.left-sidebar .currently-box .status-row:nth-of-type(odd) {
  margin-left: 4px;
}

.left-sidebar .currently-box .status-row:nth-of-type(even) {
  margin-right: 4px;
}

/* =====================================
   XOXO SHYSHY — ANIMATED SIDEBAR GIFS
   ===================================== */

.home-sidebar .sidebar-gif {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 5px;
  box-sizing: border-box;
  background: transparent;
}

.home-sidebar .sidebar-gif img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 230px;
  height: auto;
  object-fit: contain;
  border: none;
  box-shadow: none;
}

/* =====================================
   XOXO SHYSHY — 3D KINDLE BOOKSHELF
   ===================================== */

.right-sidebar .kindle-widget {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  padding: 8px 0 20px;
}

.right-sidebar .kindle-widget h2 {
  font-family: Georgia, serif;
  font-size: 19px;
  color: #760E29;
  margin: 0 0 18px;
}

.right-sidebar .kindle-device {
  width: 210px;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 12px 13px;
  box-sizing: border-box;

  background: linear-gradient(
    120deg,
    #fce3e9,
    #f3b9c9 60%,
    #d88fa9
  );

  border: 3px solid #923c60;
  border-radius: 18px;

  box-shadow:
    5px 6px 0 #a36682,
    9px 12px 15px rgba(55, 27, 57, 0.25);
}

.right-sidebar .kindle-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  background: #FFF9EC;
  border: 3px solid #78394e;
  border-radius: 7px;
  padding: 13px 9px;

  box-shadow: inset 2px 3px 7px rgba(55, 27, 57, 0.13);
}

.right-sidebar .kindle-reading {
  margin: 0;
  color: #760E29;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.right-sidebar .kindle-book-cover {
  display: block;
  width: 112px;
  max-width: 100%;
  height: auto;
  max-height: 165px;
  object-fit: contain;

  box-shadow: 3px 4px 5px rgba(55, 27, 57, 0.25);
}

.right-sidebar .kindle-stars {
  color: #b37b16;
  font-size: 19px;
  letter-spacing: 2px;
  line-height: 1.3;
}

/* SHY'S BOOKSHELF — READABLE STICKER HEADING */

.right-sidebar .kindle-widget h2 {
  display: inline-block;

  background: #F6E5A7;
  color: #760E29;

  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: bold;
  text-align: center;

  padding: 10px 16px;
  margin: 0 0 20px;

  border: 2px solid #760E29;
  border-radius: 12px;

  box-shadow: 4px 4px 0 #760E29;
}
/* LOVE LETTER CLUB — EMBED FIX */

.love-letter-embed {
  display: block;
  width: 100%;
  height: 460px;
  min-height: 460px;
  border: none;
  overflow: auto;
}
.read-more-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}
