/* ─── CATALOG PAGE STYLES ─── */

.catalog-filters {
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.filter-controls {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--dim);
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.3);
}

.catalog-grid {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.catalog-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.catalog-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(96, 165, 250, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.catalog-item:hover {
    transform: translateY(-8px);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(167, 139, 250, 0.1);
}

.catalog-item:hover::before {
    opacity: 1;
}

.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.catalog-like-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--dim);
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.catalog-like-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.catalog-like-btn.liked {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.3);
    color: #a78bfa;
}

.catalog-like-btn.liked:hover {
    background: rgba(167, 139, 250, 0.25);
}

.catalog-tag {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.catalog-tag.live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.catalog-tag.active {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.catalog-tag.wip {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.catalog-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.catalog-desc {
    color: var(--dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.catalog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.catalog-domain {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    color: var(--dim);
}

.catalog-link {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    border: none;
    border-radius: 20px;
    color: white;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.catalog-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.4);
}

.catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
    color: var(--dim);
}

.catalog-empty h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}
