:root {
    --bg-color: #050505;
    --text-color: #b8b8b8;
    --accent-white: #ffffff;
    --accent-red: #9e0024; 
    --bright-red: #d10030; 
    --border-style: 1px solid rgba(158, 0, 36, 0.5);
}

* { box-sizing: border-box; }

body {
    cursor: url("https://files.catbox.moe/7o0qlw.cur") 16 16, auto;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Cormorant Garamond', serif;
    min-height: 100vh;
}

/* Global Link Fix: Removes default blue */
a {
    text-decoration: none;
    color: var(--accent-red);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    cursor: url("https://files.catbox.moe/7o0qlw.cur") 16 16, pointer;
}

a:hover {
    color: var(--bright-red);
    text-shadow: 0 0 10px rgba(209, 0, 48, 0.4);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('tumblr_14a5d48f0c60aefd5892cda8a5ef0ad8_e1fa7296_250.jpg');
    background-repeat: repeat;
    background-size: 250px;
    opacity: 0.15;
    z-index: -1;
}

/* LOADER */
#loader-wrapper {
    position: fixed;
    inset: 0;
    background: #050505;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1.2s ease, visibility 1.2s;
}

.loader-hidden { opacity: 0; visibility: hidden; }

.custom-heart {
    width: 120px;
    filter: drop-shadow(0 0 10px var(--accent-red));
    animation: heartBeat 1.2s infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.loading-text {
    font-family: 'Cinzel', serif;
    letter-spacing: 5px;
    font-size: 0.7rem;
    color: var(--accent-red);
    opacity: 0.6;
    margin-top: 20px;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    backdrop-filter: blur(6px);
    background: rgba(5, 5, 5, 0.75);
    border-bottom: var(--border-style);
    z-index: 100;
    display: flex; 
    justify-content: center;
}

.navbar-inner {
    width: 90%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo span {
    font-family: 'Cinzel', serif;
    letter-spacing: 6px;
    font-size: 0.8rem;
    color: var(--accent-white);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 4px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-links li:hover,
.nav-links .active {
    opacity: 1;
    color: var(--bright-red);
}

/* CONTENT */
.content-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 80px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.issue-line {
    text-align: center;
    letter-spacing: 5px;
    opacity: 0.5;
    margin: 0;
    font-size: 0.65rem;
}

.title-box h1 {
    font-family: 'Cinzel', serif;
    letter-spacing: 10px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--accent-white);
    margin: 15px 0;
    text-align: center;
}

.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--accent-red);
    opacity: 0.6;
    font-size: 1.5rem;
}

.divider::before,
.divider::after {
    content: "";
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-red));
}

.divider::after {
    background: linear-gradient(to left, transparent, var(--accent-red));
}

.story-header { text-align: center; }

.decorative-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 5px;
    margin-bottom: 6px;
}

.diary-sigil {
    width: 60px;
    margin: 12px auto 0;
    display: block;
    opacity: 0.35;
    filter: drop-shadow(0 0 6px rgba(77, 0, 17, 0.6));
    mix-blend-mode: screen;
}

.paragraph-container p:first-of-type::first-letter {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    float: left;
    margin-right: 20px;
    line-height: 0.7;
    color: var(--accent-red);
}

.bottom-nav {
    width: 100%;
    padding: 60px 0;
    border-top: var(--border-style);
    display: flex;
    justify-content: center;
}

.design-credit {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 8px;
    color: var(--accent-red);
    text-decoration: none;
    transition: 0.4s ease;
}

.design-credit:hover {
    color: var(--bright-red);
    text-shadow: 0 0 10px rgba(114, 0, 28, 0.5);
}