/* Lists Archive Styles */
.ipl-archive {
    min-height: 100vh;
    background: var(--ip-bg, #0d0d0d);
    padding-bottom: 80px;
}

.ipl-hero {
    position: relative;
    padding: 100px 20px 50px;
    text-align: center;
    background: linear-gradient(180deg, rgba(200, 42, 239, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ipl-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(200, 42, 239, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ipl-hero-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.ipl-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(200, 42, 239, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 42, 239, 0.3);
}

.ipl-hero-icon svg {
    width: 40px;
    height: 40px;
    color: #C82AEF;
}

.ipl-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5f5f7;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.ipl-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(245, 245, 247, 0.7);
    margin: 0 0 28px;
    line-height: 1.6;
}

.ipl-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ipl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.ipl-btn-primary {
    background: #C82AEF;
    color: #fff;
}

.ipl-btn-primary:hover {
    background: #a020c0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 42, 239, 0.3);
}

.ipl-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f5f5f7;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ipl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.ipl-btn svg {
    width: 18px;
    height: 18px;
}

/* Coming Soon Banner */
.ipl-coming-soon {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.ipl-coming-soon-card {
    background: linear-gradient(135deg, rgba(200, 42, 239, 0.1) 0%, rgba(100, 50, 200, 0.05) 100%);
    border: 1px solid rgba(200, 42, 239, 0.2);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.ipl-coming-soon-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(200, 42, 239, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipl-coming-soon-icon svg {
    width: 28px;
    height: 28px;
    color: #C82AEF;
}

.ipl-coming-soon-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0 0 8px;
}

.ipl-coming-soon-content p {
    font-size: 0.95rem;
    color: rgba(245, 245, 247, 0.7);
    margin: 0 0 16px;
    line-height: 1.6;
}

.ipl-features-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ipl-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(245, 245, 247, 0.8);
}

.ipl-feature-tag svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* Sections */
.ipl-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.ipl-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ipl-section-title span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245, 245, 247, 0.5);
}

.ipl-section-link {
    font-size: 14px;
    color: #C82AEF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.ipl-section-link:hover {
    opacity: 0.8;
}

/* Lists Grid */
.ipl-lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.ipl-list-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.ipl-list-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 42, 239, 0.3);
    transform: translateY(-2px);
}

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

.ipl-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0;
    line-height: 1.3;
}

.ipl-list-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ipl-list-badge-staff {
    background: rgba(200, 42, 239, 0.2);
    color: #C82AEF;
}

.ipl-list-badge-private {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 245, 247, 0.6);
}

.ipl-list-badge-public {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.ipl-list-badge svg {
    width: 12px;
    height: 12px;
}

.ipl-list-desc {
    font-size: 0.9rem;
    color: rgba(245, 245, 247, 0.6);
    margin: 0 0 16px;
    line-height: 1.5;
    flex-grow: 1;
}

.ipl-list-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: rgba(245, 245, 247, 0.5);
}

.ipl-list-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ipl-list-meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.ipl-list-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ipl-list-author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(200, 42, 239, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #C82AEF;
}

/* Empty State */
.ipl-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.ipl-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipl-empty-icon svg {
    width: 32px;
    height: 32px;
    color: rgba(245, 245, 247, 0.3);
}

.ipl-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0 0 8px;
}

.ipl-empty-text {
    font-size: 0.95rem;
    color: rgba(245, 245, 247, 0.5);
    margin: 0 0 24px;
}

/* Login Prompt */
.ipl-login-prompt {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.ipl-login-prompt h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0 0 12px;
}

.ipl-login-prompt p {
    font-size: 0.95rem;
    color: rgba(245, 245, 247, 0.6);
    margin: 0 0 24px;
}

.ipl-login-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Quick Stats */
.ipl-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.ipl-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #f5f5f7;
    line-height: 1;
}

.ipl-stat-label {
    font-size: 0.85rem;
    color: rgba(245, 245, 247, 0.5);
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .ipl-hero {
        padding: 40px 20px 36px;
    }

    .ipl-hero h1 {
        font-size: 1.75rem;
    }

    .ipl-hero-subtitle {
        font-size: 1rem;
    }

    .ipl-coming-soon-card {
        flex-direction: column;
        text-align: center;
    }

    .ipl-coming-soon-icon {
        margin: 0 auto;
    }

    .ipl-features-preview {
        justify-content: center;
    }

    .ipl-lists-grid {
        grid-template-columns: 1fr;
    }

    .ipl-stats {
        gap: 24px;
    }

    .ipl-stat-value {
        font-size: 1.5rem;
    }

    .ipl-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}