* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-deep) !important;
    color: var(--text-bone);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

main {
    padding-top: 64px;
    min-height: calc(100vh - 64px);
}

/* Global Link Fix */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* =========================================
   NAVBAR & LAYOUT
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    height: 64px;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a i {
    font-size: 1rem;
    color: var(--color-gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* SEARCH WRAP */
.base-search-wrap {
    position: relative;
}

.nav-search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 6px 15px 6px 35px;
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 200px;
    outline: none;
    transition: var(--transition-normal);
}

.nav-search-input:focus {
    width: 260px;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
}

/* DROPDOWN MENU */
.user-profile-dropdown {
    position: relative;
}

.profile-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.profile-toggle:hover {
    border-color: var(--color-gold);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 180px;
    background: var(--bg-deep);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2001;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-menu a {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
    color: var(--text-secondary);
}

.dropdown-menu a:hover {
    background: var(--color-glass);
    color: var(--color-gold);
}

.dropdown-menu i {
    width: 18px;
    color: var(--color-gold);
}

/* TYPOGRAPHY */
h1, h2, h3, .profile-name, .section-title, .card-title {
    font-family: var(--font-heading) !important;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-primary);
}

/* CARDS & COMPONENTS */
.stat-card, .post-card, .sidebar-section, .glass-card {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    box-shadow: var(--shadow-glass) !important;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.stat-card:hover, .post-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold) !important;
}

.stat-value {
    color: var(--color-gold) !important;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
footer {
    background: #08080c;
    border-top: 1px solid var(--border-glass);
    padding: 60px 40px 30px;
    margin-top: 60px;
    color: var(--text-secondary);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    display: block;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-slogan {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-gold);
    color: #000;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex: 2;
    justify-content: flex-end;
}

.link-group h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.link-group a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        gap: 40px;
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu logic should be in JS */
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-bg-deep);
        padding: 20px;
        border-bottom: 1px solid var(--border-glass);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* =========================================
   SIDEBAR MENU (SIDE DRAWER)
   ========================================= */
.pp-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 11999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pp-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pp-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(30px) saturate(180%);
    border-right: 1px solid var(--border-glass);
    z-index: 12000;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}

.pp-sidebar.active {
    left: 0;
}

/* Sidebar Header */
.pp-side-header {
    padding: 30px 25px;
    border-bottom: 1px solid var(--border-glass);
    background: linear-gradient(to bottom, rgba(197, 160, 89, 0.05), transparent);
}

.pp-side-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pp-side-avatar-wrap {
    position: relative;
    width: 64px;
    height: 64px;
}

.pp-side-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.pp-side-info {
    flex: 1;
}

.pp-side-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pp-side-rank {
    font-size: 0.7rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-top: 4px;
}

.pp-side-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.pp-side-stat {
    display: flex;
    flex-direction: column;
}

.pp-side-stat-val {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-gold);
}

.pp-side-stat-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Sidebar Body */
.pp-side-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 10px;
}

.pp-side-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin: 20px 15px 10px;
    font-weight: 600;
}

.pp-side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pp-side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pp-side-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--color-gold);
}

.pp-side-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding-left: 20px;
}

.pp-side-link.active {
    background: rgba(197, 160, 89, 0.1);
    color: var(--color-gold);
    font-weight: 600;
}

/* Sidebar Footer */
.pp-side-footer {
    padding: 20px 20px 40px; /* Added extra bottom padding for mobile safe area */
    border-top: 1px solid var(--border-glass);
}

.pp-logout-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 59, 48, 0.08);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 12px;
    color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
}

.pp-logout-btn:hover {
    background: #ff4d4d;
    color: white;
    box-shadow: 0 5px 20px rgba(255, 77, 77, 0.3);
    transform: translateY(-2px);
}

/* Floating Action on Logo */
.logo {
    position: relative;
    z-index: 2001; /* High, but lower than sidebar (12000) */
}

/* Custom Premium Scrollbar for Sidebar */
.pp-side-body::-webkit-scrollbar {
    width: 5px;
}

.pp-side-body::-webkit-scrollbar-track {
    background: transparent;
}

.pp-side-body::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.2);
    border-radius: 10px;
}

.pp-side-body::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 160, 89, 0.4);
}

/* =========================================
   NOTIFICATION CENTER & SOCIAL UI
   ========================================= */

.notif-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.notif-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notif-btn:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--color-gold);
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b30;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #000;
    display: none;
}

.notif-badge.active {
    display: flex;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.notif-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 320px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9);
    display: none;
    flex-direction: column;
    z-index: 10001; /* Above almost everything */
    overflow: hidden;
}

.notif-dropdown.show {
    display: flex;
    animation: dropDown 0.3s ease-out;
}

@keyframes dropDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notif-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-header h4 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-gold);
}

.notif-list {
    max-height: 400px;
    overflow-y: auto;
}

.notif-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    display: flex;
    gap: 12px;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.notif-item:hover {
    background: rgba(255,255,255,0.03);
}

.notif-item.unread {
    background: rgba(197, 160, 89, 0.05);
}

.notif-item-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.notif-item-content {
    flex: 1;
}

.notif-item-text {
    font-size: 0.85rem;
    color: #eee;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notif-item-text b { color: var(--color-gold); }

.notif-item-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.notif-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Like Controls */
.btn-like {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-like:hover {
    color: #ff3b30;
    transform: scale(1.05);
}

.btn-like.active {
    color: #ff3b30;
}

.btn-like i {
    font-size: 1.1rem;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-like:active i {
    transform: scale(1.4);
}

/* Floating Grid Like Button (Yellow/Gold) */
.btn-like-floating {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: #000;
}

.btn-like-floating:hover {
    transform: scale(1.1) translateY(-2px);
    background: #fff;
    box-shadow: 0 12px 25px rgba(201,168,76,0.4);
}

.btn-like-floating.active {
    background: #fff;
    color: #ff3b30;
}

.btn-like-floating i {
    font-size: 1.2rem;
}

/* Floating Grid Bookmark Button (Yellow/Gold) */
.btn-bookmark-floating {
    position: absolute;
    bottom: 15px;
    right: 70px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: #ccc;
}

.btn-bookmark-floating:hover {
    transform: scale(1.1) translateY(-2px);
    background: #fff;
    color: #000;
    box-shadow: 0 12px 25px rgba(201,168,76,0.4);
}

.btn-bookmark-floating.active {
    background: #fff;
    color: #c9a84c;
}

.btn-bookmark-floating i {
    font-size: 1.2rem;
}

/* Sidebar Search Box */
.sidebar-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 15px;
    gap: 12px;
    transition: all 0.3s ease;
}

.sidebar-search-box i {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.sidebar-search-box input {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}

.sidebar-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.sidebar-search-box:focus-within {
    border-color: var(--color-gold);
    background: rgba(197, 160, 89, 0.1);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

/* =========================================
   UI/UX PREMIUM IMPROVEMENTS (SKELETON & PINTEREST COVERS)
   ========================================= */

/* Shimmer Keyframe */
@keyframes premiumShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Reusable Shimmer base */
.premium-shimmer {
    background: linear-gradient(90deg, 
        rgba(20, 20, 25, 0.8) 25%, 
        rgba(201, 168, 76, 0.15) 37%, 
        rgba(20, 20, 25, 0.8) 63%
    );
    background-size: 400% 100%;
    animation: premiumShimmer 1.6s ease infinite;
}

/* Skeleton Card - Square Grid type (Explore/Profile Works) */
.skeleton-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, 
        rgba(20, 20, 25, 0.8) 25%, 
        rgba(201, 168, 76, 0.15) 37%, 
        rgba(20, 20, 25, 0.8) 63%
    );
    background-size: 400% 100%;
    animation: premiumShimmer 1.6s ease infinite;
}

/* Skeleton Search Card - horizontal split list card (Search Page) */
.skeleton-search-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 768px) {
    .skeleton-search-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.skeleton-search-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, 
        rgba(20, 20, 25, 0.8) 25%, 
        rgba(201, 168, 76, 0.15) 37%, 
        rgba(20, 20, 25, 0.8) 63%
    );
    background-size: 400% 100%;
    animation: premiumShimmer 1.6s ease infinite;
}

.skeleton-search-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, 
        rgba(28, 28, 32, 0.8) 25%, 
        rgba(255, 255, 255, 0.05) 37%, 
        rgba(28, 28, 32, 0.8) 63%
    );
    background-size: 400% 100%;
    animation: premiumShimmer 1.6s ease infinite;
}

.skeleton-line.price {
    width: 80px;
    height: 20px;
    background: linear-gradient(90deg, 
        rgba(201, 168, 76, 0.2) 25%, 
        rgba(201, 168, 76, 0.4) 37%, 
        rgba(201, 168, 76, 0.2) 63%
    );
    background-size: 400% 100%;
    animation: premiumShimmer 1.6s ease infinite;
}

.skeleton-line.title {
    width: 85%;
    height: 24px;
}

.skeleton-line.desc {
    width: 100%;
    height: 14px;
}

.skeleton-line.desc-short {
    width: 65%;
    height: 14px;
}

.skeleton-line.author {
    width: 140px;
    height: 12px;
}

/* PINTEREST ALBUM COVERS */
.pp-coll-pinterest-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 3px;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pp-coll-pinterest-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pp-coll-pinterest-side-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 100%;
}

.pp-coll-pinterest-side {
    width: 100%;
    height: calc(50% - 1.5px);
    object-fit: cover;
    opacity: 0.65;
    background: rgba(20, 20, 25, 0.9);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pp-coll-pinterest-grid.split-2 {
    grid-template-columns: 1fr 1fr;
}

.pp-coll-pinterest-grid.split-2 .pp-coll-pinterest-main,
.pp-coll-pinterest-grid.split-2 .pp-coll-pinterest-side {
    height: 100%;
    width: 100%;
}

.pp-coll-pinterest-grid.split-1 {
    grid-template-columns: 1fr;
}

.pp-coll-pinterest-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(255, 255, 255, 0.02));
    color: var(--color-gold);
    gap: 12px;
}

.pp-coll-pinterest-empty i {
    font-size: 2.2rem;
    color: var(--color-gold);
    opacity: 0.35;
    transition: all 0.4s ease;
}

.pp-coll-card:hover .pp-coll-pinterest-empty i {
    transform: scale(1.15) rotate(5deg);
    opacity: 0.7;
}

.pp-coll-card:hover .pp-coll-pinterest-main {
    opacity: 1;
    transform: scale(1.05);
}

.pp-coll-card:hover .pp-coll-pinterest-side {
    opacity: 0.9;
    transform: scale(1.05);
}

/* =========================================
   LEADERBOARD WIDGET STYLES
   ========================================= */
.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    width: 100%;
}

@media (max-width: 600px) {
    .leaderboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.leader-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.leader-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(197, 160, 89, 0.1) inset;
    background: rgba(197, 160, 89, 0.02);
}

.leader-card .rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-gold);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 20px;
    padding: 2px 8px;
    background: rgba(197, 160, 89, 0.08);
}

.leader-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto 12px;
    background: #111;
    display: block;
    transition: all 0.35s ease;
}

.leader-card:hover .avatar {
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.leader-card .username {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-bone);
    margin: 0 0 4px;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.leader-card .points {
    font-size: 0.72rem;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    display: block;
}

.leader-card .works {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* =========================================
   SHIMMERING SKELETON LOADERS
   ========================================= */
.skeleton-card {
    min-height: 380px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    backdrop-filter: blur(10px);
}

.skeleton-search-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.skeleton-search-img {
    aspect-ratio: 4/5;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    border: 1px solid rgba(255,255,255,0.06);
}

.skeleton-search-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 40px;
}

.skeleton-line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
}

.skeleton-line.price { width: 60px; height: 16px; background: rgba(197, 160, 89, 0.1); border: 1px solid rgba(197, 160, 89, 0.2); }
.skeleton-line.title { width: 80%; height: 28px; }
.skeleton-line.desc { width: 100%; height: 14px; }
.skeleton-line.desc-short { width: 60%; height: 14px; }
.skeleton-line.author { width: 100px; height: 12px; }

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 767px) {
    .skeleton-search-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================
   LIGHT THEME OVERRIDES FOR GLOBAL LAYOUT
   ========================================= */
[data-theme="light"] .navbar {
    background: rgba(245, 242, 235, 0.88);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .navbar a,
[data-theme="light"] .navbar button {
    color: var(--text-secondary) !important;
}
[data-theme="light"] .navbar a:hover,
[data-theme="light"] .navbar button:hover {
    color: var(--color-gold) !important;
}
[data-theme="light"] .mobile-menu-btn {
    color: var(--text-primary);
}
[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
[data-theme="light"] .dropdown-menu a {
    color: var(--text-secondary);
}
[data-theme="light"] .dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--color-gold);
}
[data-theme="light"] .profile-toggle {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
}
[data-theme="light"] .notif-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
    color: var(--text-primary) !important;
}
[data-theme="light"] .notif-dropdown {
    background: #ffffff;
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
[data-theme="light"] .notif-header {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .notif-item {
    border-bottom-color: rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .notif-item-text {
    color: #333336;
}
[data-theme="light"] .notif-item.unread {
    background: rgba(197, 160, 89, 0.06);
}
[data-theme="light"] .lang-dropdown-menu {
    background: #ffffff !important;
    border-color: rgba(197, 160, 89, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}
[data-theme="light"] .lang-item {
    color: var(--text-primary) !important;
}
[data-theme="light"] .lang-item:hover {
    background: rgba(197, 160, 89, 0.08) !important;
}
[data-theme="light"] .sidebar-search-box {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .sidebar-search-box input {
    color: var(--text-primary) !important;
}
[data-theme="light"] .pp-side-link:hover {
    background: rgba(0, 0, 0, 0.03) !important;
    color: var(--text-primary) !important;
}
[data-theme="light"] .pp-sidebar {
    background: rgba(245, 242, 235, 0.95) !important;
    border-right-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.05) !important;
}
[data-theme="light"] .pp-side-header {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .pp-logout-btn {
    background: rgba(255, 59, 48, 0.04) !important;
}
[data-theme="light"] .pp-logout-btn:hover {
    color: white !important;
}

/* --- Footer Light Mode Style Overrides --- */
[data-theme="light"] footer {
    background: var(--color-bg-dark, #f5f2eb) !important;
    border-top: 1px solid var(--border-glass, rgba(0, 0, 0, 0.06)) !important;
    color: var(--text-secondary, #5e5a54) !important;
}
[data-theme="light"] .footer-logo {
    color: var(--color-gold, #c9a84c) !important;
}
[data-theme="light"] .footer-slogan {
    color: var(--text-muted, #858076) !important;
}
[data-theme="light"] .link-group h3 {
    color: var(--text-primary, #2a2825) !important;
}
[data-theme="light"] .link-group a {
    color: var(--text-secondary, #5e5a54) !important;
}
[data-theme="light"] .link-group a:hover {
    color: var(--color-gold, #c9a84c) !important;
}
[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
    color: var(--text-muted, #858076) !important;
}
[data-theme="light"] .footer-copy {
    color: var(--text-muted, #858076) !important;
}
[data-theme="light"] .footer-legal a {
    color: var(--text-muted, #858076) !important;
}
[data-theme="light"] .footer-legal a:hover {
    color: var(--text-primary, #2a2825) !important;
}
[data-theme="light"] .social-links a {
    color: var(--text-secondary, #5e5a54) !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
[data-theme="light"] .social-links a:hover {
    color: var(--color-gold, #c9a84c) !important;
    border-color: rgba(201, 168, 76, 0.3) !important;
    background: rgba(201, 168, 76, 0.05) !important;
}

/* =========================================
   COMPREHENSIVE PREMIUM LIGHT THEME OVERRIDES
   ========================================= */
[data-theme="light"] body {
    background: var(--color-bg-deep, #ebe6dd) !important;
    color: var(--text-primary, #2a2825) !important;
}

/* Scrollbars */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--color-bg-deep, #ebe6dd) !important;
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.25) !important;
}

/* Headers & Text Elements */
[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4, 
[data-theme="light"] h5, 
[data-theme="light"] h6,
[data-theme="light"] .title, 
[data-theme="light"] .heading, 
[data-theme="light"] .section-title, 
[data-theme="light"] .vault-title,
[data-theme="light"] .post-title,
[data-theme="light"] .card-title,
[data-theme="light"] .timeline-body h3 {
    color: var(--text-primary, #2a2825) !important;
}

[data-theme="light"] p, 
[data-theme="light"] span, 
[data-theme="light"] label,
[data-theme="light"] .desc, 
[data-theme="light"] .description,
[data-theme="light"] .muted, 
[data-theme="light"] .text-muted,
[data-theme="light"] .stat-label,
[data-theme="light"] .timeline-meta,
[data-theme="light"] .legal-text {
    color: var(--text-secondary, #5e5a54) !important;
}

[data-theme="light"] .help-text, 
[data-theme="light"] .text-muted-more {
    color: var(--text-muted, #858076) !important;
}

/* Card Elements (Glassmorphism to Soft Claymorphism) */
[data-theme="light"] .card, 
[data-theme="light"] .card-glass, 
[data-theme="light"] .vault-frame, 
[data-theme="light"] .search-card, 
[data-theme="light"] .post-card, 
[data-theme="light"] .coll-card,
[data-theme="light"] .collection-card, 
[data-theme="light"] .category-card, 
[data-theme="light"] .studio-card, 
[data-theme="light"] .settings-card, 
[data-theme="light"] .notif-card,
[data-theme="light"] .timeline-content.card-glass,
[data-theme="light"] .pp-card,
[data-theme="light"] .badge-item {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    color: var(--text-primary, #2a2825) !important;
}

[data-theme="light"] .card:hover, 
[data-theme="light"] .card-glass:hover, 
[data-theme="light"] .search-card:hover, 
[data-theme="light"] .post-card:hover, 
[data-theme="light"] .coll-card:hover,
[data-theme="light"] .collection-card:hover, 
[data-theme="light"] .category-card:hover,
[data-theme="light"] .badge-item:hover {
    border-color: rgba(197, 160, 89, 0.45) !important;
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.08) !important;
    background: #ffffff !important;
}

/* Global Form Elements */
[data-theme="light"] input[type="text"], 
[data-theme="light"] input[type="email"], 
[data-theme="light"] input[type="password"], 
[data-theme="light"] input[type="search"], 
[data-theme="light"] input[type="number"], 
[data-theme="light"] textarea, 
[data-theme="light"] select {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: var(--text-primary, #2a2825) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important;
}

[data-theme="light"] input:focus, 
[data-theme="light"] textarea:focus, 
[data-theme="light"] select:focus {
    border-color: var(--color-gold, #c9a84c) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15) !important;
}

[data-theme="light"] input::placeholder, 
[data-theme="light"] textarea::placeholder {
    color: var(--text-muted, #858076) !important;
    opacity: 0.7 !important;
}

/* Dropdowns and Modals */
[data-theme="light"] .modal-content, 
[data-theme="light"] .modal-body, 
[data-theme="light"] .popup-content, 
[data-theme="light"] .notif-dropdown, 
[data-theme="light"] .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
    color: var(--text-primary, #2a2825) !important;
}

/* Specialized Buttons */
[data-theme="light"] .btn-glass, 
[data-theme="light"] .btn-secondary, 
[data-theme="light"] .btn-outline {
    background: rgba(0, 0, 0, 0.04) !important;
    color: var(--text-primary, #2a2825) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .btn-glass:hover, 
[data-theme="light"] .btn-secondary:hover, 
[data-theme="light"] .btn-outline:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: var(--text-primary, #2a2825) !important;
}

/* Vault Page Specific Overrides */
[data-theme="light"] .stat-num {
    color: var(--color-gold, #c9a84c) !important;
}
[data-theme="light"] .vault-frame::before {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, rgba(245, 242, 235, 0.95) 100%) !important;
}
[data-theme="light"] .vault-icon {
    color: var(--color-gold, #c9a84c) !important;
}
[data-theme="light"] .btn-takeover {
    background: var(--color-gold, #c9a84c) !important;
    color: #000000 !important;
    border-color: transparent !important;
}
[data-theme="light"] .btn-takeover:hover {
    background: #b2923f !important;
}

/* Search Filters and Overrides */
[data-theme="light"] .search-filter-btn {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: var(--text-secondary, #5e5a54) !important;
}
[data-theme="light"] .search-filter-btn.active, 
[data-theme="light"] .search-filter-btn:hover {
    background: var(--color-gold, #c9a84c) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* Timeline specific line */
[data-theme="light"] .meaning-timeline {
    border-left-color: rgba(0, 0, 0, 0.1) !important;
}
[data-theme="light"] .timeline-marker {
    border-color: #ffffff !important;
}




