/* CSS Variables */
:root {
    --background: #0a0a0a;
    --background-secondary: #111111;
    --foreground: #e5e5e5;
    --foreground-muted: #a3a3a3;
    --primary: #dc2626;
    --primary-foreground: #ffffff;
    --border: #262626;
    --card: #171717;
    --font-gothic: 'Cinzel', serif;
    --font-tech: 'Orbitron', sans-serif;
    --font-mono: 'Courier Prime', 'Courier New', monospace;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    color: inherit;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier Prime', 'Courier New', monospace;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-placeholder img{
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-gothic);
    font-size: 1rem;
    color: var(--primary);
}

.logo-text {
    font-family: var(--font-gothic);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-foreground);
    letter-spacing: 0.2em;
}

.logo-text:hover {
    color: var(--primary);
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--foreground-muted);
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--foreground);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    font-family: var(--font-tech);
    font-size: 0.875rem;
    color: var(--foreground-muted);
    text-decoration: none;
    padding: 0.75rem 0;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
}
.article-header {
    padding: 8rem 1rem 3rem;
    background-color: var(--background-secondary);
    position: relative;
    overflow: hidden;
}

.header-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.header-glow-1 {
    top: 0;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(220, 38, 38, 0.1);
}

.header-glow-2 {
    bottom: 0;
    right: 25%;
    width: 16rem;
    height: 16rem;
    background-color: rgba(220, 38, 38, 0.05);
}

.header-content {
    max-width: 56rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground-muted);
    text-decoration: none;
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* Article Meta */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground-muted);
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.meta-item svg {
    color: var(--primary);
}

/* Article Title */
.article-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    color: var(--primary-foreground);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Article Subtitle */
.article-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.625rem, 2vw, 0.875rem);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.featured-image-section {
    align-items: center;
    background-color: var(--background);
    margin-top: -1.5rem;
}

.featured-image-container {
    max-width: 30rem;
    margin: auto;
}

.featured-image-placeholder {
    aspect-ratio: 16 / 9;
    background-color: var(--background-secondary);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(220, 38, 38, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    }
}

.article-content {
    padding: 3rem 1rem 4rem;
    background-color: var(--background);
    margin-top: 30rem;
}

.content-container {
    max-width: 48rem;
    margin: 0 auto;
}

.article-paragraph {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.highlight-bold {
    color: var(--primary);
    font-weight: 700;
}

/* Section Headings */
.section-heading {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--primary-foreground);
    letter-spacing: 0.1em;
    margin: 3rem 0 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--primary);
}

/* Enemy List */
.enemy-list {
    list-style: none;
    margin-bottom: 2rem;
}

.enemy-item {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    line-height: 1.7;
    padding-left: 1rem;
    border-left: 1px solid rgba(220, 38, 38, 0.5);
    margin-bottom: 1rem;
}

.enemy-name {
    color: var(--primary);
    font-weight: 700;
}

/* Quote */
.article-quote {
    border-left: 4px solid var(--primary);
    background-color: var(--background-secondary);
    padding: 1.5rem;
    margin: 3rem 0;
}

.quote-text {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    color: var(--primary-foreground);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.quote-cite {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--foreground-muted);
}

/* Share Section */
.share-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
    .share-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.share-text {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--foreground-muted);
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.share-button:hover {
    color: var(--primary);
}

/* Back to News Link */
.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    transition: color 0.3s ease;
}

.back-to-news:hover {
    color: var(--primary-foreground);
}

.back-to-news svg {
    transition: transform 0.3s ease;
}

.back-to-news:hover svg {
    transform: translateX(-4px);
}

/* FOOTER */
.footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 2rem 1rem 3rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 0.2em;
}

.footer-logo p {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--foreground-muted);
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--foreground);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-contact {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-contact {
        text-align: right;
    }
}

.footer-contact p {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--foreground-muted);
}
.footer-email b{
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
}

.footer-contact .copyright {
    margin-top: 0.25rem;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .article-header {
        padding: 6rem 1rem 2rem;
    }

    .header-glow-1 {
        width: 12rem;
        height: 12rem;
    }

    .header-glow-2 {
        width: 8rem;
        height: 8rem;
    }

    .placeholder-icon {
        width: 4rem;
        height: 4rem;
    }

    .version-number {
        font-size: 1.5rem;
    }

    .article-content {
        padding: 2rem 1rem 3rem;
    }

    .article-paragraph {
        font-size: 0.875rem;
    }

    .section-heading {
        margin: 2rem 0 1rem;
    }

    .enemy-item {
        font-size: 0.875rem;
    }

    .article-quote {
        padding: 1rem;
        margin: 2rem 0;
    }
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-meta,
.article-title,
.article-subtitle {
    animation: fadeUp 0.6s ease forwards;
}

.article-meta {
    animation-delay: 0.1s;
}

.article-title {
    animation-delay: 0.2s;
}

.article-subtitle {
    animation-delay: 0.3s;
}
