/* ═══════════════════════════════════════════════
   Collectors Directory — collectors_v20260524.css
   PixarCarsGarage.com
   Mobile-first. Dark theme. DM Sans.
   ═══════════════════════════════════════════════ */

/* ── BODY ── */
body.pcg-collectors-body {
    background-color: #0a0a0a;
    color: #e8e8e8;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.collectors-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
}

.collectors-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 16px;
}

.collectors-header-logo {
    text-decoration: none;
}

.collectors-header-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.collectors-header-nav {
    display: flex;
    gap: 16px;
}

.collectors-nav-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.collectors-nav-link:hover,
.collectors-nav-active {
    color: #fff;
}

.collectors-nav-cta {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #c9a94e;
    font-weight: 600;
}

.collectors-nav-cta:hover {
    color: #d4b85a;
}

.collectors-nav-crown {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.collectors-nav-home-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 2px;
    filter: brightness(0) invert(1);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.collectors-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.collectors-hero-bg {
    position: absolute;
    inset: 0;
}

.collectors-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.collectors-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.15) 100%);
}

.collectors-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 16px 28px;
}

.collectors-hero-text {
    max-width: 560px;
}

.collectors-hero-crown {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
}

.collectors-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.collectors-hero-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 20px;
    line-height: 1.5;
}

.collectors-hero-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.collectors-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.collectors-hero-stat-icon {
    flex-shrink: 0;
}

.collectors-hero-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #c9a94e;
    line-height: 1;
}

.collectors-hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.collectors-hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}

.collectors-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.collectors-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.collectors-hero-badge svg {
    opacity: 0.6;
}

.collectors-hero-badge-dot {
    color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════════
   CONTROLS — Tabs + Search
   ═══════════════════════════════════════════════ */
.collectors-controls {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.collectors-controls-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.collectors-tabs-wrap {
    position: relative;
    overflow: hidden;
}

.collectors-tabs-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, #0a0a0a);
    pointer-events: none;
    z-index: 2;
}

.collectors-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
    padding-right: 40px;
}

.collectors-tabs::-webkit-scrollbar {
    display: none;
}

.collectors-tab {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.collectors-tab:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.collectors-tab-active {
    background: #c9a94e;
    border-color: #c9a94e;
    color: #0a0a0a;
    font-weight: 600;
}

.collectors-tab-active:hover {
    background: #d4b85a;
    color: #0a0a0a;
}

.collectors-search {
    width: 100%;
}

.collectors-search-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.collectors-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.collectors-search-input:focus {
    border-color: #c9a94e;
}

/* ═══════════════════════════════════════════════
   CARD GRID
   ═══════════════════════════════════════════════ */
.collectors-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

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

/* ═══════════════════════════════════════════════
   CARD
   ═══════════════════════════════════════════════ */
.collector-card {
    display: flex;
    flex-direction: column;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.collector-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201,169,78,0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Banner */
.collector-card-banner {
    width: 100%;
    aspect-ratio: 5/3;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.collector-card-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1a1a1a;
}

.collector-card-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

/* Body */
.collector-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Header row: avatar + name */
.collector-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.collector-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.collector-card-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c9a94e;
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 700;
}

.collector-card-identity {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.collector-card-username {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collector-card-type {
    font-size: 11px;
    color: #c9a94e;
    font-weight: 500;
}

/* Stats row */
.collector-card-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.collector-card-stat strong {
    color: #fff;
    font-weight: 600;
}

/* Checklist */
.collector-card-checklist {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collector-card-checklist-pct {
    color: #6ecf6e;
    font-weight: 600;
}

/* Tags */
.collector-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.collector-card-tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

/* Activity label */
.collector-card-activity {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: auto;
}

/* ═══════════════════════════════════════════════
   SENTINEL / LOADER
   ═══════════════════════════════════════════════ */
.collectors-sentinel {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.collectors-loader {
    display: flex;
    gap: 6px;
}

.collectors-loader-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9a94e;
    animation: collectorPulse 1.2s ease-in-out infinite;
}

.collectors-loader-dot:nth-child(2) { animation-delay: 0.2s; }
.collectors-loader-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes collectorPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

.collectors-sentinel[data-done="true"] {
    display: none;
}

/* Empty state */
.collectors-empty {
    text-align: center;
    padding: 60px 16px;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}

/* ═══════════════════════════════════════════════
   VIP CTA
   ═══════════════════════════════════════════════ */
.collectors-cta {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.collectors-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1a1600 0%, #141414 50%, #1a1600 100%);
    border: 1px solid rgba(201,169,78,0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.collectors-cta-crown {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.collectors-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.collectors-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #c9a94e;
    margin: 0;
}

.collectors-cta-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.collectors-cta-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #c9a94e;
    color: #c9a94e;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.collectors-cta-btn:hover {
    background: #c9a94e;
    color: #0a0a0a;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.collectors-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 16px;
    text-align: center;
}

.collectors-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.collectors-footer p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════
   DESKTOP — 4 columns at 768px+
   ═══════════════════════════════════════════════ */
@media (min-width: 768px) {
    .collectors-header-inner {
        padding: 20px 24px;
    }

    .collectors-hero {
        min-height: 380px;
    }

    .collectors-hero-content {
        padding: 100px 24px 36px;
    }

    .collectors-hero-crown {
        width: 48px;
        height: 48px;
    }

    .collectors-hero-title {
        font-size: 40px;
    }

    .collectors-hero-subtitle {
        font-size: 16px;
    }

    .collectors-hero-stat-number {
        font-size: 36px;
    }

    .collectors-controls-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 14px 24px;
    }

    .collectors-tabs-wrap::after {
        display: none;
    }

    .collectors-tabs {
        flex: 1;
        padding-right: 0;
    }

    .collectors-search {
        width: 240px;
        flex-shrink: 0;
    }

    .collectors-main {
        padding: 32px 24px 80px;
    }

    .collectors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .collector-card-body {
        padding: 14px;
    }

    .collector-card-avatar {
        width: 36px;
        height: 36px;
    }

    .collectors-cta-inner {
        flex-direction: row;
        text-align: left;
        padding: 32px 40px;
    }

    .collectors-cta-text {
        flex: 1;
    }

    .collectors-cta-title {
        font-size: 22px;
    }
}

/* Large desktop */
@media (min-width: 1024px) {
    .collectors-hero-stats {
        gap: 24px;
    }
}
