nav { position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%); width: fit-content; height: 60px; background: rgba(10, 10, 10, 0.4); backdrop-filter: blur(40px); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; padding: 0 1.5rem 0 2rem; display: flex; align-items: center; gap: 2.5rem; z-index: 5000; }
        .hero { padding-top: 140px; }
        .reveal { opacity: 0; transform: translateY(15px); }
        .reveal.active { opacity: 1; transform: translateY(0); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
        @media (max-width: 768px) { nav { width: 95vw; justify-content: space-between; } .nav-links { display: none; } .mobile-toggle { display: block; } }
        .mobile-overlay { display: none; visibility: hidden; }
        .overlay-link { display: none; }
        .mobile-overlay.active { display: flex !important; visibility: visible !important; }
        .mobile-overlay.active .overlay-link { display: block !important; opacity: 1 !important; visibility: visible !important; }
        html, body { overflow-x: hidden !important; }
.category-filter {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        .filter-btn {
            background: rgba(255,255,255,0.03);
            border: 1px solid var(--glass-border);
            padding: 0.7rem 1.8rem;
            border-radius: 100px;
            color: white;
            font-size: 0.75rem;
            font-weight: 800;
            cursor: pointer;
            letter-spacing: 1px;
            transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .filter-btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        .filter-btn.active-filter {
            background: var(--p-base) !important;
            border-color: var(--p-base) !important;
            box-shadow: 0 0 30px rgba(199, 0, 255, 0.4) !important;
            color: white !important;
            transform: scale(1.08) translateY(-2px) !important;
            font-weight: 800 !important;
        }

        /* ADMIN INLINE NOTES DELETION */
        .admin-delete-btn {
            position: absolute;
            top: 2rem;
            right: 2rem;
            background: rgba(255, 0, 85, 0.1);
            border: 1px solid rgba(255, 0, 85, 0.3);
            color: #ff0055;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            font-size: 0.85rem;
            z-index: 10;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }
        .admin-delete-btn:hover {
            background: rgba(255, 0, 85, 1);
            color: white;
            border-color: rgba(255, 0, 85, 1);
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
        }
        .admin-only-btn {
            display: none !important;
        }
        body.is-admin .admin-only-btn {
            display: inline-flex !important;
        }

        /* SPACIOUS SINGLE-COLUMN EDITORIAL LAYOUT */
        .notes-timeline {
            display: flex;
            flex-direction: column;
            gap: 4rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .note-row {
            display: flex;
            flex-direction: column;
            padding: 3.5rem 4rem;
            background: rgba(255,255,255,0.015);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s, background 0.4s;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(20px);
        }

        .note-row:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.03);
            border-color: rgba(255,255,255,0.1);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        }

        .note-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding-bottom: 1.5rem;
        }

        .note-date {
            font-size: 0.85rem;
            letter-spacing: 2px;
            color: rgba(255,255,255,0.4);
            font-weight: 600;
        }

        .note-category {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .note-category .label {
            margin: 0;
            line-height: 1;
            display: flex;
            align-items: center;
        }

        .category-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            box-shadow: 0 0 15px currentColor;
            opacity: 0.9;
            flex-shrink: 0;
        }

        /* 3D FEATURED CAROUSEL */
        .carousel-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            position: relative;
            margin: 1rem 0 3rem 0;
            width: 100%;
        }

        .carousel-arrow {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .carousel-arrow:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: scale(1.1);
        }

        .carousel-container {
            position: relative;
            width: 800px;
            max-width: 100%;
            height: 350px;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 1200px;
        }

        .carousel-card {
            position: absolute;
            width: 400px;
            max-width: 80%;
            height: 280px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 24px;
            padding: 2.5rem;
            transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            backdrop-filter: blur(10px);
            opacity: 0;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }

        .carousel-card.card-center {
            transform: translateX(0) translateZ(0) scale(1);
            opacity: 1;
            z-index: 5;
            pointer-events: auto;
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 50px rgba(0,0,0,0.6);
        }

        .carousel-card.card-left {
            transform: translateX(-55%) translateZ(-200px) scale(0.85);
            opacity: 0.4;
            z-index: 3;
            cursor: pointer;
            pointer-events: auto;
        }

        .carousel-card.card-right {
            transform: translateX(55%) translateZ(-200px) scale(0.85);
            opacity: 0.4;
            z-index: 3;
            cursor: pointer;
            pointer-events: auto;
        }

        .carousel-card:hover {
            border-color: rgba(255,255,255,0.2);
        }

        .carousel-card .note-title {
            font-size: 1.5rem;
            margin-bottom: 0;
            line-height: 1.2;
        }

        .carousel-card .note-body {
            font-size: 0.95rem;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        @media (max-width: 768px) {
            .carousel-card {
                width: 320px;
                padding: 1.5rem;
                height: 250px;
            }
            .carousel-card .note-title {
                font-size: 1.25rem;
            }
            .carousel-card .note-body {
                font-size: 0.85rem;
                -webkit-line-clamp: 3;
                line-clamp: 3;
            }
            .carousel-card.card-left {
                transform: translateX(-30%) translateZ(-200px) scale(0.8);
            }
            .carousel-card.card-right {
                transform: translateX(30%) translateZ(-200px) scale(0.8);
            }
        }

        .note-title {
            font-family: 'Outfit', sans-serif;
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            letter-spacing: -0.5px;
            transition: text-shadow 0.4s;
        }

        .note-row:hover .note-title {
            text-shadow: 0 0 20px currentColor;
        }

        .note-body {
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255,255,255,0.6);
        }

        @media (max-width: 768px) {
            .note-row {
                padding: 2.5rem 1.5rem;
            }
            .note-title {
                font-size: 1.8rem;
            }
        }