/* Base Theme Settings */
:root {
    --bg-color: #0d0d0d;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --accent: #b22222; /* Blood red accent */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the footer stays at the very bottom */
}

/* Shared Nav & Footer */
nav {
    background-color: #1a1a1a;
    padding: 15px 0;
    text-align: center;
    border-bottom: 2px solid var(--accent);
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 20px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Arial', sans-serif;
    border-top: 1px solid #333;
    margin-top: auto; /* Pushes footer down if the page is short */
}

/* Typography & Headers */
header {
    text-align: center;
    padding: 60px 20px 20px;
}

header h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 600px;
    margin: 20px auto;
}

/* Layout Containers */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    font-size: 1.15rem;
}

.coming-soon-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    flex: 1;
}

.coming-soon-container h1 { font-size: 3rem; letter-spacing: 5px; text-transform: uppercase; margin: 0; }
.coming-soon-container p { font-size: 1.2rem; font-style: italic; color: var(--text-muted); border-top: 1px solid #333; padding-top: 20px; margin-top: 20px; max-width: 600px; }

/* Custom Elements (Lore, Spotlights, Lists) */
.section-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.book-spotlight {
    background: #1a1a1a;
    padding: 30px;
    border-left: 4px solid var(--accent);
    margin-top: 40px;
}

blockquote {
    border-left: 3px solid var(--accent);
    margin: 30px 0 30px 20px;
    padding-left: 20px;
    font-style: italic;
    color: #b3b3b3;
    font-size: 1.2rem;
}

.kinds-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    margin-bottom: 50px;
}

.kinds-list li {
    background: #1a1a1a;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 4px solid var(--accent);
}

.kinds-list strong {
    color: var(--accent);
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}


/* --- Interactive Kinds Page --- */
.kinds-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.kind-icon {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    padding: 0;
    overflow: hidden;
}

/* If you add images later, this makes them fit the circle perfectly */
.kind-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* Hidden until you add real image paths */
}

.kind-icon:hover {
    border-color: var(--accent);
    color: var(--text-main);
    transform: scale(1.1);
}

.kind-icon.active {
    border-color: var(--accent);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(178, 34, 34, 0.6);
    transform: scale(1.15);
}

.kind-display {
    background: #1a1a1a;
    padding: 40px;
    border-left: 4px solid var(--accent);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    touch-action: pan-y; /* Allows normal vertical scrolling on phones */
}

/* A subtle fade effect when the text changes */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}