/**
 * Creator Profile View Styles
 * Public profile page - dark theme with clean, instant interactions
 */

/* ===== Loading & Error States ===== */

.profile-view-loading,
.profile-view-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 20px;
}

.profile-view-loading p {
    color: var(--text-secondary, #808080);
    margin-top: 16px;
}

.profile-view-error .error-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    margin-bottom: 24px;
}

.profile-view-error .error-icon i {
    font-size: 48px;
    color: #ef4444;
}

.profile-view-error h2 {
    color: #ffffff;
    margin: 0 0 12px 0;
    font-size: 24px;
}

.profile-view-error p {
    color: #808080;
    margin: 0 0 24px 0;
    max-width: 400px;
}

/* ===== Main Container ===== */

.creator-profile-view {
    max-width: 1200px;
    margin: 0 auto;
    background: #0d0d0d;
}

/* ===== Banner Section ===== */

.profile-banner-section {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    overflow: hidden;
}

.profile-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.profile-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #0d0d0d 0%, transparent 100%);
}

/* ===== Profile Header ===== */

.profile-header-section {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 0 32px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-image,
.profile-avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #0d0d0d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.profile-avatar-image {
    object-fit: cover;
}

.profile-avatar-placeholder {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-placeholder i {
    font-size: 56px;
    color: #4a4a4a;
}

.verified-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #0d0d0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verified-badge i {
    font-size: 20px;
    color: #4a9eff;
}

.profile-header-info {
    flex: 1;
    padding-bottom: 16px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-display-name {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.profile-username {
    margin: 4px 0 0 0;
    font-size: 16px;
    color: #808080;
}

.profile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.profile-categories .category-tag {
    padding: 4px 12px;
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
    font-size: 12px;
    border-radius: 20px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.profile-header-actions {
    padding-bottom: 16px;
}

/* Subscribe Button */

.btn-subscribe {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.btn-subscribe .from-price {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

.subscribed-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.subscribed-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.subscribed-status .tier-name {
    font-size: 12px;
    color: #808080;
}

/* ===== Content Layout ===== */

.profile-content-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 32px;
}

.profile-main-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== Stats Bar ===== */

.profile-stats-bar {
    display: flex;
    gap: 32px;
    padding: 20px 24px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

.profile-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-stat .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.profile-stat .stat-label {
    font-size: 13px;
    color: #808080;
}

/* ===== Profile Sections ===== */

.profile-section {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.section-title i {
    color: #4a9eff;
    font-size: 14px;
}

.section-header .section-title {
    margin-bottom: 0;
}

/* Bio Section */

.profile-bio {
    font-size: 15px;
    line-height: 1.7;
    color: #d0d0d0;
    white-space: pre-wrap;
}

/* Social Links */

.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #d0d0d0;
    text-decoration: none;
    font-size: 14px;
}

.social-link-btn:hover {
    background: #1a1a1a;
    border-color: var(--social-color, #4a9eff);
    color: var(--social-color, #4a9eff);
}

.social-link-btn i {
    font-size: 16px;
}

/* ===== Subscription Tiers Card ===== */

.subscription-tiers-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
}

.tiers-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.tiers-title i {
    color: #a855f7;
}

.tiers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tier-card {
    position: relative;
    padding: 20px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
}

.tier-card.popular {
    border-color: #4a9eff;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05) 0%, #141414 100%);
}

.tier-card.current {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, #141414 100%);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    background: #4a9eff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.current-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}

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

.tier-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.tier-price {
    text-align: right;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #4a9eff;
}

.price-period {
    font-size: 13px;
    color: #808080;
}

.tier-description {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.5;
}

.tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.tier-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #d0d0d0;
    border-bottom: 1px solid #2a2a2a;
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.tier-benefits li i {
    color: #10b981;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.btn-tier-subscribe {
    width: 100%;
    padding: 12px;
    background: #4a9eff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-tier-subscribe:hover {
    background: #3a8eef;
}

.tier-card.popular .btn-tier-subscribe {
    background: linear-gradient(135deg, #4a9eff 0%, #2563eb 100%);
}

.no-tiers-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: #808080;
}

.no-tiers-message i {
    font-size: 32px;
    opacity: 0.5;
}

.no-tiers-message p {
    margin: 0;
    font-size: 14px;
}

/* ===== Creator Info Card ===== */

.creator-info-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
}

.creator-info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.creator-info-card h3 i {
    color: #10b981;
    font-size: 14px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #2a2a2a;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    color: #808080;
}

.info-value {
    font-size: 13px;
    color: #d0d0d0;
}

.info-item.verified .info-value {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
}

/* ===== Locked Content Preview ===== */

.locked-content-preview {
    position: relative;
}

.locked-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.locked-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.locked-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.locked-placeholder i {
    font-size: 24px;
    color: #3a3a3a;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 13, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.locked-message {
    text-align: center;
    padding: 24px;
}

.locked-message i {
    font-size: 40px;
    color: #4a9eff;
    margin-bottom: 16px;
}

.locked-message h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #ffffff;
}

.locked-message p {
    margin: 0;
    font-size: 14px;
    color: #808080;
}

/* Subscribed content placeholder */

.subscribed-content-placeholder,
.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    text-align: center;
    color: #808080;
}

.subscribed-content-placeholder i,
.loading-content i {
    font-size: 40px;
    opacity: 0.5;
}

.subscribed-content-placeholder p,
.loading-content p {
    margin: 0;
    font-size: 14px;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .profile-content-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar-column {
        order: -1;
    }
}

@media (max-width: 768px) {
    .profile-banner-section {
        height: 200px;
    }

    .profile-header-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        margin-top: -70px;
    }

    .profile-avatar-image,
    .profile-avatar-placeholder {
        width: 120px;
        height: 120px;
    }

    .profile-display-name {
        font-size: 24px;
    }

    .profile-name-row {
        justify-content: center;
    }

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

    .profile-content-layout {
        padding: 20px;
        gap: 20px;
    }

    .profile-stats-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .profile-stat {
        align-items: center;
        min-width: 80px;
    }

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

@media (max-width: 480px) {
    .profile-header-section {
        padding: 0 16px;
    }

    .profile-content-layout {
        padding: 16px;
    }

    .profile-section,
    .subscription-tiers-card,
    .creator-info-card {
        padding: 16px;
    }

    .tier-card {
        padding: 16px;
    }
}

/* ===== Subscribe Card (Sidebar) ===== */

.subscribe-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
}

.subscribe-cta {
    text-align: center;
}

.subscribe-cta h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.subscribe-cta h3 i {
    color: #a855f7;
}

.subscribe-cta p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #808080;
}

.btn-subscribe-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-subscribe-large:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.btn-subscribe-large .from-price {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

.subscribed-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.subscribed-badge-large {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.subscribed-badge-large i {
    font-size: 18px;
}

.current-tier-name {
    margin: 0;
    font-size: 14px;
    color: #808080;
}

.btn-manage-subscription {
    width: 100%;
}

/* ===== Subscription Tiers Modal ===== */

.tiers-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
}

.tiers-modal {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.tiers-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #2a2a2a;
}

.tiers-modal-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.tiers-modal-header h2 i {
    color: #a855f7;
}

.tiers-modal-close {
    padding: 8px;
    background: transparent;
    border: none;
    color: #808080;
    cursor: pointer;
    border-radius: 6px;
    font-size: 18px;
}

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

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

.tiers-modal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Mobile responsive for tiers modal */
@media (max-width: 600px) {
    .tiers-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .tiers-modal {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
    }

    .tiers-modal-header {
        padding: 16px 20px;
    }

    .tiers-modal-body {
        padding: 20px;
    }
}

/* ===== Subscribe Confirmation Modal ===== */

.subscribe-confirm-content {
    text-align: center;
}

.subscribe-confirm-content > p {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: #d0d0d0;
}

.subscribe-tier-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #141414;
    border-radius: 8px;
    margin-bottom: 16px;
}

.subscribe-tier-info .tier-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.subscribe-tier-info .tier-price {
    font-size: 18px;
    font-weight: 700;
    color: #4a9eff;
}

.subscribe-balance-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.subscribe-balance-info.sufficient {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.subscribe-balance-info.insufficient {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.subscribe-balance-info i {
    font-size: 16px;
}

.subscribe-add-funds {
    margin: 12px 0 0 0;
    font-size: 13px;
    color: #808080;
}

/* ===== Content Grid ===== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.content-item {
    position: relative;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.content-item:hover {
    border-color: #3a3a3a;
}

.content-item.locked {
    cursor: pointer;
}

.content-item-thumb {
    position: relative;
    aspect-ratio: 1;
    background: #0f0f0f;
    overflow: hidden;
}

.content-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151515;
}

.content-thumb-placeholder i {
    font-size: 32px;
    color: #444;
}

.content-set-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    font-size: 11px;
    color: #fff;
}

.content-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
}

.content-lock-overlay i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.content-item-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.content-item-title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.access-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    width: fit-content;
}

.access-badge.free {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.access-badge.sub {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.access-badge.ppv {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.content-load-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.no-content-message,
.content-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.no-content-message i,
.content-error i {
    font-size: 40px;
    margin-bottom: 12px;
    color: #444;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
}

/* ===== Content Viewer Modal ===== */

.content-viewer-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
}

.content-viewer-modal {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.content-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #2a2a2a;
}

.content-viewer-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.content-viewer-close {
    padding: 8px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    border-radius: 6px;
}

.content-viewer-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.content-viewer-body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
}

.content-viewer-image,
.content-viewer-video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.content-viewer-description {
    padding: 14px 20px;
    border-top: 1px solid #2a2a2a;
}

.content-viewer-description p {
    margin: 0;
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

.content-viewer-stats {
    display: flex;
    gap: 16px;
    padding: 12px 20px;
    border-top: 1px solid #2a2a2a;
    background: #151515;
    font-size: 13px;
    color: #666;
}

.content-viewer-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Set Viewer */
.content-set-viewer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.content-set-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-set-current {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.content-set-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    overflow-x: auto;
    background: #151515;
    border-top: 1px solid #2a2a2a;
}

.content-set-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.content-set-thumb.active {
    border-color: #4a9eff;
}

.content-set-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 600px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .content-item-info {
        padding: 8px;
    }

    .content-item-title {
        font-size: 12px;
    }

    .content-viewer-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .content-viewer-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
    }

    .content-viewer-image,
    .content-viewer-video {
        max-height: 50vh;
    }

    .content-set-current {
        max-height: 40vh;
    }
}
