/*
 * ============================================
 * DASHBOARD.CSS - Premium Dating App Styles
 * MeowClub Dashboard Enhancement
 * ============================================
 */

/* ============================================
   ENHANCED ANIMATIONS
   ============================================ */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(225, 29, 72, 0.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes card-appear {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   SIDEBAR ENHANCEMENT
   ============================================ */
.sidebar-container {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 12px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

/* Custom scrollbar for sidebar */
.sidebar-container::-webkit-scrollbar {
    width: 4px;
}

.sidebar-container::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-container::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.sidebar-container::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

.sidebar-menu .item-list {
    background: transparent !important;
    border: none !important;
}

/* Sidebar Section Headers */
.sidebar-section-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    padding: 8px 12px 6px;
    margin-bottom: 4px;
}

.sidebar-menu .item-li {
    border-radius: var(--radius-md) !important;
    margin-bottom: 4px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-menu .item-li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 0 3px 3px 0;
    transition: height 0.25s ease;
}

.sidebar-menu .item-li:hover {
    background: var(--color-primary-light) !important;
}

.sidebar-menu .item-li:hover::before {
    height: 50%;
}

.sidebar-menu .item-li.item-selected {
    background: var(--color-primary-light) !important;
}

.sidebar-menu .item-li.item-selected::before {
    height: 70%;
}

.sidebar-menu .item-li .icon {
    transition: transform 0.2s ease;
}

.sidebar-menu .item-li:hover .icon {
    transform: scale(1.1);
}

/* Profile card in sidebar */
.sidebar-menu .item-li-main {
    padding: 12px !important;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-background) 100%) !important;
    border: 1px solid var(--color-border);
    margin-bottom: 12px !important;
}

.sidebar-menu .item-li-main .profile-photo-avatar {
    width: 44px !important;
    height: 44px !important;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glare);
}

/* Notification badges with pulse */
.sidebar-menu .item-counter .counter {
    background: var(--color-primary) !important;
    color: white !important;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    animation: badge-pulse 2s ease-in-out infinite;
}

/* Dark mode sidebar adjustments */
[data-theme="dark"] .sidebar-container {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--backdrop-blur));
    border-color: var(--glass-border);
}

[data-theme="dark"] .sidebar-menu .item-li:hover {
    background: rgba(225, 29, 72, 0.15) !important;
}

[data-theme="dark"] .sidebar-menu .item-li.item-selected {
    background: rgba(225, 29, 72, 0.2) !important;
}

[data-theme="dark"] .sidebar-menu .item-li-main {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, var(--color-surface) 100%) !important;
    border-color: var(--glass-border);
}

/* ============================================
   CARD ELEVATION SYSTEM
   ============================================ */
.card {
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    background: var(--color-surface) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-2px);
    border-color: var(--color-primary-glare) !important;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--color-border-light) !important;
    padding: 16px 20px !important;
}

.card-header .card-title {
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.card-body {
    padding: 20px !important;
}

/* Dark mode cards */
[data-theme="dark"] .card {
    background: var(--color-surface) !important;
    border-color: var(--color-border) !important;
}

[data-theme="dark"] .card:hover {
    border-color: var(--color-primary) !important;
    box-shadow: var(--shadow-glow) !important;
}

/* ============================================
   BUTTON ENHANCEMENTS
   ============================================ */
.primary_btn,
.btn-primary,
button.primary_btn {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    transition: all 0.25s ease !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3) !important;
}

.primary_btn::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.primary_btn:hover::before,
.btn-primary:hover::before {
    left: 100%;
}

.primary_btn:hover,
.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4) !important;
}

.primary_btn:active,
.btn-primary:active {
    transform: translateY(0) scale(0.98) !important;
}

/* Secondary buttons */
.btn-secondary,
.flat_btn {
    background: var(--color-background) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--color-text-primary) !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.btn-secondary:hover,
.flat_btn:hover {
    background: var(--color-primary-light) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
}

/* ============================================
   AVATAR WITH STATUS
   ============================================ */
.avatar-status {
    position: relative;
    display: inline-block;
}

.avatar-status::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #22C55E;
    border: 2px solid var(--color-surface);
    border-radius: 50%;
}

.avatar-status.offline::after {
    background: var(--color-text-muted);
}

/* ============================================
   GALLERY GRID ENHANCEMENT
   ============================================ */
.cardview.items-view {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 16px;
}

.gallery-item,
.cardview .item {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    animation: card-appear 0.4s ease forwards;
}

.gallery-item:hover,
.cardview .item:hover {
    transform: scale(1.02);
    z-index: 1;
}

.gallery-item .item-inner,
.cardview .item .inner {
    border-radius: var(--radius-lg) !important;
    height: 100%;
}

/* Gallery item overlay on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.gallery-intro-header,
.main-content h1 {
    position: relative;
    margin-bottom: 24px;
}

.gallery-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-sub-title {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

/* ============================================
   POST FORM ENHANCEMENT
   ============================================ */
.new-post-form-container {
    border: 2px dashed var(--color-border) !important;
    border-radius: var(--radius-xl) !important;
    background: var(--gradient-luxury) !important;
    transition: all 0.3s ease;
}

.new-post-form-container:focus-within {
    border-color: var(--color-primary) !important;
    border-style: solid !important;
    box-shadow: 0 0 0 4px var(--color-primary-glare);
}

.new-post-form-container textarea {
    border: none !important;
    background: transparent !important;
    resize: none;
    font-size: 15px;
    color: var(--color-text-primary);
}

.new-post-form-container textarea::placeholder {
    color: var(--color-text-muted);
}

.new-post-form-container textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ============================================
   SPOTLIGHT SECTION
   ============================================ */
.spotlight {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 16px;
    margin-top: 16px;
}

.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.spotlight-title {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
}

.spotlight-link a {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.spotlight-link a:hover {
    text-decoration: underline;
}

.spotlight .cardview-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* ============================================
   LOADING / SKELETON STATES
   ============================================ */
.skeleton {
    background: linear-gradient(90deg,
            var(--color-border-light) 0%,
            var(--color-background) 50%,
            var(--color-border-light) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-lg);
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-modern {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    animation: slide-up 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-modern.success {
    border-left: 4px solid #22C55E;
}

.toast-modern.error {
    border-left: 4px solid #EF4444;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
    .sidebar-container {
        display: none;
    }

    .cardview.items-view {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .cardview.items-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .gallery-title {
        font-size: 22px !important;
    }
}

/* ============================================
   HOT OR NOT - TINDER-LIKE STYLES
   ============================================ */

/* Swipe animations */
@keyframes swipe-right {
    0% {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: translateX(150%) rotate(30deg);
        opacity: 0;
    }
}

@keyframes swipe-left {
    0% {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-150%) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes match-celebrate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes heart-burst {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(0.9);
    }

    75% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* Hot Game Card Container */
.hotgame-card {
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    box-shadow: var(--shadow-xl) !important;
    border: none !important;
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-surface) !important;
    position: relative;
}

.hotgame-card .card-header {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%) !important;
    padding: 16px 20px !important;
    border-bottom: none !important;
}

/* Profile Photo Container */
.hotagame-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--color-background);
}

.hotagame-container img#hotgame-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotgame-card:hover .hotagame-container img#hotgame-profile-photo {
    transform: scale(1.02);
}

/* Profile info overlay */
.hotagame-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    pointer-events: none;
}

/* Fullname link styling */
a.hotgame-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a.hotgame-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* Action Buttons - Tinder Style */
.btn-hotgame {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 24px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-hotgame:hover {
    transform: scale(1.15) !important;
    box-shadow: var(--shadow-lg);
}

.btn-hotgame:active {
    transform: scale(0.95) !important;
}

/* Like Button - Heart */
.btn-hotgame-like {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%) !important;
    color: white !important;
}

.btn-hotgame-like:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4) !important;
    animation: heart-burst 0.4s ease;
}

/* Skip Button - X */
.btn-hotgame-skip {
    background: linear-gradient(135deg, #EF4444 0%, #F87171 100%) !important;
    color: white !important;
}

.btn-hotgame-skip:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
}

/* Profile View Button */
.btn-hotgame-action {
    background: var(--color-background) !important;
    color: var(--color-text-secondary) !important;
    border: 1px solid var(--color-border) !important;
}

.btn-hotgame-action:hover {
    background: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

/* Match Status Image */
.hotgame-status-image {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: match-celebrate 0.5s ease forwards;
    max-width: 200px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Loading state */
.hotgame-loading .loader {
    color: var(--color-primary);
}

/* Empty state */
.hotgame-error h5 {
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Dark mode adjustments */
[data-theme="dark"] .hotgame-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .btn-hotgame {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================
   GALLERY - MASONRY STYLE
   ============================================ */
.page-gallery .cardview.items-view,
.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 0;
}

.page-gallery .cardview .item,
.gallery-grid .gallery-item {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    position: relative;
    background: var(--color-background);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.page-gallery .cardview .item:hover,
.gallery-grid .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Gallery item image */
.page-gallery .cardview .item img,
.gallery-grid .gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-gallery .cardview .item:hover img,
.gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Video indicator */
.gallery-item .video-indicator,
.cardview .item .video-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Upload area enhancement */
.new-post-form-container {
    border: 2px dashed var(--color-border) !important;
    border-radius: var(--radius-xl) !important;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-surface) 100%) !important;
    padding: 32px !important;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.new-post-form-container:hover {
    border-color: var(--color-primary) !important;
    background: var(--color-primary-light) !important;
}

.new-post-form-container:focus-within {
    border-color: var(--color-primary) !important;
    border-style: solid !important;
    box-shadow: 0 0 0 4px var(--color-primary-glare);
}

/* ============================================
   PROFILE PAGE ENHANCEMENTS
   ============================================ */
.profile-header {
    position: relative;
    padding: 24px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-background) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--color-surface);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 16px 0 4px;
}

.profile-tagline {
    color: var(--color-text-secondary);
    font-size: 16px;
}

.profile-stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.profile-stat {
    text-align: center;
}

.profile-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.profile-stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   MESSAGES / CHAT ENHANCEMENTS
   ============================================ */
.chat-message {
    display: flex;
    margin-bottom: 12px;
    animation: slide-up 0.3s ease;
}

.chat-message.sent {
    justify-content: flex-end;
}

.chat-message.received {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    position: relative;
}

.chat-message.sent .chat-bubble {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.received .chat-bubble {
    background: var(--color-background);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-bottom-left-radius: 4px;
}

.chat-timestamp {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.chat-message.sent .chat-timestamp {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--color-background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--color-text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

/* ============================================
   PROFILE PAGE ENHANCEMENTS - PHASE 4
   ============================================ */

/* Profile Cover */
.profile_cover {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-bottom: 0;
}

.profile_cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Profile Content Wrapper */
.profile-content.standard-page {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
}

.profile-content .user-info {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
    margin-top: -80px;
    /* Overlap cover photo */
}

/* Profile Photo */
.profile-user-photo-container {
    position: relative;
    flex-shrink: 0;
}

.profile-user-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid var(--color-surface);
    box-shadow: var(--shadow-xl);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-user-photo:hover {
    transform: scale(1.05);
}

/* Upload Buttons Refinement */
.profile_add_cover.profile-upload-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
}

.profile_add_cover .upload-button {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: capitalize;
}

.profile_add_cover .upload-button:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.profile_add_cover input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Feeling Icon */
.profile-feeling-img {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-size: cover;
    background-color: var(--color-surface);
    border-radius: 50%;
    border: 3px solid var(--color-surface);
    box-shadow: var(--shadow-md);
}

/* Basic Info */
.basic-info {
    padding-bottom: 24px;
    /* Adjust for overlap */
    color: var(--color-text-primary);
    /* Changed to dark text since it's below cover now */
    text-shadow: none;
}

.basic-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-primary);
}

.basic-info h4 {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.7;
    color: var(--color-text-secondary);
}

/* Online Status */
.info-item-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    border: none;
}

.info-item-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 10px #22C55E;
}

/* Verification Badge */
.user-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #3B82F6;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.4);
    border: 2px solid white;
}

/* Action Buttons Container - "Addon Block" */
#addon_block {
    background: var(--color-surface);
    padding: 20px 24px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    border: 1px solid var(--color-border);
    border-top: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

#addon_block .button {
    border-radius: var(--radius-full) !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

#addon_block .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Profile Info Lists */
.profile-info-content .standard-page {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.profile-info-content ul.collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    border: none;
    margin: 0;
}

.profile-info-content li.collection-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.2s;
}

.profile-info-content li.collection-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-info-content li.collection-item .title {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.profile-info-content li.collection-item p {
    margin: 0;
    font-size: 16px;
    color: var(--color-text-primary);
    font-weight: 600;
    text-transform: capitalize;
    /* Capitalize values */
}

/* Welcome Block Enhancement */
#welcome-block.card {
    background: var(--gradient-luxury);
    border: 1px solid var(--color-primary-light);
    border-radius: var(--radius-lg);
}

#welcome-block .card-title {
    color: var(--color-primary);
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-content .user-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -80px;
        /* Keep overlap on mobile */
    }

    .profile_cover {
        height: 200px;
    }

    .basic-info {
        padding-bottom: 0;
        margin-top: 12px;
    }

    .basic-info h1 {
        justify-content: center;
    }

    .basic-info h4 {
        color: var(--color-text-secondary);
    }

    .info-item-online {
        background: var(--color-primary-light);
        color: var(--color-primary);
        border: none;
    }

    #addon_block {
        justify-content: center;
    }
}