/* =========================================
   1. ATELIER BLUEPRINT (SLOJEVI)
   ========================================= */
html,
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    color: #222;
    overflow-x: hidden;
    background-color: #f4f1ea;
    /* Čvrsta bež baza na dnu */
}

/* Fizički sloj iznad baze koji nosi grid */
.atelier-ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    /* Podižemo ga iznad body-ja */
    pointer-events: none;
    /* Klijent klika 'kroz' njega */
    display: block !important;

    background-image:
        url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNCIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgNCA0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiM4YTZkMWYiIG9wYWNpdHk9IjAuMTUiLz48L3N2Zz4="),
        linear-gradient(rgba(184, 150, 67, 0.25) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(184, 150, 67, 0.25) 1.5px, transparent 1.5px);

    background-size: 4px 4px, 60px 60px, 60px 60px;
    background-position: center center;
}

body::before {
    display: none !important;
    /* Brisanje starih ostataka */
}

/* =========================================
   2. ATELIER TYPOGRAPHY OVERRIDES
   ========================================= */
.vault-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: #222;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.vault-subtitle {
    font-family: 'Space Mono', monospace;
    color: #B89643;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}

.vault-desc {
    max-width: 600px;
    margin: 10px auto 0 auto;
    color: #555;
    font-weight: 500;
    line-height: 1.6;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #B89643;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border-bottom: none;
    /* NOVO: Uklonjena linija */
    padding-bottom: 10px;
    display: inline-block;
}

.topic-title,
.article-title {
    font-family: 'Cinzel', serif !important;
    font-weight: 600 !important;
    color: #111;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.article-title {
    font-size: 2.2rem;
    color: #B89643;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.read-more {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #B89643;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* =========================================
   3. VAULT HEADER (ISOLATED & BULLETPROOF)
   ========================================= */
#member-content-wrapper {
    position: relative;
    z-index: 2;
    /* Mora biti viši od .atelier-ambient-bg (koji je 1) */
    background: transparent !important;
}

/* Tvoj postojeći kod za decu kontejnera ostaje netaknut ispod */
#member-content-wrapper nav,
#member-content-wrapper header {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
}

.v-header {
    padding: 15px 0 !important;
    background: rgba(244, 241, 234, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(184, 150, 67, 0.2) !important;
    position: relative !important;
    z-index: 100 !important;
    width: 100% !important;
    display: block !important;
}

.v-header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.v-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 30px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.v-nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: center !important;
}

.v-btn-light,
.v-btn-dark {
    font-family: 'Space Mono', monospace !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.v-btn-light {
    background-color: rgba(255, 255, 255, 0.8) !important;
    color: #333 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.v-btn-light:hover {
    background-color: #fff !important;
    transform: translateY(-2px) !important;
}

.v-btn-dark {
    background: #111 !important;
    color: #B89643 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(184, 150, 67, 0.3) !important;
}

.v-btn-dark:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(184, 150, 67, 0.5) !important;
}

.v-header::before,
.v-header::after,
.v-nav::before,
.v-nav::after,
.v-lang-switcher::before,
.v-lang-switcher::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
}

.v-lang-switcher {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    border-left: 1px solid rgba(184, 150, 67, 0.3) !important;
    padding-left: 20px !important;
    height: 20px !important;
    margin: 0 !important;
}

.v-lang-active {
    color: #50fa7b !important;
    /* Jarka zelena ostaje za kontrast */
    font-weight: 700 !important;
    text-shadow: 0 0 12px rgba(80, 250, 123, 0.5) !important;
    line-height: 1 !important;
    transform: scale(0.8, 1.4) !important;
    display: inline-block !important;
    transform-origin: center center !important;
}

.v-lang-div {
    color: #000 !important;
    /* APSOLUTNA CRNA */
    opacity: 1.0 !important;
    /* TOTALNO NEPROZIRNO - Znatno tamnije */
    line-height: 1 !important;
    font-weight: 400 !important;
    transform: scale(0.8, 1.4) !important;
    display: inline-block !important;
    transform-origin: center center !important;
}

.v-lang-link {
    color: #000 !important;
    /* APSOLUTNA CRNA */
    text-decoration: none !important;
    opacity: 1.0 !important;
    /* TOTALNO NEPROZIRNO - Znatno tamnije */
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    transform: scale(0.8, 1.4) !important;
    display: inline-block !important;
    transform-origin: center center !important;
}

.v-lang-link:hover {
    opacity: 1 !important;
    color: #50fa7b !important;
    /* Hover sada svetli u zeleno, jer je baza crna */
    text-shadow: 0 0 10px rgba(80, 250, 123, 0.5) !important;
    transform: scale(0.8, 1.4) translateY(-1px) !important;
}

@media (max-width: 900px) {
    .v-header-container {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 15px 20px !important;
    }

    .v-nav {
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .v-nav-links {
        justify-content: center !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .v-btn-light,
    .v-btn-dark {
        padding: 10px 15px !important;
        font-size: 0.65rem !important;
        text-align: center !important;
    }

    .v-lang-switcher {
        border-left: none !important;
        padding-left: 0 !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

/* =========================================
   4. KNOWLEDGE LAYOUT (GLASSMORPHISM EVOLUCIJA)
   ========================================= */
.knowledge-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* =========================================
   4. KNOWLEDGE LAYOUT (GLASSMORPHISM)
   ========================================= */
.topic-card {
    /* Samo 10% bele, ostalo je čisto staklo */
    background: rgba(244, 241, 234, 0.1) !important;
    /* NOVO: Povećana providnost (bivše 0.4) */

    /* Optička fizika: Blur sme biti najviše 4px da ne bi ubio grid od 1.5px */
    backdrop-filter: blur(3px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(4px) saturate(120%) !important;

    border: 1px solid rgba(184, 150, 67, 0.35) !important;
    border-radius: 12px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

.topic-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(184, 150, 67, 0.6) !important;
    box-shadow: 0 15px 40px rgba(184, 150, 67, 0.15);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #B89643;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.topic-title {
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin-bottom: 15px;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.topic-desc {
    font-size: 0.95rem;
    color: #222 !important;
    /* Pojačan kontrast za čitljivost na staklu */
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 600;
    /* Blago podebljano da 'probije' blur */
}

/* =========================================
   5. MODAL (MIGRATED & REFINED)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.85);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* GPU FORSIRANJE */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #B89643;
    /* GPU FORSIRANJE I ZAMRZAVANJE SKROLA */
    will-change: transform, scroll-position;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-body h3 {
    font-family: 'Cinzel', serif;
    color: #222;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 25px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .vault-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   6. ATELIER FOOTER (MINIMALIST & CLEAN)
   ========================================= */
.v-footer {
    margin-top: 100px;
    padding: 40px 0;
    background: transparent;
    font-family: 'Manrope', sans-serif;
}

.v-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.v-footer-content {
    width: 100%;
    max-width: 800px;
    padding-top: 25px;
    border-top: 1px solid rgba(184, 150, 67, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.v-gold {
    color: #B89643;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.v-divider-dot {
    color: #B89643;
    opacity: 0.5;
}

.v-agency {
    font-family: 'Space Mono', monospace;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .v-footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .v-divider-dot {
        display: none;
    }
}

/* =========================================
   7. LUKUL ATELIER SPECIFICS (WATERMARK & LOGO)
   ========================================= */

/* Rekreacija logotipa sa slike (3D Gold Emboss) */
.v-logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #cca450;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.4s ease;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5), 1px 1px 0 rgba(255, 255, 255, 0.8), 0 0 10px rgba(184, 150, 67, 0.4);
}

.v-logo-atelier {
    font-size: 1.25rem;
    margin-left: 2px;
}

.v-logo-text:hover {
    color: #e6c57a;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8), 1px 1px 0 rgba(255, 255, 255, 1), 0 0 15px rgba(184, 150, 67, 0.8);
    transform: scale(1.02);
}

.v-hero-section {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* KONSOLIDOVAN VODENI ŽIG (BEZ DUPLIKATA) */
.v-hero-watermark {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    height: 400px !important;
    width: auto !important;
    opacity: 0.28 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    mix-blend-mode: multiply !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 900px) {
    .v-hero-watermark {
        height: 280px !important;
        opacity: 0.20 !important;
    }

    .v-hero-section {
        margin: 0 auto 30px auto !important;
        padding: 40px 10px !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .knowledge-container {
        margin-top: 20px !important;
    }
}

/* =========================================
   POSEBNI STILOVI ZA ČLANKE (LAB & MANUSCRIPT)
   ========================================= */

/* Stil za ATELIER METRIKA - Laboratorijski izveštaj */
.metrika-box {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(184, 150, 67, 0.3) !important;
    border-left: 5px solid #B89643 !important;
    padding: 22px !important;
    margin: 30px 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 0.88rem !important;
    position: relative;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.02);
    line-height: 1.6 !important;
    color: #333;
}

.metrika-box::before {
    content: "ATELIER_LAB_VERIFIED // 2026";
    position: absolute;
    top: -12px;
    right: 15px;
    background: #B89643;
    color: #f4f1ea;
    padding: 3px 12px;
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 800;
    border-radius: 2px;
}

.metrika-box strong {
    color: #B89643;
    font-weight: 700;
}

/* Stil za Citate - Stari manuskript (Rukopis) */
.article-body blockquote {
    font-family: 'La Belle Aurore', cursive !important;
    font-size: 1.85rem !important;
    color: #444;
    border: none !important;
    padding: 50px 30px !important;
    margin: 50px 0 !important;
    line-height: 1.3 !important;
    position: relative;
    text-align: center;
    background: transparent !important;
}

.article-body blockquote::before {
    content: '"';
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: rgba(184, 150, 67, 0.2);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* =========================================
   8. LIVE INTELLIGENCE BADGE & ZONE 2
   ========================================= */

/* Dizajn bedža u Hero sekciji */
.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 10px 0;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(184, 150, 67, 0.4);
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.live-status-badge:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: #B89643;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 150, 67, 0.15);
}

/* Hardverski optimizovano pulsirajuće srce */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #50fa7b;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(80, 250, 123, 0.7);
    animation: pulsingDot 2s infinite;
}

@keyframes pulsingDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(80, 250, 123, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(80, 250, 123, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(80, 250, 123, 0);
    }
}

/* Tipografija indikatora */
.status-text-desktop,
.status-text-mobile {
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #444;
}

.status-text-mobile {
    display: none;
}

@media (max-width: 600px) {
    .status-text-desktop {
        display: none;
    }

    .status-text-mobile {
        display: inline-block;
    }
}

/* ZONA 2 - Placeholder estetika */
.intelligence-section {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px dashed rgba(184, 150, 67, 0.3);
}

.intelligence-placeholder {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #666;
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed rgba(184, 150, 67, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    line-height: 1.8;
}

/* Efekat potvrde (Flash) kada skrol stigne na cilj */
.target-flash {
    /* Povećano na 3.5 sekunde za sporiji, dramatičniji efekat */
    animation: targetFlashAnim 3.5s ease-in-out;
}

@keyframes targetFlashAnim {
    0% {
        color: #B89643;
        text-shadow: none;
    }

    20% {
        /* Maksimalni sjaj se pali tačno kada ekran završi skrolovanje (oko 0.7s) */
        color: #50fa7b;
        /* Višestruki slojevi senke za moćan 'neon' efekat */
        text-shadow: 0 0 10px rgba(80, 250, 123, 0.9),
            0 0 25px rgba(80, 250, 123, 0.7),
            0 0 50px rgba(80, 250, 123, 0.4);
    }

    50% {
        /* Zadržavamo maksimalni sjaj još sekundu da klijent jasno vidi */
        color: #50fa7b;
        text-shadow: 0 0 10px rgba(80, 250, 123, 0.9),
            0 0 25px rgba(80, 250, 123, 0.7),
            0 0 50px rgba(80, 250, 123, 0.4);
    }

    100% {
        /* Sporo, elegantno hlađenje nazad u zlatnu boju Ateliera */
        color: #B89643;
        text-shadow: none;
    }
}

/* =========================================
   9. TIMELINE LAYOUT (ZONE 2)
   ========================================= */

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding-left: 30px;
    /* Prostor za liniju */
}

/* Centralna zlatna linija koja povezuje studije */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 50px;
    /* Ne ide skroz do dugmeta */
    left: 11px;
    /* Centrirano u odnosu na markere */
    width: 2px;
    background: rgba(184, 150, 67, 0.2);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

/* Kružić na liniji */
.timeline-marker {
    position: absolute;
    top: 25px;
    left: -30px;
    width: 24px;
    height: 24px;
    background: #f4f1ea;
    border: 2px solid #B89643;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(184, 150, 67, 0.2);
    transition: all 0.3s ease;
}

/* Glassmorphism kartica studije (Ista vizuelna pravila kao Core kartice) */
.timeline-content {
    background: rgba(244, 241, 234, 0.3) !important;
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(184, 150, 67, 0.35);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(184, 150, 67, 0.6);
    box-shadow: 0 15px 40px rgba(184, 150, 67, 0.1);
}

.timeline-item:hover .timeline-marker {
    background: #B89643;
    transform: scale(1.2);
}

/* --- Unutrašnji elementi kartice --- */
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.item-meta {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #888;
    display: flex;
    gap: 10px;
    align-items: center;
}

.item-source {
    color: #B89643;
    font-weight: 700;
}

.item-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* Vaš pečat - Istaknuto */
.item-insight {
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid #B89643;
    padding: 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
}

.item-insight strong {
    font-family: 'Space Mono', monospace;
    color: #B89643;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.item-action {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.item-action:hover {
    color: #B89643;
    border-bottom: 1px solid #B89643;
}

/* --- STAJLING ZA PINNOVANU STUDIJU --- */
.pinned-item .timeline-content {
    border: 1px solid rgba(184, 150, 67, 0.8);
    box-shadow: 0 0 20px rgba(184, 150, 67, 0.1);
}

.pinned-item .timeline-marker {
    background: #B89643;
    box-shadow: 0 0 15px rgba(184, 150, 67, 0.6);
    border-color: #fff;
}

.pinned-badge {
    font-family: 'Space Mono', monospace;
    background: #B89643;
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(184, 150, 67, 0.3);
}

/* Dugme za učitavanje arhive */
.timeline-load-more {
    text-align: center;
    margin-top: 50px;
}

/* --- MOBILNI PRIKAZ --- */
@media (max-width: 600px) {
    .timeline-container {
        padding-left: 15px;
    }

    .timeline-container::before {
        left: 0px;
    }

    .timeline-marker {
        width: 16px;
        height: 16px;
        left: -8px;
        top: 28px;
    }

    .timeline-content {
        padding: 20px;
    }

    .item-title {
        font-size: 1.1rem;
    }

    .item-insight {
        font-size: 0.85rem;
        padding: 15px;
    }
}

/* === GLOBALNA MREŽA GOSTIJU === */
.guest-grid-wrapper {
    display: grid;
    gap: 25px;
    margin-bottom: 60px;
}

/* FORSIRANA SIMETRIJA ZA DESKTOP (2x2 LAYOUT) */
@media (min-width: 901px) {
    .guest-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobilni Prikaz (Vertikalno Ređanje - 100% Vidljivost) */
@media (max-width: 900px) {
    .guest-grid-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        /* Stacks them vertically */
        gap: 25px !important;
        width: 100% !important;
        padding: 0 !important;
        /* Kills all the horizontal scroll bullshit */
        overflow-x: visible !important;
        scroll-snap-type: none !important;
    }

    .guest-grid-wrapper .topic-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        box-sizing: border-box !important;
    }
}

.guest-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(184, 150, 67, 0.2);
    padding-bottom: 15px;
}

.guest-img-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #B89643;
    padding: 2px;
    flex-shrink: 0;
}

.guest-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(85%) contrast(105%);
}

.guest-info {
    display: flex;
    flex-direction: column;
}

.guest-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.guest-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: #B89643;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.guest-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(184, 150, 67, 0.2);
}

.guest-ig-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.guest-ig-link:hover {
    color: #B89643;
}

/* =========================================
   10. GPU STABILIZACIJA (SPREČAVA SECKANJE I SKAKANJE)
   ========================================= */
.timeline-content,
.pinned-badge,
.live-status-badge,
.topic-card {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* =========================================
   11. MOBILE HUD ROTATOR (LIVE SYNC BADGE)
   ========================================= */
.hud-rotator {
    display: inline-grid;
    height: 14px;
    /* Fiksna visina da bedž ne bi 'skakao' gore-dole */
    overflow: hidden;
    position: relative;
    width: 210px;
    /* Dovoljno široko za najduži tekst, sprečava prelamanje */
}

.hud-frame {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(10px);
    /* Počinje malo ispod */
    animation: hudCycle 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
    /* 3x3 sekunde */
    white-space: nowrap;
    text-align: left;
}

/* Redosled paljenja frejmova */
.hud-frame:nth-child(1) {
    animation-delay: 0s;
}

.hud-frame:nth-child(2) {
    animation-delay: 3s;
}

.hud-frame:nth-child(3) {
    animation-delay: 6s;
}

@keyframes hudCycle {

    0%,
    5% {
        opacity: 0;
        transform: translateY(10px);
    }

    10%,
    30% {
        /* Trenutak kada je tekst na ekranu */
        opacity: 1;
        transform: translateY(0);
    }

    35%,
    100% {
        /* Izlazi gore i nestaje */
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Obezbeđujemo da na desktopu ovo bude sakriveno */
@media (min-width: 601px) {
    .hud-rotator {
        display: none !important;
    }
}

/* =========================================
   12. GATED CONTENT (BLUR & LOCK)
   ========================================= */
.gated-card {
    position: relative;
    overflow: hidden;
}

.gated-content-blur {
    filter: blur(6px);
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
    transition: all 0.3s ease;
}

.gated-overlay {
    position: absolute;
    /* Postavljamo ga tačno ispod headera koji sadrži sliku i ime */
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    background: linear-gradient(to bottom, rgba(244, 241, 234, 0.1), rgba(244, 241, 234, 0.9) 70%);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.gated-card:hover .gated-overlay {
    background: linear-gradient(to bottom, rgba(244, 241, 234, 0.2), rgba(244, 241, 234, 0.95) 70%);
}

.gated-overlay .lock-icon {
    color: #B89643;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 10px rgba(184, 150, 67, 0.5));
    transition: transform 0.3s ease;
}

.gated-card:hover .lock-icon {
    transform: scale(1.1) translateY(-3px);
}

.gated-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.gated-subtext {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
}

/* UI poboljšanja za input u modalu */
#gatedEmailInput:focus {
    border-color: #B89643 !important;
    box-shadow: 0 0 20px rgba(184, 150, 67, 0.3) !important;
    background: rgba(0, 0, 0, 0.9) !important;
}

#gated-submit-btn:hover {
    background: rgba(184, 150, 67, 0.15) !important;
    box-shadow: 0 0 15px rgba(184, 150, 67, 0.3) !important;
}

/* =========================================
   GUEST MODAL (ATELIER LUXURY EDITION)
   ========================================= */
.guest-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Polu-proziran tamni sloj, ali sa jakim blurom da fokusira čitanje */
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px) saturate(110%);
    -webkit-backdrop-filter: blur(12px) saturate(110%);
    z-index: 10000;
    display: none;
    /* Javascript pali na 'flex' */
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    /* GPU Akceleracija */
    transform: translateZ(0);
}

.guest-modal-box {
    /* Svetla baza, ista kao tvoj Trezor, ali sa dozom stakla */
    background: rgba(250, 248, 245, 0.95);
    border: 1px solid rgba(184, 150, 67, 0.3);
    /* Zlatni okvir */
    border-radius: 12px;
    width: 100%;
    max-width: 750px;
    /* Perfektna širina za praćenje reda teksta */
    max-height: 85vh;
    overflow-y: auto;
    padding: 60px 50px;
    position: relative;
    /* Oštra, luksuzna senka */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    box-sizing: border-box;
}

/* Dugme za zatvaranje (Zlatni akcenat) */
.close-guest-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-guest-modal:hover {
    color: #111;
    background: rgba(184, 150, 67, 0.15);
    transform: rotate(90deg);
}

/* Custom Scrollbar (Zlatna tema) */
.guest-modal-box::-webkit-scrollbar {
    width: 6px;
}

.guest-modal-box::-webkit-scrollbar-track {
    background: transparent;
}

.guest-modal-box::-webkit-scrollbar-thumb {
    background: rgba(184, 150, 67, 0.5);
    border-radius: 10px;
}

.guest-modal-box::-webkit-scrollbar-thumb:hover {
    background: #B89643;
}

/* Stilizacija samog teksta unutar Modala */
#guest-article-content {
    font-family: 'Manrope', sans-serif;
    color: #333;
}

#guest-article-content h2.article-title {
    color: #111 !important;
    /* Forsiramo tamnu boju za naslov */
    border-bottom: 2px solid rgba(184, 150, 67, 0.2);
    padding-bottom: 15px;
    margin-bottom: 10px !important;
}

#guest-article-content .article-meta {
    color: #B89643 !important;
    border-bottom: none !important;
    margin-bottom: 35px !important;
}

#guest-article-content blockquote {
    background: rgba(184, 150, 67, 0.05) !important;
    color: #222 !important;
    /* Tamniji tekst za citat */
    border-left: 3px solid #B89643 !important;
}

#guest-article-content p {
    color: #444 !important;
    /* Tamno siva za lakše čitanje */
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
}

/* Mobilna Optimizacija */
@media (max-width: 768px) {
    .guest-modal-box {
        padding: 40px 25px;
        max-height: 90vh;
    }

    .close-guest-modal {
        top: 15px;
        right: 15px;
    }
}

/* Mobile Roster Nav */
.guest-roster-nav {
    display: none;
}

@media (max-width: 900px) {
    .guest-roster-nav {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .roster-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 0.35;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .roster-item.active {
        opacity: 1;
        transform: scale(1.1);
    }

    .roster-avatar {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        border: 2px solid #B89643;
        padding: 2px;
        margin-bottom: 5px;
    }

    .roster-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    .roster-item span {
        font-family: 'Space Mono', monospace;
        font-size: 9px;
        text-transform: uppercase;
        color: #111;
        font-weight: 700;
    }

    /* Spotlight Card Logic */
    .spotlight-card {
        display: none;
        width: 100% !important;
        animation: cardSlide 0.4s ease-out;
    }

    .spotlight-card.active-spotlight {
        display: flex !important;
        flex-direction: column;
    }
}

@keyframes cardSlide {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}