/**
 * Profile Page Styles - The Arabic Poetry
 * Navy/Terracotta color system with modern typography
 */

/* ============================================
   COLOR VARIABLES
   ============================================ */
:root {
    --profile-black: #000000;
    --profile-navy: #0a1e43;
    --profile-terracotta: #95472d;
    --profile-white: #FFFFFF;
    --profile-grey: #A0A0A0;
    --profile-dark-grey: #707070;
}

/* ============================================
   BASE STYLES
   ============================================ */
body.profile-page {
    background: var(--profile-black);
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    color: var(--profile-white);
    font-family: 'Crimson Pro', Georgia, serif;
}

/* ============================================
   PROFILE HEADER
   ============================================ */
.profile-header {
    margin-bottom: 40px;
}

.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, var(--profile-navy) 0%, #0f2859 100%);
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: 20px 20px 0 0;
}

.profile-info {
    background: var(--profile-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 80px 30px 30px;
    margin-top: -80px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ============================================
   AVATAR
   ============================================ */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--profile-black);
    flex-shrink: 0;
    overflow: hidden;
    background: var(--profile-navy);
    margin-top: -60px;
}

.profile-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--profile-terracotta);
    color: var(--profile-white);
    font-size: 3.45rem; /* 3rem + 15% */
    font-weight: bold;
    font-family: 'Crimson Pro', Georgia, serif;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--profile-terracotta);
    color: var(--profile-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.15rem; /* 1rem + 15% */
    border: 3px solid var(--profile-black);
}

/* ============================================
   PROFILE DETAILS
   ============================================ */
.profile-details {
    flex: 1;
    padding-top: 0;
}

.profile-name {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.875rem; /* 2.5rem + 15% */
    font-weight: 700;
    color: var(--profile-white);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.profile-username {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.38rem; /* 1.2rem + 15% */
    color: var(--profile-terracotta);
    margin: 0 0 15px 0;
    font-weight: 500;
}

.profile-bio {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-white);
    font-size: 1.265rem; /* 1.1rem + 15% */
    line-height: 1.7;
    margin: 0 0 15px 0;
    max-width: 600px;
}

.profile-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.meta-item {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-grey);
    font-size: 1.035rem; /* 0.9rem + 15% */
    text-decoration: none;
    transition: color 0.2s ease;
}

.meta-item:hover {
    color: var(--profile-terracotta);
}

.profile-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    font-family: 'Crimson Pro', Georgia, serif;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--profile-white);
    text-decoration: none;
    font-size: 1.035rem; /* 0.9rem + 15% */
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(149, 71, 45, 0.1);
    border-color: var(--profile-terracotta);
    color: var(--profile-terracotta);
}

/* ============================================
   PROFILE ACTIONS
   ============================================ */
.profile-actions {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.btn-follow,
.btn-dashboard,
.btn-share,
.btn-edit-profile,
.btn-view-collection {
    font-family: 'Crimson Pro', Georgia, serif;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.15rem; /* 1rem + 15% */
    text-decoration: none;
    display: inline-block;
}

.btn-follow {
    background: var(--profile-terracotta);
    color: var(--profile-white);
}

.btn-follow.following {
    background: rgba(255, 255, 255, 0.1);
    color: var(--profile-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(149, 71, 45, 0.4);
}

.btn-dashboard {
    background: var(--profile-terracotta);
    color: var(--profile-white);
    text-decoration: none;
    display: inline-block;
}

.btn-dashboard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(149, 71, 45, 0.4);
}

.btn-share {
    background: rgba(255, 255, 255, 0.1);
    color: var(--profile-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-share:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--profile-terracotta);
    color: var(--profile-terracotta);
}

.btn-edit-profile {
    background: var(--profile-terracotta);
    color: var(--profile-white);
}

.btn-edit-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(149, 71, 45, 0.4);
}

.btn-view-collection {
    background: var(--profile-terracotta);
    color: var(--profile-white);
}

.btn-view-collection:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(149, 71, 45, 0.4);
}

/* ============================================
   PROFILE STATS BAR
   ============================================ */
.profile-stats-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    background: var(--profile-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.profile-stats-bar .stat {
    text-align: center;
    padding: 25px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.profile-stats-bar .stat:last-child {
    border-right: none;
}

.profile-stats-bar .stat:hover {
    background: rgba(149, 71, 45, 0.1);
}

.stat-value {
    display: block;
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.3rem; /* 2rem + 15% */
    color: var(--profile-terracotta);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    display: block;
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.035rem; /* 0.9rem + 15% */
    color: var(--profile-grey);
    font-weight: 500;
}

/* ============================================
   PROFILE TABS
   ============================================ */
.profile-tabs {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    padding: 0 5px;
}

.profile-tabs .tab-btn {
    font-family: 'Crimson Pro', Georgia, serif;
    padding: 20px 0;
    background: transparent;
    border: none;
    color: var(--profile-grey);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
    font-size: 1.15rem; /* 1rem + 15% */
    font-weight: 500;
}

.profile-tabs .tab-btn:hover {
    color: var(--profile-white);
}

.profile-tabs .tab-btn.active {
    color: var(--profile-white);
}

.profile-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--profile-terracotta);
}

/* ============================================
   TAB CONTENT
   ============================================ */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TASTE SECTION (Overview Tab)
   ============================================ */
.taste-section {
    margin-bottom: 40px;
}

.taste-section h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.07rem; /* 1.8rem + 15% */
    font-weight: 700;
    color: var(--profile-white);
    margin: 0 0 25px 0;
}

.taste-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.taste-card {
    background: var(--profile-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.taste-card:hover {
    background: #0f2859;
    border-color: var(--profile-terracotta);
    transform: translateY(-2px);
}

.taste-card h3 {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-terracotta);
    margin: 0 0 10px 0;
    font-size: 1.265rem; /* 1.1rem + 15% */
    font-weight: 600;
}

.taste-card p {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-white);
    font-size: 1.495rem; /* 1.3rem + 15% */
    font-weight: 700;
    margin: 0;
}

/* ============================================
   FAVORITES SECTION
   ============================================ */
.favorites-section {
    margin-bottom: 40px;
}

.favorites-section h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.07rem; /* 1.8rem + 15% */
    font-weight: 700;
    color: var(--profile-white);
    margin: 0 0 25px 0;
}

.poems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.poem-card {
    background: var(--profile-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.poem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(149, 71, 45, 0.3);
    border-color: var(--profile-terracotta);
}

.poem-cover {
    height: 180px;
    background: linear-gradient(135deg, var(--profile-navy) 0%, #0f2859 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.poem-title-ar {
    font-family: 'UKIJ Merdane', 'HSN Naskh', serif;
    font-size: 1.495rem; /* 1.3rem + 15% */
    color: var(--profile-white);
    text-align: center;
    line-height: 1.6;
}

.play-poem-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--profile-terracotta);
    color: var(--profile-white);
    border: none;
    cursor: pointer;
    font-size: 1.725rem; /* 1.5rem + 15% */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.poem-card:hover .play-poem-btn {
    opacity: 1;
}

.poem-info {
    padding: 15px;
}

.poem-info h4 {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-white);
    margin: 0 0 5px 0;
    font-size: 1.15rem; /* 1rem + 15% */
    font-weight: 600;
}

.poem-info p {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-grey);
    font-size: 1.035rem; /* 0.9rem + 15% */
    margin: 0;
}

/* ============================================
   COLLECTIONS SECTION
   ============================================ */
.collections-section {
    margin-bottom: 40px;
}

.collections-section h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.07rem; /* 1.8rem + 15% */
    font-weight: 700;
    color: var(--profile-white);
    margin: 0 0 25px 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.collection-card {
    background: var(--profile-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(149, 71, 45, 0.3);
    border-color: var(--profile-terracotta);
}

.collection-cover {
    height: 150px;
    background: linear-gradient(135deg, var(--profile-navy) 0%, #0f2859 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-icon {
    font-size: 3.45rem; /* 3rem + 15% */
    filter: grayscale(0.3);
}

.collection-info {
    padding: 20px;
}

.collection-info h3 {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-white);
    margin: 0 0 10px 0;
    font-size: 1.38rem; /* 1.2rem + 15% */
    font-weight: 600;
}

.collection-info p {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-grey);
    font-size: 1.035rem; /* 0.9rem + 15% */
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.collection-meta {
    display: flex;
    gap: 15px;
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 0.978rem; /* 0.85rem + 15% */
    color: var(--profile-dark-grey);
}

/* ============================================
   ACTIVITY SECTION
   ============================================ */
.activity-section {
    margin-bottom: 40px;
}

.activity-section h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.07rem; /* 1.8rem + 15% */
    font-weight: 700;
    color: var(--profile-white);
    margin: 0 0 25px 0;
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    background: var(--profile-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #0f2859;
    border-color: var(--profile-terracotta);
    transform: translateX(5px);
}

.activity-icon {
    font-size: 1.725rem; /* 1.5rem + 15% */
    line-height: 1;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-white);
    margin: 0 0 5px 0;
    font-size: 1.15rem; /* 1rem + 15% */
    line-height: 1.5;
}

.activity-time {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-dark-grey);
    font-size: 0.978rem; /* 0.85rem + 15% */
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements-section {
    margin-bottom: 40px;
}

.achievements-section h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.07rem; /* 1.8rem + 15% */
    font-weight: 700;
    color: var(--profile-white);
    margin: 0 0 25px 0;
}

.achievements-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--profile-navy);
    border: 2px solid var(--profile-terracotta);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(149, 71, 45, 0.3);
    background: #0f2859;
}

.badge-icon {
    font-size: 2.875rem; /* 2.5rem + 15% */
    line-height: 1;
}

.badge-info h4 {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-white);
    margin: 0 0 5px 0;
    font-size: 1.265rem; /* 1.1rem + 15% */
    font-weight: 600;
}

.badge-info p {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--profile-grey);
    font-size: 1.035rem; /* 0.9rem + 15% */
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--profile-grey);
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.265rem; /* 1.1rem + 15% */
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .profile-stats-bar {
        grid-template-columns: repeat(3, 1fr);
    }

    .profile-stats-bar .stat:nth-child(3) {
        border-right: none;
    }

    .profile-stats-bar .stat:nth-child(4),
    .profile-stats-bar .stat:nth-child(5) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .profile-container {
        padding: 10px;
    }

    .profile-cover {
        height: 150px;
    }

    .profile-info {
        padding: 60px 20px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
        margin-top: -50px;
        margin-bottom: 15px;
    }

    .profile-avatar .avatar-placeholder {
        font-size: 2.3rem; /* 2rem + 15% */
    }

    .verified-badge {
        width: 24px;
        height: 24px;
        font-size: 0.92rem; /* 0.8rem + 15% */
    }

    .profile-details {
        text-align: center;
        padding-top: 0;
    }

    .profile-name {
        font-size: 2rem;
    }

    .profile-username {
        font-size: 1.15rem;
    }

    .profile-bio {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .profile-meta {
        justify-content: center;
    }

    .profile-social {
        justify-content: center;
    }

    .profile-actions {
        position: static;
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .btn-follow,
    .btn-dashboard,
    .btn-share {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .profile-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-stats-bar .stat {
        padding: 20px 10px;
    }

    .profile-stats-bar .stat:nth-child(2n) {
        border-right: none;
    }

    .profile-stats-bar .stat:nth-child(3),
    .profile-stats-bar .stat:nth-child(4),
    .profile-stats-bar .stat:nth-child(5) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-value {
        font-size: 1.725rem; /* 1.5rem + 15% */
    }

    .stat-label {
        font-size: 0.92rem; /* 0.8rem + 15% */
    }

    .profile-tabs {
        gap: 20px;
    }

    .profile-tabs .tab-btn {
        font-size: 1rem;
        padding: 15px 0;
    }

    .taste-cards,
    .poems-grid,
    .collections-grid,
    .achievements-showcase {
        grid-template-columns: 1fr;
    }

    .taste-section h2,
    .favorites-section h2,
    .collections-section h2,
    .activity-section h2,
    .achievements-section h2 {
        font-size: 1.725rem; /* 1.5rem + 15% */
    }
}

/* Mobile (< 480px) */
@media (max-width: 480px) {
    .profile-tabs {
        gap: 15px;
    }

    .profile-tabs .tab-btn {
        font-size: 0.92rem; /* 0.8rem + 15% */
    }
}

/* ==================================================
   FOLLOW MODAL - Followers/Following Lists
   ================================================== */
.follow-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 600px;
    background: var(--profile-navy);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--profile-white);
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--profile-white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--profile-grey);
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.user-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.user-list-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.user-list-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    flex-shrink: 0;
}

.user-list-avatar-placeholder {
    background: var(--profile-terracotta);
    color: var(--profile-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.user-list-info {
    flex: 1;
    min-width: 0;
}

.user-list-name {
    color: var(--profile-white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.user-list-name:hover {
    color: var(--profile-terracotta);
}

.user-list-bio {
    color: var(--profile-grey);
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-follow-small {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: var(--profile-terracotta);
    color: var(--profile-white);
}

.btn-follow-small.following {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--profile-white);
}

.btn-follow-small:hover {
    transform: translateY(-1px);
}

.btn-follow-small.following:hover {
    border-color: #8B0000;
    color: #8B0000;
}

.stat-clickable {
    cursor: pointer;
    transition: background 0.2s ease;
}

.stat-clickable:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 80vh;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .user-list-item {
        flex-wrap: wrap;
    }

    .btn-follow-small {
        width: 100%;
        margin-top: 8px;
    }
}
