/* Section Container & Reveal Animation */
.interests-section {
  display: none;
  opacity: 0;
  transform: translateY(18px) rotate(-0.5deg);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 10px 0 40px;
  width: 100%;
}

.interests-section.interests-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transform: translateY(0) rotate(0deg);
  margin-bottom: 44px;
}

/* Header Label Above Notebook */
.interests-tab-row {
  width: min(92vw, 560px);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.interests-tab-row::before,
.interests-tab-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.interests-tab {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

/* The Notebook Sheet */
.notebook-sheet {
  background: #faf7f0;
  border: 1px solid #ddd8cc;
  border-radius: 4px;
  position: relative;
  width: min(92vw, 560px);
  box-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.25),
    8px 8px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  overflow: hidden;
}

/* Sidebar & Holes */
.notebook-holes {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 38px;
  background: #f0ece2;
  border-right: 1px solid #ddd8cc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 22px 0;
  z-index: 2;
}

.notebook-hole {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1a1714; /* Match site background to look like a hole */
  border: 1px solid #bbb8b0;
  flex-shrink: 0;
}

/* Notebook Content Area */
.notebook-body {
  margin-left: 38px;
  padding: 22px 26px;
  flex-grow: 1;
}

.notebook-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc8b8;
  padding-bottom: 13px;
  margin-bottom: 4px;
}

.notebook-store {
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3a2e20;
}

.notebook-sub {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b0a090;
}

/* List Lines */
.notebook-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #ede9e0;
  font-family: Georgia, serif;
  font-size: 13.5px;
  color: #3a2e20;
  line-height: 1.45;
  opacity: 0;
  animation: notebook-line-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.notebook-line:last-of-type {
  border-bottom: none;
}

.notebook-freq {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b0a090;
  flex-shrink: 0;
}

/* Footer Section */
.notebook-divider {
  border: none;
  border-top: 1px dashed #ccc8b8;
  margin: 11px 0;
}

.notebook-footer-text {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c0b8a8;
  text-align: center;
  display: block;
}

/* Folded Corner */
.notebook-corner {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 24px 24px;
  border-color: transparent transparent #ddd8cc transparent;
  z-index: 3;
}

.notebook-corner-inner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 22px 22px;
  border-color: transparent transparent #1a1714 transparent; /* Match site background */
  z-index: 4;
}

/* Animations */
@keyframes notebook-line-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 560px) {
  .notebook-sheet {
    width: 94vw;
  }
  .notebook-body {
    padding: 18px 14px;
  }
  .notebook-line {
    font-size: 12px;
  }
}
