/* ==================== */
/* NAVBAR STYLES        */
/* ==================== */

/* --- Default Navbar Styles (Top of Page) --- */
.navbar {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease;
}

/* Default text and mobile icon colors */
.navbar .nav-link-text,
.navbar .btn-icon {
    color: white;
    transition: color 0.4s ease;
}

/* Default state for the primary button */
.navbar .btn-primary-custom {
    color: white !important; /* Keep text white */
    transition: color 0.4s ease, background-color 0.4s ease;
}


/* --- Scrolled Navbar Styles --- */
.navbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Scrolled text and mobile icon colors */
.navbar.navbar-scrolled .nav-link-text,
.navbar.navbar-scrolled .btn-icon {
    color: #111; /* Black color */
}

/* Prevent logo from being affected by other styles on scroll */
.navbar.navbar-scrolled .navbar-brand img {
    filter: none; /* Ensure no filter like invert() is applied */
}

/* The text inside .btn-primary-custom should remain white, 
   so the rule that turned it black has been removed. */


/* ==================== */
/* HERO SECTION         */
/* ==================== */

.profile-hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ==================== */
/* MODERN PROFILE HEADER */
/* ==================== */

.profile-header-modern {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.profile-picture-container-modern {
    position: relative;
}

.profile-picture-frame {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-picture-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-picture-modern:hover {
    transform: scale(1.05);
}

.profile-picture-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.profile-info-modern {
    color: white;
    flex: 1;
}

.profile-username {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.profile-stats-modern {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.profile-bio-modern p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
}

/* ==================== */
/* CONTENT SECTION      */
/* ==================== */

.content-section {
    background: #f8fafc;
    min-height: 60vh;
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 300;
}

/* ==================== */
/* ENHANCED CONTENT GRID */
/* ==================== */

.content-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    group: hover;
}

.content-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.content-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.content-card-modern:hover .content-image {
    transform: scale(1.1);
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-card-modern:hover .content-overlay {
    opacity: 1;
}

.lock-icon {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.price-symbol {
    font-size: 0.8rem;
    opacity: 0.9;
}

.nsfw-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-card-body {
    padding: 1.5rem;
}

.content-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.content-meta i {
    margin-right: 0.25rem;
}

/* ==================== */
/* EMPTY STATE          */
/* ==================== */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}
.profile-social-links {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* 20px */
    margin-top: 1rem; /* 16px */
}

.social-icon {
    font-size: 1.75rem; /* 28px - Adjust size as needed */
    color: rgba(255, 255, 255, 0.9); 
    text-decoration: none;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.social-icon:hover {
    color: #C7A2F4; 
    transform: scale(1.15);
}

/* ==================== */
/* MOBILE RESPONSIVE    */
/* ==================== */

@media (max-width: 768px) {
    .profile-hero-section {
        padding: 120px 0 60px;
    }
    
    .profile-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-username {
        font-size: 2rem;
    }
    
    .profile-stats-modern {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 0.75rem 1rem;
    }
    
    .content-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .content-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-picture-frame {
        width: 100px;
        height: 100px;
    }
}

/* ==================== */
/* DARK MODE SUPPORT    */
/* ==================== */

@media (prefers-color-scheme: dark) {
    .content-section {
        background: #0f172a;
    }
    
    .content-card-modern {
        background: #1e293b;
        border: 1px solid #334155;
    }
    
    .content-title {
        color: #f1f5f9;
    }
    
    .content-meta {
        color: #94a3b8;
    }
    
    .section-title {
        color: #f1f5f9;
    }
    
    .section-subtitle {
        color: #94a3b8;
    }
    
    .empty-state {
        background: #1e293b;
        border: 1px solid #334155;
    }
    
    .empty-title {
        color: #f1f5f9;
    }
    
    .empty-subtitle {
        color: #94a3b8;
    }

}
