/* ============================================
   NAVIGATION
   ============================================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 1000;
  background: #F3E3A5;
  color: #6A6102;
}

.top-nav span {
  font-size: 0.9rem;
}

.top-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.3rem 0.8rem;
}

.top-nav a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ============================================
   LANDING GRID LAYOUT
   ============================================ */
.landing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 2rem 2rem 2rem;
  /* Only clears nav now */
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-content);
  color: var(--text-content);
}

/* ============================================
   LEFT COLUMN
   ============================================ */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-row h1 {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: normal;
  margin: 0;
  color: var(--text-content);
}

.small-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-left: auto;
}

.cover-box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-h2);
  padding: 1rem;
}

.cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.synopsis-box {
  background: var(--bg-h2);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.synopsis-box h2 {
  font-family: monospace;
  font-size: 1rem;
  font-weight: normal;
  margin: 0 0 1rem 0;
  color: var(--text-content);
  opacity: 0.7;
}

.synopsis-box p {
  font-family: var(--font-content);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-content);
}

/* ============================================
   RIGHT COLUMN
   ============================================ */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chapters-box {
  background: var(--bg-h2);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex: 1;
}

.chapters-box h2 {
  font-family: monospace;
  font-size: 1rem;
  font-weight: normal;
  margin: 0 0 1rem 0;
  color: var(--text-content);
  opacity: 0.7;
}

.chapter-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chapter-links a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  border: 1px solid black;
  border-radius: 20px;
  background: linear-gradient(to right,
  #5B036A 0%,
  #5B036A 65%,
  #CEC711 100%);
  
}

.chapter-links a:hover {
  background: var(--text-content);
  color: var(--bg-content);
}

.gallery-box {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.gallery-box a {
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.5rem;
}

.gallery-box a:hover {
  opacity: 0.7;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 700px) {
  .landing-grid {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }
}
.site-footer {
    background: var(--bg-h2);
    color: var(--text-content);
    padding: 2rem;
    text-align: center;
    font-family: monospace;
    font-size: 0.8rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 2rem;
    background: #F3E3A5;
}

.site-footer p {
    margin: 0.5rem 0;
    opacity: 0.7;
}

.site-footer a {
    text-decoration: underline;
}

.site-footer a:hover {
    opacity: 0.7;
}


/* splash*/
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.15s ease-out;
    pointer-events: auto; /* Active when visible */
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none; /* CRITICAL: let clicks through when hidden */
}

/* Reading pages - dark */
.splash-screen.reading {
    background: #171717;
}

/* Normal pages - brown */
.splash-screen.normal {
    background: #F3E3A5;
}

.splash-logo {
    max-width: 300px;
    width: 90%;
    height: auto;
    pointer-events: none; /* Logo never blocks clicks */
}

/*notes*/

.notes-box {
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.notes-box a {
    color: var(--text-content);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.5rem;
}

.notes-box a:hover {
    opacity: 0.7;
}

body{
  background: #FFF;
}
.isekailogo {
  max-width: 10rem;
}