/* Vira Roleplay Unique Wiki Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* Scroll Animations */
.w-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.w-reveal.active { opacity: 1; transform: translateY(0); }

/* Page Transition Animations */
body.w-theme {
    opacity: 0;
    animation: bodyFadeIn 0.5s ease-out forwards;
}
body.w-theme.page-exit {
    opacity: 0 !important;
    transition: opacity 0.3s ease-in;
}
.w-main {
    animation: mainFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes bodyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes mainFadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

:root {
    --w-bg-base: #060b13;
    --w-bg-sidebar: #0a1120;
    --w-bg-card: rgba(16, 26, 45, 0.6);
    --w-primary: #3b82f6;
    --w-primary-glow: rgba(59, 130, 246, 0.4);
    --w-accent: #6366f1;
    --w-border: rgba(255, 255, 255, 0.05);
    --w-border-hover: rgba(255, 255, 255, 0.15);
    --w-text-title: #f8fafc;
    --w-text-body: #94a3b8;
    --w-sidebar-width: 280px;
}

body.w-theme {
    margin: 0;
    padding: 0;
    background-color: var(--w-bg-base);
    color: var(--w-text-body);
    font-family: 'Inter', sans-serif;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

body.w-theme::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Sidebar */
.w-sidebar {
    width: var(--w-sidebar-width);
    background-color: var(--w-bg-sidebar);
    border-right: 1px solid var(--w-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 50;
    box-shadow: 5px 0 25px rgba(0,0,0,0.2);
}

.w-sidebar-header {
    padding: 30px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--w-border);
}

.w-sidebar-header img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 8px var(--w-primary-glow));
}

.w-sidebar-header h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--w-text-title);
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.w-sidebar-nav {
    padding: 24px 16px;
    flex-grow: 1;
    overflow-y: auto;
}

.w-nav-group {
    margin-bottom: 24px;
}

.w-nav-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #475569;
    font-weight: 700;
    margin: 0 0 12px 12px;
}

.w-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: var(--w-text-body);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.w-nav-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.w-nav-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(59,130,246,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.w-nav-link span, .w-nav-link .w-nav-text {
    position: relative;
    z-index: 2;
}

.w-nav-link:hover {
    color: var(--w-text-title);
    transform: translateX(4px);
}

.w-nav-link:hover::before {
    opacity: 0.5;
}

.w-nav-link:hover i {
    opacity: 1;
    color: var(--w-text-title);
}

.w-nav-link.active {
    color: var(--w-primary);
    font-weight: 600;
}

.w-nav-link.active::before {
    opacity: 1;
}

.w-nav-link.active i {
    opacity: 1;
    color: var(--w-primary);
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.4));
}

.w-sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--w-border);
}

.w-btn-create {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    background: linear-gradient(135deg, var(--w-primary), var(--w-accent));
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--w-primary-glow);
}

.w-btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--w-primary-glow);
}

/* Main Content Area */
.w-main {
    margin-left: var(--w-sidebar-width);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.w-topbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid var(--w-border);
    background: rgba(6, 11, 19, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 40;
}

.w-search-box {
    position: relative;
    width: 400px;
}

.w-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.w-search-box input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--w-border);
    padding: 12px 16px 12px 45px;
    border-radius: 12px;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.w-search-box input:focus {
    outline: none;
    border-color: rgba(59,130,246,0.5);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.w-topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.w-btn-ucp {
    color: var(--w-text-body);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--w-border);
    transition: all 0.2s;
}

.w-btn-ucp:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

/* Page Content */
.w-content {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.w-hero-banner {
    background: linear-gradient(120deg, rgba(59,130,246,0.1), rgba(99,102,241,0.05));
    border: 1px solid var(--w-border);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.w-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.w-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0 0 15px;
    line-height: 1.1;
}

.w-hero-title span {
    color: var(--w-primary);
}

.w-hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.w-hero-art {
    position: absolute;
    right: -20px;
    top: -50px;
    opacity: 0.05;
    font-size: 15rem;
    z-index: 1;
    pointer-events: none;
}

/* Stats Row */
.w-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.w-stat-card {
    background: var(--w-bg-card);
    border: 1px solid var(--w-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.w-stat-card:hover {
    border-color: var(--w-border-hover);
    transform: translateY(-2px);
}

.w-stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.w-stat-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.w-stat-green { background: rgba(16,185,129,0.1); color: #10b981; }
.w-stat-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }

.w-stat-info h4 {
    margin: 0 0 5px;
    color: var(--w-text-body);
    font-size: 0.9rem;
    font-weight: 500;
}

.w-stat-info .w-stat-num {
    margin: 0;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

/* Explore Sections */
.w-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.w-section-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.w-section-header a {
    color: var(--w-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.w-section-header a:hover {
    text-decoration: underline;
}

.w-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.w-explore-card {
    background: var(--w-bg-card);
    border: 1px solid var(--w-border);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.w-explore-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(59,130,246,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.w-explore-card > * {
    position: relative;
    z-index: 2;
}

.w-explore-card:hover {
    background: rgba(25, 35, 55, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.w-explore-card:hover::before {
    opacity: 1;
}

.w-explore-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 16px;
    opacity: 0.9;
    transition: transform 0.3s, color 0.3s, filter 0.3s;
    display: inline-block;
}

.w-explore-card:hover .w-explore-icon {
    transform: scale(1.1);
    color: var(--w-primary);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.w-explore-title {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.w-explore-desc {
    color: var(--w-text-body);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Avatar Fallback Icons */
.w-char-avatar-fallback {
    width: 70px; height: 70px; border-radius: 14px;
    background: rgba(255,255,255,0.05); border: 1px dashed rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 1.5rem;
    flex-shrink: 0;
}
.w-infobox-avatar-fallback {
    width: 150px; height: 150px; border-radius: 20px;
    background: rgba(255,255,255,0.05); border: 2px dashed rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 3.5rem;
    margin: 0 auto 15px auto;
}

/* Global Live Search Styles */
.w-search-results {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: rgba(15, 25, 45, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.w-search-results.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.w-search-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
}
.w-search-item:last-child {
    border-bottom: none;
}
.w-search-item:hover {
    background: rgba(59, 130, 246, 0.15);
}
.w-search-item-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--w-border);
}
.w-search-item-info {
    display: flex;
    flex-direction: column;
}
.w-search-item-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: white;
}
.w-search-item-cat {
    font-size: 0.8rem;
    color: var(--w-primary);
    font-weight: 500;
    text-transform: uppercase;
}
.w-search-loading {
    padding: 20px;
    text-align: center;
    color: var(--w-text-muted);
    font-size: 0.9rem;
}
.w-search-empty {
    padding: 20px;
    text-align: center;
    color: var(--w-text-muted);
    font-size: 0.95rem;
}

/* --- Mobile Toggle Buttons Defaults --- */
.w-mobile-menu-toggle {
    display: none;
}
.w-sidebar-close {
    display: none;
}
.w-bottom-nav {
    display: none;
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 992px) {
    :root {
        --w-sidebar-width: 260px;
    }
    
    body.w-theme {
        display: block !important;
        overflow-x: hidden;
    }

    .w-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: var(--w-sidebar-width);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }
    
    .w-sidebar.active {
        transform: translateX(0);
    }
    
    .w-sidebar-close {
        display: flex !important;
        position: absolute;
        top: 25px;
        right: 20px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        cursor: pointer;
        z-index: 60;
        transition: all 0.2s;
    }
    .w-sidebar-close:hover {
        background: rgba(255,255,255,0.15);
    }
    
    .w-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(4, 8, 15, 0.8);
        backdrop-filter: blur(6px);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .w-sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .w-main {
        margin-left: 0 !important;
        width: 100% !important;
        min-height: auto;
        display: block;
    }
    
    .w-topbar {
        padding: 0 20px;
        gap: 15px;
        height: 70px;
    }
    
    .w-mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.02);
        border: 1px solid var(--w-border);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1.1rem;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.3s;
    }
    .w-mobile-menu-toggle:hover {
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.2);
    }
    
    .w-search-box {
        width: auto;
        flex-grow: 1;
        max-width: 180px;
    }
    
    .w-search-box input {
        padding: 10px 12px 10px 35px;
        font-size: 0.85rem;
    }
    .w-search-box i {
        left: 12px;
        font-size: 0.85rem;
    }
    
    .w-content {
        padding: 15px 15px 100px 15px !important;
    }

    /* Tablo Taşırma Koruması */
    .w-admin-table, table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        width: 100% !important;
    }

    /* Bottom Navigation App-Like Style */
    .w-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: rgba(6, 11, 19, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid var(--w-border);
        z-index: 60;
        padding: 0 5px;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
    }
    
    .w-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748b;
        text-decoration: none;
        font-size: 0.65rem;
        font-weight: 600;
        gap: 5px;
        transition: all 0.3s;
        flex: 1;
        height: 100%;
        position: relative;
    }
    
    .w-bottom-nav-item i {
        font-size: 1.25rem;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .w-bottom-nav-item.active {
        color: var(--w-primary);
    }
    
    .w-bottom-nav-item.active i {
        transform: translateY(-3px);
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
    }
    
    .w-bottom-nav-item:hover {
        color: var(--w-text-title);
    }
    
    /* Makale Yaz Özel Butonu (FAB Tarzı) */
    .w-bottom-nav-fab {
        background: linear-gradient(135deg, var(--w-primary), var(--w-accent));
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
        transform: translateY(-20px);
        border: 4px solid var(--w-bg-base);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .w-bottom-nav-fab:hover {
        transform: translateY(-25px) scale(1.05);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    }
    
    /* Hero Banner Mobile */
    .w-hero-banner {
        padding: 35px 20px !important;
        text-align: center;
    }
    .w-hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    .w-hero-desc {
        font-size: 0.85rem !important;
        margin: 15px auto !important;
        max-width: 100%;
    }
    .w-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .w-hero-content div {
        justify-content: center;
        width: 100%;
    }
    .w-btn-primary, .w-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Grids & Cards */
    .w-explore-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .w-home-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .w-stats-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 30px !important;
    }
    
    /* Article Page overrides */
    .w-article-header {
        padding: 24px !important;
        margin-bottom: 24px !important;
        display: flex;
        flex-direction: column;
    }
    .w-article-header h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    .w-article-stats {
        position: static !important;
        margin-top: 20px;
        flex-wrap: wrap;
        gap: 10px !important;
    }
    
    .w-article-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .w-article-content {
        padding: 24px !important;
        font-size: 0.95rem !important;
    }
    .w-article-content h1 { font-size: 1.8rem !important; }
    .w-article-content h2 { font-size: 1.5rem !important; }
    .w-article-content h3 { font-size: 1.3rem !important; }
    
    .w-sidebar-right {
        width: 100% !important;
    }
    .w-infobox {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    /* Edit / Create Page Infobox Inputs */
    .w-infobox-fields {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    /* Admin Picker */
    .w-icon-picker {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .w-topbar-actions {
        display: flex !important;
        gap: 6px !important;
    }
    .w-btn-home .w-btn-label,
    .w-btn-login .w-btn-label {
        display: none;
    }
    .w-btn-home, .w-btn-login {
        padding: 10px !important;
    }
    .w-user-info {
        display: none;
    }
    .w-mobile-menu-toggle {
        display: flex !important;
    }
    
    .w-search-box {
        max-width: 100%;
        width: 100%;
    }
}

/* Vira Editor Custom Styles */
.vira-editor {
    border: 1px solid var(--w-border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 17, 30, 0.6);
    transition: all 0.3s ease;
}
.vira-editor:focus-within {
    border-color: var(--w-primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}
.vira-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--w-border);
    flex-wrap: wrap;
}
.editor-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8 !important;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-weight: 500;
}
.editor-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    color: white !important;
    border-color: rgba(59, 130, 246, 0.3);
}
.editor-btn.active {
    background: var(--w-primary);
    color: white !important;
    border-color: var(--w-primary);
}
.vira-editor-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 6px;
}
.editor-btn i {
    font-size: 1rem;
}
#editorPreview {
    font-family: 'Inter', sans-serif;
    color: #cbd5e1;
    line-height: 1.8;
}
#editorPreview h2, #editorPreview h3 {
    color: white;
    font-family: 'Outfit', sans-serif;
    margin-top: 20px;
}

/* Uniform Image Display in Article Body */
.w-article-content img, #editorPreview img {
    width: 100%;
    max-width: 700px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 25px auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}


/* 1.5 Lightbox Animations */
.w-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 10000; align-items: center; justify-content: center; cursor: zoom-out; opacity: 0; transition: opacity 0.3s; }
.w-lightbox.active { display: flex; opacity: 1; }
.w-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 12px; box-shadow: 0 0 60px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.w-lightbox.active img { transform: scale(1); }

/* 1.6 Timeline Component */
.w-timeline { position: relative; padding-left: 30px; margin: 30px 0; }
.w-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.w-timeline-item { position: relative; margin-bottom: 25px; }
.w-timeline-item::before { content: ''; position: absolute; left: -34px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--w-primary); box-shadow: 0 0 10px var(--w-primary-glow); border: 2px solid var(--w-bg-base); }
.w-timeline-date { font-size: 0.85rem; color: var(--w-primary); font-weight: 600; margin-bottom: 5px; font-family: 'Outfit', sans-serif; }
.w-timeline-content { background: rgba(0,0,0,0.2); border: 1px solid var(--w-border); padding: 15px; border-radius: 12px; color: var(--w-text-body); font-size: 0.95rem; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--w-bg-base); }
::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.6); }
