/* Import a mystical font */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Fauna+One&display=swap');

:root {
    --void-black: #020408;
    --magic-green: #7dffb3;
    --magic-blue: #3a86ff;
    --magic-purple: #8338ec;
    --text-glow: #d1e8ff;
    --prismatic-gradient: linear-gradient(90deg, #ff006e, #8338ec, #3a86ff, #fb5607);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--void-black);
    color: var(--text-glow);
    font-family: 'Fauna One', serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, nav {
    font-family: 'Cinzel', serif;
}

/* THE SHARED HEADER */
header {
    background: rgba(2, 4, 8, 0.9);
    border-bottom: 1px solid rgba(125, 255, 179, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--magic-green);
}

.logo-area img {
    width: 45px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-glow);
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--magic-green);
    text-shadow: 0 0 10px var(--magic-green);
}

/* THE FRONT DOOR (INDEX) HERO */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(2, 4, 8, 0.5), var(--void-black)), url('glade_background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-short {
  height: 60vh;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--prismatic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CONTENT SECTIONS */
.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--magic-green);
}

.quote-box {
    font-style: italic;
    font-size: 1.4rem;
    text-align: center;
    color: var(--magic-green);
    margin: 40px auto;
    padding: 20px;
    border-top: 1px solid rgba(125, 255, 179, 0.3);
    border-bottom: 1px solid rgba(125, 255, 179, 0.3);
    text-shadow: 0 0 8px rgba(125, 255, 179, 0.4);
    max-width: 700px;
    width: 90%;
    text-wrap: balance;
}

/* --- CARDS & ARTICLES --- */
.card {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--magic-purple);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 0 15px 15px 0;
    transition: 0.3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(10px);
}

.card h3 {
    color: var(--magic-green);
    margin-bottom: 10px;
}

.tale-length {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(209, 232, 255, 0.6); /* Muted version of your text-glow */
    margin-bottom: 12px;
    font-family: 'Cinzel', serif; /* Keeps the mystical vibe */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 3px;
}

.card .read-more {
    color: var(--magic-blue);
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

/* Card color modifiers */
.card.blue { border-left-color: var(--magic-blue); }
.card.green { border-left-color: var(--magic-green); }

/* --- UTILITIES --- */
.mt-20 { margin-top: 20px; }

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255,255,255,0.1);
}