/* Color Palette Custom Properties */
:root {
    --bg-main: #0a0b10;
    --bg-surface: #121420;
    --text-main: #f3f4f6;
    --text-muted: #a0aec0;
    
    --color-pink: #ff79c6;
    --color-purple: #bd93f9;
    --color-green: #50fa7b;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* --- MODULAR NAVIGATION --- */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--bg-surface);
    border-bottom: 1px solid rgba(189, 147, 249, 0.2);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--color-pink), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Forces the link inside the logo block to absorb the gradient colors correctly */
.nav-logo a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(45deg, var(--color-pink), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-pink);
}

/* --- MAIN CONTENT & HERO --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.landing-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.landing-hero h1 {
    font-size: 4rem;
    margin: 0;
    background: linear-gradient(45deg, var(--color-pink), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--color-green);
    font-style: italic;
    margin-top: 0.5rem;
}

.description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 2rem 0;
}

/* Interactive CTA Button */
.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--color-pink);
    border: 2px solid var(--color-pink);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--color-pink);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(255, 121, 198, 0.4);
}

/* --- SHOWCASE MEDIA GRID --- */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.media-card {
    background-color: var(--bg-surface);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-purple);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-purple);
}

.media-card h3 {
    margin: 0 0 1rem 0;
    font-family: sans-serif;
    font-size: 1.3rem;
}

.media-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    font-family: sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-green);
    border: 1px solid var(--color-green);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background-color: rgba(80, 250, 123, 0.1);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 3rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;

/* --- 404 SAFETY NET DESIGN --- */
.safety-net .error-code {
    font-size: 6rem;
    font-weight: bold;
    font-family: sans-serif;
    color: var(--color-purple);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(189, 147, 249, 0.3);
}

.safety-net h2 {
    color: var(--color-pink) !important;
}

/* Universal Link Styling Fixes */
a {
    color: var(--color-green); /* Changes bright blue links to your emerald green */
    text-decoration: none;     /* Removes standard underlining */
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-pink);  /* Glows orchid pink when hovered over */
}

/* Specific cleanup for lists */
.chapter-list a {
    color: var(--color-green);
    font-size: 1.1rem;
}
}
