/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Jersey+15&family=Poppins:wght@400;600;700&display=swap');

/* Base */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* Typography */
h1 {
  font-family: 'Jersey 15', sans-serif;
  font-size: 4em;
  margin-bottom: 1em;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5em;
}

h2 {
  font-family: 'Jersey 15', sans-serif;
  font-size: 3em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* Links */
a {
  color: #000;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Navigation Table */
.nav-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
}

.nav-table th,
.nav-table td {
  border: 1px solid #000;
  padding: 12px;
  text-align: left;
}

.nav-table th {
  background-color: #000;
  color: #fff;
  font-weight: bold;
}

.nav-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2em;
  padding: 10px 0;
  border-bottom: 1px solid #000;
}

.breadcrumb a {
  margin-right: 5px;
}

.breadcrumb span {
  margin: 0 5px;
}

/* Layout for pages */
.page-container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 50px;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Profile Card */
.profile-card {
  text-align: center;
  margin-bottom: 2em;
  padding-bottom: 0;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1em;
  display: block;
}

.profile-nickname {
  font-family: 'Jersey 15', sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 0.3em;
}

.profile-payoff {
  font-family: 'Jersey 15', sans-serif;
  font-size: 0.85em;
  color: #333;
  font-style: italic;
  padding-bottom: 1.5em;
  text-align: center;
}

/* Sidebar Navigation */
.sidebar {
  min-width: 200px;
  border-right: 1px solid #000;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.sidebar h3 {
  font-size: 1.2em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
}

.sidebar nav ul {
  list-style: none;
}

.sidebar nav ul li {
  margin-bottom: 0.5em;
}

.sidebar nav ul li a {
  font-family: 'Jersey 15', sans-serif;
  font-size: 1.3em;
}

.sidebar nav ul li.active a {
  font-weight: bold;
}

/* Home Link */
.home-link {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 0.9em;
  font-style: italic;
  z-index: 1000;
}

.home-link a {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}

.home-link a:hover {
  text-decoration: underline;
}

/* Main Content */
.main-content {
  flex: 1;
}

.subpage-content {
  padding-top: 40px;
}

.main-content h1 {
  margin-top: 0;
}

/* Homepage Two-Column Layout */
.home-layout {
  display: flex;
  gap: 40px;
}

.home-left-column {
  width: 400px;
  flex-shrink: 0;
}

.home-right-column {
  width: 450px;
  flex-shrink: 0;
}

/* Update Log - Pixelated Gray Style */
.update-log {
  background: linear-gradient(135deg, #d9d9d9 0%, #c0c0c0 100%);
  border: 3px solid #a0a0a0;
  border-radius: 0;
  padding: 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    4px 4px 0 rgba(0, 0, 0, 0.2);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.update-log h3 {
  font-family: 'Jersey 15', sans-serif;
  font-size: 1.8em;
  color: #000;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.log-entries {
  max-height: 180px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #a0a0a0 #c0c0c0;
}

.log-entries::-webkit-scrollbar {
  width: 8px;
}

.log-entries::-webkit-scrollbar-track {
  background: #c0c0c0;
}

.log-entries::-webkit-scrollbar-thumb {
  background: #a0a0a0;
  border: 1px solid #808080;
}

.log-entry {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px;
  margin-bottom: 12px;
  backdrop-filter: blur(5px);
}

.log-entry:last-child {
  margin-bottom: 0;
}

.log-date {
  font-family: 'Jersey 15', sans-serif;
  font-size: 0.9em;
  color: #000;
  margin-bottom: 6px;
  font-weight: bold;
}

.log-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9em;
  line-height: 1.5;
}

/* Activity Log - Minimal Technical Style */
.activity-log {
  background-color: #c5d1bc;
  border: 1px dashed #333;
  padding: 15px;
  margin-bottom: 2em;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.activity-log h3 {
  font-family: 'Jersey 15', monospace;
  font-size: 1.8em;
  color: #143d14;
  margin: 0 0 10px 0;
  padding-bottom: 5px;
  border-bottom: 1px dotted #333;
  text-shadow: none;
  text-transform: lowercase;
}

.activity-entries {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #999 #ccc;
}

.activity-entries::-webkit-scrollbar {
  width: 6px;
}

.activity-entries::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 3px;
}

.activity-entries::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 3px;
}

.activity-entry {
  background: transparent;
  border: none;
  padding: 5px 0;
  margin-bottom: 15px;
  backdrop-filter: none;
}

.activity-entry:last-child {
  margin-bottom: 0;
}

.activity-date {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #265c26;
  margin-bottom: 2px;
  font-weight: bold;
  text-transform: uppercase;
}

.activity-date::before {
  content: "ENTRY [";
}

.activity-date::after {
  content: "]";
}

.activity-text {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  color: #0a290a;
  line-height: 1.4;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px;
  margin-bottom: 0;
}

.hero h1 {
  font-family: 'Magilio', cursive;
  font-size: 5em;
  line-height: 1.2;
  border: none;
  padding: 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3em;
  }
}

/* Image with Caption */
.image-with-caption {
  margin-top: 2em;
}

.shadow-image {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.image-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-style: italic;
  margin-top: 0.5em;
  text-align: left;
}

/* Cat Carousel */
.cat-carousel-container {
  margin-bottom: 2em;
}

.cat-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #000 #f5f5f5;
}

.cat-carousel::-webkit-scrollbar {
  height: 8px;
}

.cat-carousel::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.cat-carousel::-webkit-scrollbar-thumb {
  background: #000;
}

.carousel-image {
  flex-shrink: 0;
  width: 200px;
  height: 250px;
  object-fit: cover;
  border: none;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.carousel-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-style: italic;
  margin-top: 0.5em;
  text-align: left;
}

/* WIP Placeholder */
.wip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 400px;
}

.wip-image {
  max-width: 150px;
  width: 100%;
  height: auto;
  margin-bottom: 2em;
}

.wip-title {
  font-family: 'Jersey 15', sans-serif;
  margin: 0;
  border: none;
  padding: 0;
}

/* Music Grid */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.music-grid iframe {
  width: 100%;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.music-grid iframe:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.music-full-width {
  margin-top: 20px;
  width: 100%;
}

.music-full-width iframe {
  width: 100%;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.music-full-width iframe:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  grid-column: 1 / -1;
  border-top: 1px solid #000;
  padding: 20px 0 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9em;
  margin: 0 0 15px 0;
}

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-link:hover {
  opacity: 0.7;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.social-icon.sage {
  color: #9caf88;
}

.social-icon.dark-green {
  color: #5d7a52;
}

.social-icon.olive {
  color: #7a9b6f;
}

.social-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7em;
  font-style: italic;
  color: #000;
}

/* Bookshelf Layout */
.bookshelf-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Featured Books Section */
.featured-books h2 {
  font-family: 'Jersey 15', sans-serif;
  font-size: 2.5em;
  margin-bottom: 30px;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.books-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  /* Center items if few */
}

.book-card {
  width: 200px;
  text-align: center;
  /* Optional: background/border for card */
}

.book-cover {
  width: 100%;
  height: 300px;
  /* Fixed height for uniformity */
  background-color: #ddd;
  /* Placeholder color */
  border: 1px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  color: #666;
  font-style: italic;
  object-fit: cover;
}

.book-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1em;
  line-height: 1.3;
  margin-bottom: 5px;
}

.book-author {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-size: 0.9em;
  color: #555;
}

/* Reading Tracker Section */
.reading-tracker h2 {
  font-family: 'Jersey 15', sans-serif;
  font-size: 2.5em;
  margin-bottom: 30px;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.tracker-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  border: 2px solid #000;
}

.tracker-table th,
.tracker-table td {
  border: 1px solid #000;
  padding: 12px 15px;
  text-align: left;
}

.tracker-table th {
  background-color: #f0f0f0;
  font-family: 'Jersey 15', sans-serif;
  font-size: 1.3em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tracker-table tr:hover {
  background-color: #fafafa;
}

.rating-stars {
  color: #d4a017;
  /* Gold/Yellowish color */
  letter-spacing: 2px;
}

/* Book Quotes Gallery */
.quotes-gallery h2 {
  font-family: 'Jersey 15', sans-serif;
  font-size: 2.5em;
  margin-bottom: 30px;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.quote-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 30px;
  box-shadow: 5px 5px 0 #f0f0f0;
  position: relative;
  transition: transform 0.2s ease;
}

.quote-card:hover {
  transform: translateY(-5px);
  border-color: #000;
  box-shadow: 5px 5px 0 #000;
}

.quote-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  /* Elegant serif */
  font-size: 1.1em;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 15px;
  color: #333;
}

.quote-author {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85em;
  text-align: right;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quote-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 3em;
  color: #eee;
  font-family: serif;
  line-height: 1;
  z-index: 0;
}

.quote-content {
  position: relative;
  z-index: 1;
}


/* Profile Page Layout */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.astrology-section,
.fun-facts-section,
.bio-section {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
}

.bio-section {
  grid-column: 1 / -1;
  /* Spans full width */
}

.astro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.astro-card {
  text-align: center;
  padding: 10px;
  border: 1px dashed #ccc;
  background-color: #fff;
}

.astro-icon {
  font-size: 2em;
  display: block;
  margin-bottom: 5px;
}

.astro-card h3 {
  font-size: 1.2em;
  margin: 0;
  border: none;
}

.facts-list {
  list-style: none;
  padding: 0;
}

.facts-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.facts-list li:last-child {
  border-bottom: none;
}