/* AnyTale DevLog - Deep Dark Fantasy, zero AI slop */

/* Specific Devlog variables and overrides */
:root {
    --dev-bg: var(--bg-core, #0B0811);
    --dev-surface: var(--bg-surface, #15111B);
    --dev-accent-primary: var(--accent-primary, #9D74FF);
    --dev-accent-crimson: #A22C29;
    /* Deep, muted Burgundy/Crimson */
    --dev-text: var(--text-primary, #F8F7FA);
    --dev-text-muted: var(--text-secondary, #AAA5B8);
    --dev-border: var(--border-subtle, #2D273A);
    --font-epic: 'Cinzel', serif;
}

body {
    background-color: var(--dev-bg);
    color: var(--dev-text);
    /* Removed generic radial-gradient backgrounds */
}

/* Hero Section Enhancements */
.devlog-hero {
    position: relative;
    padding: 200px 0 120px;
    text-align: center;
    border-bottom: 1px solid var(--dev-border);
}

.devlog-hero h1 {
    font-family: var(--font-epic);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--dev-text);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    /* Removed background-clip gradient text and text-shadow */
}

.devlog-hero p {
    font-size: 1.25rem;
    color: var(--dev-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* The Restructured Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 6rem auto 10rem;
    padding: 0 2rem;
}

/* Solid, subtle timeline line instead of glowing gradient */
.timeline::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: -2rem;
    left: 50%;
    width: 1px;
    background-color: var(--dev-border);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Sharp, precise marker instead of glowing pulse */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--dev-bg);
    border: 1px solid var(--dev-accent-primary);
    z-index: 2;
    transition: background-color 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: var(--dev-accent-primary);
}

/* Mature Card Design */
.dev-card-premium {
    width: calc(100% - 100px);
    max-width: 860px;
    background: var(--dev-surface);
    border: 1px solid var(--dev-border);
    padding: 4rem 5rem;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s ease;
}

.dev-card-premium:hover {
    border-color: rgba(157, 116, 255, 0.4);
}

.date-display {
    font-family: var(--font-epic);
    color: var(--dev-text-muted);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.dev-card-premium h2 {
    font-family: var(--font-epic);
    font-size: 2.5rem;
    color: var(--dev-text);
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.2;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--dev-border);
}

.dev-card-premium h3 {
    font-family: var(--font-epic);
    font-size: 1.5rem;
    color: var(--dev-text);
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.dev-card-premium p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dev-text-muted);
    margin-bottom: 1.5rem;
}

.dev-card-premium strong {
    color: var(--dev-text);
    font-weight: 600;
}

/* Clean highlight box without generic gradients */
.highlight-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--dev-border);
    border-left: 3px solid var(--dev-accent-primary);
    padding: 2rem;
    margin: 2.5rem 0;
}

.highlight-box h3 {
    margin-top: 0;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.cta-footer {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    position: relative;
    font-family: var(--font-epic);
    color: var(--dev-text);
    font-size: 1.2rem;
    line-height: 1.6;
    border-top: 1px solid var(--dev-border);
}

.heart-icon {
    color: var(--dev-accent-crimson);
    display: inline-block;
}

/* Hide default filters */
.filter-bar {
    display: none;
}

@media (max-width: 900px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-end;
    }

    .timeline-marker {
        left: 30px;
    }

    .dev-card-premium {
        width: calc(100% - 60px);
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 600px) {
    .devlog-hero h1 {
        font-size: 2.5rem;
    }

    .dev-card-premium {
        padding: 2rem 1.5rem;
    }

    .dev-card-premium h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .dev-card-premium {
        width: calc(100% - 40px);
    }
}