:root {
    --bg-color: #050508;
    --surface-color: rgba(15, 15, 25, 0.7);
    --border-color: rgba(255, 69, 0, 0.3);
    
    /* Cosmic Orange variations */
    --orange-primary: #FF4500; /* Neon Orange */
    --orange-secondary: #FF8C00; /* Dark Orange/Tangerine */
    --orange-accent: #FFA500; /* Orange */
    --orange-deep: #CC5500; /* Burnt Orange */

    --neon-blue: #00f3ff;
    --neon-purple: #bd00ff;

    --text-primary: #F0F0F0;
    --text-secondary: rgba(240, 240, 240, 0.6);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Space Mono', monospace;
    --font-display: 'Syncopate', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(255, 69, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 69, 0, 0.05) 1px, transparent 1px);
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px) translateZ(-200px); }
}

/* Navigation */
nav.global-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--orange-primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
}

.brand span {
    color: var(--orange-primary);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--orange-primary);
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.burger {
    display: none;
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 65px;
        height: calc(100vh - 65px);
        background-color: rgba(5, 5, 8, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        padding-top: 50px;
        border-top: 2px solid var(--orange-primary);
    }
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    .burger {
        display: block;
        z-index: 1000;
    }
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 5px);
    }
    .burger.toggle .line2 {
        opacity: 0;
    }
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -5px);
    }
}


/* Layout & Typography */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.section-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange-secondary);
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 100px 20px 60px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 8, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

h1.glitch {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5), 0 0 20px rgba(255, 69, 0, 0.3);
    position: relative;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--orange-secondary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    10% { clip: rect(29px, 9999px, 83px, 0); }
    20% { clip: rect(2px, 9999px, 23px, 0); }
    30% { clip: rect(65px, 9999px, 54px, 0); }
    40% { clip: rect(10px, 9999px, 4px, 0); }
    50% { clip: rect(34px, 9999px, 14px, 0); }
    60% { clip: rect(7px, 9999px, 86px, 0); }
    70% { clip: rect(56px, 9999px, 1px, 0); }
    80% { clip: rect(21px, 9999px, 86px, 0); }
    90% { clip: rect(36px, 9999px, 3px, 0); }
    100% { clip: rect(16px, 9999px, 39px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    10% { clip: rect(79px, 9999px, 85px, 0); }
    20% { clip: rect(67px, 9999px, 61px, 0); }
    30% { clip: rect(1px, 9999px, 66px, 0); }
    40% { clip: rect(23px, 9999px, 98px, 0); }
    50% { clip: rect(71px, 9999px, 75px, 0); }
    60% { clip: rect(30px, 9999px, 16px, 0); }
    70% { clip: rect(41px, 9999px, 62px, 0); }
    80% { clip: rect(47px, 9999px, 73px, 0); }
    90% { clip: rect(26px, 9999px, 55px, 0); }
    100% { clip: rect(38px, 9999px, 49px, 0); }
}

.subtitle {
    font-family: var(--font-heading);
    color: var(--orange-secondary);
    letter-spacing: 4px;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.glow-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--orange-primary), transparent);
    margin: 0 auto;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; height: 80px; box-shadow: 0 0 0 rgba(255, 69, 0, 0); }
    50% { opacity: 1; height: 120px; box-shadow: 0 0 20px var(--orange-primary); }
}

/* Magazine Grid Layout */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Article Card Styles (Based on old holo-card & mood-item) */
.article-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--orange-primary);
    border-radius: 4px;
    overflow: hidden;
    transition: 0.4s;
    position: relative;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--orange-primary);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
    transform: translateY(-5px);
}


.article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
    background: var(--surface-color);
}

.card-meta {
    font-size: 0.8rem;
    color: var(--orange-secondary);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}
.card-title a {
    color: inherit;
    text-decoration: none;
}
.card-title a:hover {
    color: var(--orange-primary);
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
    font-weight: bold;
}

.read-more-btn:hover {
    color: #fff;
    letter-spacing: 1px;
}

.card-vote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    padding: 2px 8px;
    border-radius: 4px;
}


/* About Us Section Styles */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.author-card {
    text-align: center;
    background: var(--surface-color);
    padding: 40px 20px;
    border: 1px solid var(--border-color);
    position: relative;
}

.author-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--orange-primary);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.author-role {
    color: var(--orange-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Single Page Content */
.page-content {
    background: var(--surface-color);
    padding: 40px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.page-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Footer */
footer.global-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px dashed var(--border-color);
    margin-top: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 69, 0, 0.05));
    position: relative;
    z-index: 10;
}

footer.global-footer p {
    font-family: var(--font-heading);
    color: var(--orange-deep);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

footer.global-footer .ownership {
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
}
