/* ════════════════════════════════════════════════
   FONTS
════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Caveat:wght@400;600&family=Cinzel+Decorative:wght@700&display=swap');

/* ════════════════════════════════════════════════
   RESET
════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #5a1525; border-radius: 3px; }

/* ════════════════════════════════════════════════
   BODY
════════════════════════════════════════════════ */
html, body {
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  background-image: url('assets/panic_new_bg.jpg');
  background-position: top;
  background-attachment: fixed;
  cursor: url('https://cdn.cursors-4u.net/previews/toad-mario-fe5d7381-32.webp') 32 32, default;
}

a:hover,
   button:hover {
     cursor: url('https://cdn.cursors-4u.net/previews/toad-mario-world-help-select-969e46e0-32.webp') 38 39, auto;
   }

/* ════════════════════════════════════════════════
   HEADER — sits behind side panels
════════════════════════════════════════════════ */
.header-frame {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1500px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  pointer-events: none;
  z-index: 5;
}

/* ════════════════════════════════════════════════
   THREE-COLUMN LAYOUT
════════════════════════════════════════════════ */
.page-columns {
  position: fixed;
  top: 0;
  bottom: 45px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 8px 28px 0;
  z-index: 30;
}

/* ════════════════════════════════════════════════
   NAV PANEL — left green book, overlaps header
════════════════════════════════════════════════ */
.nav-panel {
  flex: 0 0 auto;
  width: 310px;
  height: calc(100% - 190px);
  background-image: none;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 22px;
  position: relative;
  z-index: 60;
}

.nav-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/nav_bg_new.png');
  background-size: contain;
  background-position: center;
  mix-blend-mode: lighten;
  z-index: auto;
  pointer-events: none;
}

.nav-title {
  position: relative;
  z-index: 1;
  font-family: 'Pinyon Script', cursive;
  font-size: 35px;
  color: #f0e8c8;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}


.nav-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto;
  gap: 15px 30px;
  width: 50%;
  flex: 1;
  align-content: center;
  justify-content: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
}

.nav-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(1px 2px 5px rgba(0, 0, 0, 0.45));
  transition: transform 0.15s ease;
}

.nav-item:hover img {
  transform: scale(1.08);
}

.nav-item span {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: #f0e8c8;
  text-align: center;
  line-height: 1.2;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

/* ════════════════════════════════════════════════
   PAPER PANEL — center, sits below header
════════════════════════════════════════════════ */
.paper-panel {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  height: min(920px, calc(100vh - 125px));
  position: relative;
  overflow: visible;
}

.paper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 70px 80px 26px;
}

.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/main_text.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: -1;
  pointer-events: none;
}

/* ════════════════════════════════════════════════
   SITE TITLE
════════════════════════════════════════════════ */
.site-above-title {
  font-family: Arial, sans-serif;
  font-size: 9.5px;
  color: #ebc028;
  text-align: center;
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  z-index: 5;
}

.site-title {
  font-family: 'Pinyon Script', cursive;
  font-size: 30px;
  color: #1e0c04;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 16px;
  text-align: center;
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.4),
    -1px -1px 1px rgba(0, 0, 0, 0.08);
}

/* ════════════════════════════════════════════════
   INTRO TEXT
════════════════════════════════════════════════ */
.site-intro {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: #281206;
  line-height: 1.0;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 11px;
  z-index: 3;
}

/* ════════════════════════════════════════════════
    SOCIALS
════════════════════════════════════════════════ */
.socials {
  position: absolute;
  top: 8px;
  left: 7%;
  width: 45%;
  font-family: 'Caveat', cursive;
  font-size: 15px;
  color: #000000;
  text-align: center;
  z-index: 2;
}


/* ════════════════════════════════════════════════
   ENTRIES HEADING
════════════════════════════════════════════════ */
.entries-heading {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 20px;
  color: #1a0a04;
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

/* ════════════════════════════════════════════════
   ENTRIES SECTION
════════════════════════════════════════════════ */
.entries-section {
  position: relative;
  height: 150px;
  overflow: visible;
}

.blog-bg-img {
  position: absolute;
  width: auto;
  height: 160%;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.entries-scroll {
  position: absolute;
  z-index: 1;
  top: 10px;
  bottom: -20px;
  left: 53%;
  width: 38%;
  overflow-y: auto;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(55, 22, 6, 0.58);
}


/* ════════════════════════════════════════════════
   STATUS (prev blog) ENTRIES
════════════════════════════════════════════════ */
.blog-entry {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(160, 100, 40, 0.22);
}

.blog-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-entry-date {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 13px;
  color: #f5a84a;
  font-style: italic;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 3px;
}

.blog-entry-text {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

/* ════════════════════════════════════════════════
   PAPER FOOTER TEXT
════════════════════════════════════════════════ */
.paper-footer-text {
  position: relative;
  z-index: 5;
  font-family: 'Caveat', cursive;
  font-size: 21px;
  color: #281206;
  line-height: 1.65;
  margin-top: 160px;
  text-align: center;
}

/* ════════════════════════════════════════════════
   CORNER FLOWERS
════════════════════════════════════════════════ */
.corner-flowers {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 170px;
  pointer-events: none;
  z-index: 15;
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.5));
}

/* ════════════════════════════════════════════════
   OTHER PANEL — right dark ornate book, overlaps header
════════════════════════════════════════════════ */
.other-panel {
  flex: 0 0 auto;
  width: 380px;
  position: relative;
  bottom: 3%;
  align-self: center;
  z-index: 60;
}

.other-full-deco {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 55px);
  object-fit: contain;
  object-position: top;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.75));
}

/* ════════════════════════════════════════════════
   CALENDAR WIDGET
════════════════════════════════════════════════ */
.calendar-widget {
  position: absolute;
  top: 22%;
  right: 23%;
  height: 25%;
  width: 36%;
  background: rgba(245, 232, 206, 0.84);
  border: 1px solid rgba(140, 100, 50, 0.45);
  padding: 10px 6px;
  border-radius: 2px;
}

.cal-header {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  color: #2a1500;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(100, 60, 20, 0.3);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.cal-grid span {
  font-family: Arial, sans-serif;
  font-size: 7px;
  color: #2a1500;
  line-height: 1.5;
  background: rgba(100, 100, 100, 0.45);
  margin: 1px;
}

.cal-label {
  font-weight: bold;
  color: #7a3a10 !important;
  background: transparent;
  border-bottom: 1px solid rgba(100, 60, 20, 0.2);
  margin: 1px;
}

/* ════════════════════════════════════════════════
   MUSIC PLAYER
════════════════════════════════════════════════ */
.music-player {
  position: absolute;
  top: 50%;
  left: 18%;
  right: 18%;
  height: 10%;
  color: #ddd0b5;
  font-family: Arial, sans-serif;
  background: rgba(40, 40, 40, 0.82);
  padding: 5px 10px;
  border-radius: 4px;
}

.music-now {
  font-size: 7px;
  opacity: 0.75;
  margin-bottom: 1px;
}

.music-title {
  font-size: 9px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 3px;
}

.music-bar-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.music-time {
  font-size: 5px;
  opacity: 0.75;
  white-space: nowrap;
}

.music-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
}

.music-progress {
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
}

.music-vol {
  font-size: 5px;
}

/* ════════════════════════════════════════════════
   PIANO FOOTER
════════════════════════════════════════════════ */
.piano-footer-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  z-index: 100;
  background-image: url('assets/piano_footnote1.png');
  background-repeat: repeat-x;
  background-size: auto 45px;
  background-position: left bottom;
}

/* ════════════════════════════════════════════════
   HYPERLINKS
════════════════════════════════════════════════ */
a:link {
  color: #28b02b;
  background-color: transparent;
  font-weight: bold;
}

a:visited {
  color: #5a8ffa;
  background-color: transparent;
  text-decoration: underline;
}

a:hover {
  color: #ebc028;
  background-color: transparent;
  text-decoration: underline;}