/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almendra+SC&display=swap');

/* ROOT VARIABLES */
:root {
    --moonlit-night: #1B1B2F;
    --star-light: #fbf9f5;
    --soft-gold: #D9C58F;
    --glow-color: rgba(212, 175, 55, 0.8);
    --banner-height: 120px;
    --scroll-height: 56px;
}

/* BASE */
* { box-sizing: border-box; }
html, body {
    margin: 0;
    height: 100%;
    font-family: Georgia, serif;
    color: var(--star-light);
    background: var(--moonlit-night);
}

/* BANNER */
.banner-wrapper {
    width: 100%;
    background: url('../images/journal-star-bg.png') center top no-repeat;
    background-size: cover;
    padding: 24px 0;
    display: flex;
    justify-content: center;
}

.banner {
    width: 95%;
    max-width: 1200px;
    border-radius: 12px;
    border: 2px solid rgb(205,205,205);
    box-shadow: 0 8px 40px rgba(221, 221, 221, 0.6);
}

/* NAV SCROLL */
.scroll-banner {
    width: 100%;
    background: linear-gradient(to bottom, #000000, #87CEEB);
    padding: 16px 0;
    display: flex;
    justify-content: center;
}

.scroll-banner ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.scroll-banner a {
    font-family: 'Cinzel Decorative', serif;
    color: var(--soft-gold);
    font-size: 1.5rem;
    text-decoration: none;
}

.scroll-banner a:hover { color: var(--glow-color); }

.rune {
    font-family: 'Uncial Antiqua', serif;
    color: var(--soft-gold);
    font-size: 1.2rem;
    padding: 0 4px;
    opacity: 0.9;
}

/* LIBRARY BACKGROUND */
.library-background {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: linear-gradient(to bottom, #87CEEB, #000000, #000000);
    position: relative;
    padding-bottom: 40px; 
}

.library-image-wrapper {
    width: 100%;
    position: relative; 
    display: flex;
    justify-content: center;
}

.library-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ZONE BAR */
.zone-bar {
    position: absolute;
    bottom: 5%; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.044);
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    z-index: 2;
}

/* CLICKABLE ZONES */
.click-zone {
    width: 150px;
    height: 200px;
    display: block;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: url('../images/book-cover.png') center center no-repeat;
    background-size: cover;
}

.click-zone:hover {
    box-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color);
    transform: scale(1.05);
}

/* RESPONSIVE */
@media(max-width: 1024px) {
    .banner { width: 90%; }
    .scroll-banner a { font-size: 1.3rem; }
    .rune { font-size: 1rem; }
    .click-zone { width: 120px; height: 160px; }
}

@media(max-width: 800px) {
    .click-zone { width: 100px; height: 150px; }
    .library-image { max-width: 90%; }
}

@media(max-width: 480px) {
    .scroll-banner a { font-size: 1rem; }
    .rune { font-size: 0.8rem; }
    .click-zone { width: 90px; height: 130px; }
}