/* 1. FONT DEFINITIONS */
@font-face {
    font-family: 'AntiqueHeading';
    src: url('Assets/fonts/CLAntique-No11.otf');
    font-weight: normal;
}
@font-face {
    font-family: 'AntiqueBody';
    src: url('Assets/fonts/CLAntique-No60.otf');
    font-weight: normal;
}

/* 2. BACKGROUND & STARS */
body { 
    margin: 0; 
    background: #000; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}

.stars-background { 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    z-index: -20; 
}

.star { 
    position: absolute; 
    background: #fff; 
    box-shadow: 0 0 4px #fff, 0 0 8px #7df9ff; 
}

.celestial-body.mars {
    position: absolute;
    width: 100px;
    height: auto;
    top: 40px; 
    right: 60px;
    z-index: -15;
    opacity: 0.9;
    filter: contrast(1.1);
}


.sidebar-specimen {
    position: fixed; 
    top: 50px; 
    left: 100px; 
    height: 500px; 
    z-index: 105; 
    filter: sepia(0.3) contrast(1.1);
    opacity: 0.9;
    transition: all 0.5s ease;
    pointer-events: none; 
}

.floating-specimen {
    position: fixed;
    color: #c5b358;
    font-size: 2.5em;
    opacity: 0.5;
    z-index: -10; 
    animation: drift 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* 4. ASYMMETRIC LAYOUT */
.sidebar {
    position: fixed; 
    top: 20px; 
    left: 20px; 
    width: 220px; 
    height: calc(100vh - 40px);
    background: #fffdf5; 
    border: 1px solid #c5b358; 
    padding: 15px;
    z-index: 100;
    box-shadow: 8px 8px 0px rgba(197, 179, 88, 0.2);
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;

.content-scroll { 
    margin-left: 300px; 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
    gap: 80px; 
    position: relative;
    z-index: 50; 
}

.manuscript-box {
    background: #fffdf5; 
    padding: 40px; 
    border: 1px solid #eee; 
    width: 90%; 
    max-width: 550px;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.1); 
    position: relative;
    font-family: 'AntiqueBody', serif;
}

.overlap { align-self: flex-end; transform: rotate(-1deg); }

/* 5. TYPOGRAPHY & INTERFACE */
.site-title, .side-nav, .music-mini {
    position: relative;
    z-index: 110; 
}

.site-title { font-family: 'AntiqueHeading', serif; font-size: 1.8em; text-transform: lowercase; }
.ornament { text-align: center; color: #c5b358; margin: 10px 0; font-size: 1.5em; }

.side-nav { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-top: 30px;
}

.side-nav a { text-decoration: none; color: #777; font-variant: small-caps; transition: 0.3s; }
.side-nav a:hover { color: #c5b358; padding-left: 5px; }

/* THE MUSIC PLAYER MODULE */
music-mini { 
    background: #f9f7f0;
    border: 1px solid #c5b358;
    padding: 5px; /* Minimal padding for the large iframe */
    margin-top: 10px;
    z-index: 110;
}

.track-info {
    text-align: center;
    margin-bottom: 5px;
    border-bottom: 1px double #c5b358;
    padding-bottom: 3px;
}

.song-title {
    font-family: 'AntiqueBody', serif;
    font-size: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artist-name {
    font-family: 'AntiqueBody', serif;
    font-size: 8px;
    color: #c5b358;
    font-style: italic;
}

/* 6. CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #c5b358; }