/* * assets/css/archive-psikologi.css
 * Vibe: Labirin Kesadaran, Deep Amethyst, Melancholic, Intimate
 * Konsep: 1 Warna Breathtaking (Amethyst/Lavender Gelap)
 */

:root {
    /* PALET EKSKLUSIF ARSIP PSIKOLOGI (AMETHYST VOID) */
    --psy-arc-bg: #070608; /* Hitam pekat dengan undertone ungu */
    --psy-arc-text: #b0a9b8; /* Teks abu-abu keunguan yang lembut di mata */
    --psy-arc-heading: #e8e3ed; /* Putih tulang keunguan untuk judul */
    --psy-arc-accent: #937baf; /* SATU WARNA UTAMA: Amethyst / Lavender Gelap yang elegan */
    --psy-arc-border: #1f1b24;
    
    --font-psy: 'Georgia', 'Times New Roman', serif; 
    --font-psy-ui: 'Courier New', Courier, monospace; 
}

body {
    background-color: var(--psy-arc-bg) !important;
    color: var(--psy-arc-text) !important;
    font-family: var(--font-psy) !important;
    line-height: 1.9;
    /* EFEK MAGIS: Pendaran cahaya redup dari atas tengah layar */
    background-image: radial-gradient(circle at center 10%, rgba(147, 123, 175, 0.08) 0%, transparent 60%);
    background-attachment: fixed;
}

.psy-archive-wrapper {
    max-width: 850px;
    margin: 6rem auto;
    padding: 0 2rem;
    position: relative;
}

/* =========================================
   HEADER ARSIP
   ========================================= */
.psy-archive-header {
    text-align: center;
    margin-bottom: 7rem;
}

.psy-archive-meta {
    font-family: var(--font-psy-ui);
    font-size: 0.85rem;
    color: var(--psy-arc-accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.psy-archive-title {
    font-size: 4rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--psy-arc-heading);
    font-style: italic;
    text-shadow: 0 0 25px rgba(147, 123, 175, 0.2);
}

.psy-archive-desc {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.7;
    line-height: 1.8;
}

.psy-header-line {
    height: 1px;
    width: 150px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--psy-arc-accent), transparent);
    opacity: 0.5;
}

/* =========================================
   LAYOUT BENANG KESADARAN (THE THREAD)
   ========================================= */
.psy-consciousness-thread {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-left: 3rem; /* Ngasih ruang buat garis saraf di kiri */
}

/* Garis Saraf / Benang Vertikal */
.psy-consciousness-thread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2rem; /* Mulai agak ke bawah dikit */
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--psy-arc-accent), transparent);
    opacity: 0.3;
}

.psy-thread-item {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity, filter;
}

/* Titik Saraf (Node) yang nempel di garis */
.psy-node {
    position: absolute;
    /* Logika: padding-left thread itu 3rem. Biar center di garis (0), tarik ke kiri -3rem, kurangi setengah lebar node */
    left: calc(-3rem - 4px); 
    top: 0.4rem; /* Sejajar sama teks meta */
    width: 9px;
    height: 9px;
    background-color: var(--psy-arc-bg);
    border: 1px solid var(--psy-arc-accent);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* =========================================
   ISI KONTEN JURNAL
   ========================================= */
.psy-item-content {
    display: flex;
    flex-direction: column;
}

.psy-item-meta {
    font-family: var(--font-psy-ui);
    font-size: 0.75rem;
    color: var(--psy-arc-accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.psy-item-title {
    font-family: var(--font-psy);
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--psy-arc-heading);
    transition: all 0.4s ease;
}

.psy-item-excerpt {
    font-size: 1.1rem;
    opacity: 0.65;
    line-height: 1.8;
    max-width: 95%;
    transition: opacity 0.3s;
}

/* =========================================
   EFEK HOVER MAGIS & DEEP FOCUS
   ========================================= */
/* Kalo item disorot */
.psy-thread-item:hover {
    transform: translateX(15px); /* Item kedorong halus ke kanan */
}

.psy-thread-item:hover .psy-node {
    background-color: var(--psy-arc-accent);
    box-shadow: 0 0 20px var(--psy-arc-accent);
    transform: scale(1.8); /* Titik saraf meledak bersinar */
}

.psy-thread-item:hover .psy-item-meta {
    opacity: 1;
}

.psy-thread-item:hover .psy-item-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(147, 123, 175, 0.5); /* Judul ngeluarin glow amethyst */
}

.psy-thread-item:hover .psy-item-excerpt {
    opacity: 0.9;
}

/* KUNCI DEEP FOCUS: Kalo list lagi ada yg di-hover, yg kaga kena hover bakal nge-blur dan mundur! */
.psy-consciousness-thread:hover .psy-thread-item:not(:hover) {
    opacity: 0.15;
    filter: blur(4px);
    transform: scale(0.98) translateX(-5px);
}

/* =========================================
   PAGINASI
   ========================================= */
.psy-archive-pagination {
    margin-top: 6rem;
    text-align: center; 
    font-family: var(--font-psy-ui);
    border-top: 1px dashed var(--psy-arc-border);
    padding-top: 3rem;
}

.psy-archive-pagination a,
.psy-archive-pagination span {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin: 0 0.3rem;
    color: var(--psy-arc-text);
    text-decoration: none;
    border: 1px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.psy-archive-pagination a:hover {
    opacity: 1;
    border-color: var(--psy-arc-accent);
    color: var(--psy-arc-accent);
    box-shadow: 0 0 15px rgba(147, 123, 175, 0.1);
}

.psy-archive-pagination .current {
    opacity: 1;
    color: var(--psy-arc-accent);
    border-bottom: 1px solid var(--psy-arc-accent);
}

/* =========================================
   GAYA KARTU RUANG SESI (SUBKATEGORI)
   ========================================= */
.psy-session-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.psy-session-card {
    border: 1px solid rgba(147, 123, 175, 0.2);
    background-color: rgba(147, 123, 175, 0.02);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psy-session-card:hover {
    background-color: rgba(147, 123, 175, 0.06);
    border-color: var(--psy-arc-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 123, 175, 0.1);
}

/* Ikon Kunci Pemindai Pikiran */
.psy-session-card::before {
    content: '⚿';
    font-size: 2rem;
    color: var(--psy-arc-accent);
    opacity: 0.3;
    display: block;
    margin-bottom: 1rem;
    transition: transform 0.4s ease, opacity 0.4s ease, text-shadow 0.4s ease;
}

.psy-session-card:hover::before {
    transform: scale(1.2);
    opacity: 1;
    text-shadow: 0 0 15px var(--psy-arc-accent);
}

.psy-session-title {
    font-family: var(--font-psy);
    font-size: 1.6rem;
    color: var(--psy-arc-heading);
    margin: 0 0 0.8rem 0;
    font-weight: normal;
    font-style: italic;
    line-height: 1.2;
}

.psy-session-meta {
    font-family: var(--font-psy-ui);
    font-size: 0.75rem;
    color: var(--psy-arc-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Responsive HP */
@media (max-width: 650px) {
    .psy-archive-title { font-size: 2.8rem; }
    .psy-item-title { font-size: 1.8rem; }
    .psy-consciousness-thread { padding-left: 2rem; gap: 3rem; }
    .psy-node { left: calc(-2rem - 4px); }
}