/* =============================================
   JEEVMEDIA Creator Roster
   Ethereal Glassmorphism · Performance Edition
   ============================================= */

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(16px);
    --glass-edge-light: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --radius: 12px;
    --radius-sm: 8px;
}

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

html.lenis, html.lenis body {
    height: auto;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #0a0a0a;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Restore standard default cursor globally -> Replaced with Custom Cursor */
body { cursor: none; }

/* Force the native 'hand' pointer on all clickable elements */
a, button, input, textarea, select, 
.creator-card, .dropdown-option, .shortlist-card-btn, 
.mini-card-remove, .dropdown-trigger, .modal-close {
    cursor: none !important;
}

/* =============================================
   CUSTOM CURSOR
   ============================================= */
@keyframes cursor-pulse {
    0%, 100% { opacity: 0.85; transform: translate3d(calc(var(--cursor-x, -100px) - 50%), calc(var(--cursor-y, -100px) - 50%), 0) scale(1); }
    50% { opacity: 0.5; transform: translate3d(calc(var(--cursor-x, -100px) - 50%), calc(var(--cursor-y, -100px) - 50%), 0) scale(1.3); }
}

.magnetic-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2147483647;
    animation: cursor-pulse 2.5s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Hovering over clickable items — grow + glow */
.magnetic-cursor.hovering {
    animation: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translate3d(calc(var(--cursor-x, -100px) - 50%), calc(var(--cursor-y, -100px) - 50%), 0) scale(1);
    transition: width 0.25s ease, height 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
    .magnetic-cursor { display: none !important; }
    body, a, button, input, textarea, select, .creator-card, .dropdown-trigger, .shortlist-card-btn, .mini-card-remove, .modal-close {
        cursor: auto !important;
    }
}

#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}



/* =============================================
   TEXT REVEAL
   ============================================= */
.text-reveal-wrap {
    overflow: hidden;
}

.reveal-text {
    transform: translateY(105%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.revealed {
    transform: translateY(0);
}


/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
}

.hero-inner { padding: 60px 20px; }

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.1;
    background: linear-gradient(180deg, #FFFFFF 20%, #555555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    margin-top: 16px;
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.3px;
}


/* =============================================
   FILTER BAR (with shrinking .scrolled state)
   ============================================= */
.filter-bar {
    position: sticky;
    top: 16px;
    z-index: 100;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 999px;
    padding: 8px 16px;
    height: 64px;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: padding 0.35s ease, max-width 0.35s ease, backdrop-filter 0.35s ease, top 0.35s ease;
}

/* Shrunk sticky state on scroll */
.filter-bar.scrolled {
    padding: 6px 14px;
    top: 8px;
    max-width: 800px;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
}

.filter-bar.scrolled .search-input-wrapper input {
    font-size: 0.82rem;
}

.filter-bar.scrolled .dropdown-trigger {
    font-size: 0.78rem;
    padding: 6px 12px;
}

.filter-bar.scrolled .shortlist-header-btn {
    font-size: 0.78rem;
    padding: 6px 12px;
}

.filter-dropdowns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.search-input-wrapper {
    flex-grow: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 0 8px;
}

.search-input-wrapper i { color: var(--text-secondary); font-size: 0.9rem; }

.search-input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
}

.search-input-wrapper input::placeholder { color: #555; }

/* =============================================
   CUSTOM DROPDOWNS
   ============================================= */
.custom-dropdown {
    position: relative;
    font-family: inherit;
}

.dropdown-trigger {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: none;
    min-width: 130px;
    transition: background 0.2s ease;
}

.dropdown-trigger:hover, .custom-dropdown.open .dropdown-trigger {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-trigger i {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    min-width: 100%;
    background: rgba(15, 15, 15, 0.85); /* Deep dark glass */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 6px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 16px 32px rgba(0,0,0,0.4), var(--glass-edge-light);
    z-index: 1000;
}

.custom-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-option {
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.08); /* White translucent hover */
    color: var(--text-primary);
}

.dropdown-option.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    font-weight: 600;
}

/* =============================================
   SHORTLIST HEADER BUTTON
   ============================================= */
.shortlist-header-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 999px; /* Pill shape */
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: none;
    transition: background 0.2s ease;
}

.shortlist-header-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.count-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.pill-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
}


/* =============================================
   CREATOR GRID — 5-Up Responsive
   ============================================= */
.roster {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding: 48px 24px 32px;
    min-height: 50vh;
    position: relative;
    z-index: 1;
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}


/* =============================================
   FOCUS MODE — Peer Dimming via :has()
   ============================================= */
.creator-grid:has(.creator-card:hover) .creator-card:not(:hover) {
    opacity: 0.4;
    filter: blur(3px) grayscale(50%);
    transform: scale(0.96);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.creator-grid:has(.creator-card:hover) .creator-card:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-edge-light), 0 12px 40px rgba(255, 255, 255, 0.06);
}


/* =============================================
   CREATOR CARD — Lazy Glass
   ============================================= */
.creator-card {
    /* Base: lightweight, NO backdrop-filter until visible */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: none;
    will-change: transform, opacity;
    position: relative;

    /* Shuffle animation defaults */
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Cards entering via filter shuffle */
.creator-card.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Cards leaving via filter shuffle */
.creator-card.exiting {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    pointer-events: none;
}

/* GPU: only apply expensive glass when in viewport */
.creator-card.is-visible {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-edge-light);
}

/* Base hover (without Focus Mode context) */
.creator-card:hover {
    transform: translateY(-5px) scale(1);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--glass-edge-light), 0 8px 32px rgba(255, 255, 255, 0.04);
}

/* ---- Image ---- */
.card-image-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px 12px 0 0;
}

.card-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0) 100%);
    pointer-events: none;
}

.card-image-wrap .card-image {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 12px 12px 0 0;
}

.card-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.creator-card:hover .card-image-wrap .card-image { transform: scale(1.09); }
.creator-card:hover .card-video { opacity: 1; }

.card-image-gradient {
    position: absolute;
    inset: 0; top: 50%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.85), transparent);
    pointer-events: none;
    z-index: 2;
}

.shortlist-card-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 3;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.shortlist-card-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.shortlist-card-btn.added {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ---- Data Hub ---- */
.card-data {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.country-wrap {
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.75rem; 
    color: rgba(255, 255, 255, 0.6);
}

.username {
    font-size: 0.85rem; 
    color: #a0a0a0; 
    margin-bottom: 16px; 
    display: block;
}

.niche-badge, .niche-pill {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #c0c0c0;
    align-self: flex-start;
}

.card-stats { display: flex; align-items: baseline; gap: 12px; }
.card-stats .count { font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1; }
.card-stats .label { font-size: 0.8rem; color: var(--text-secondary); }
.card-stats i { font-size: 0.9rem; color: var(--text-secondary); }

.platform-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.platform-icons i {
    font-size: 1.1rem;
    color: #a0a0a0;
    transition: color 0.2s ease, transform 0.2s ease;
}
.platform-icons i:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* ---- Social Pill Buttons ---- */
.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.social-pill:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08);
}

.social-pill-icon {
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-pill:hover .social-pill-icon {
    transform: scale(1.2) rotate(-5deg);
}

.social-pill-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.ghost-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 0;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    cursor: none;
    transition: all 0.25s ease, transform 0.2s ease;
    margin-top: auto;
    will-change: transform;
}

.ghost-btn:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}


/* =============================================
   QUICK-VIEW MODAL
   ============================================= */
.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-view-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(24px) brightness(0.4);
    -webkit-backdrop-filter: blur(24px) brightness(0.4);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--glass-edge-light), 0 32px 64px rgba(0,0,0,0.6);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
}

.quick-view-modal.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

.modal-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
}

.modal-image {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.modal-info {
    display: flex;
    flex-direction: column;
}

.modal-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.1;
}

.modal-info .niche-pill {
    margin-bottom: 24px;
}

.modal-info .bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.modal-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.stat-block .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-block .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =============================================
   SHORTLIST DRAWER
   ============================================= */
.shortlist-drawer {
    position: fixed;
    top: 0; right: 0;
    transform: translateX(100%); /* Hardware-accelerated hide */
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85); /* Dark Ethereal */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    z-index: 100000; /* Above modal */
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.shortlist-drawer.is-open {
    transform: translateX(0);
}

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

.drawer-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.drawer-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hide scrollbar for drawer */
.drawer-body::-webkit-scrollbar { width: 0px; }

.drawer-empty {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 60px;
}

.drawer-empty i {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.3;
}

.drawer-empty.hidden { display: none; }

.mini-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.mini-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.mini-card img {
    width: 48px; height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-card-info { flex: 1; }
.mini-card-info h4 { font-size: 1rem; font-weight: 600; line-height: 1.2; }
.mini-card-info span { font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }

.mini-card-remove {
    background: none; border: none;
    color: rgba(255,255,255,0.3);
    font-size: 1.1rem;
    cursor: none;
    transition: color 0.2s ease;
}

.mini-card-remove:hover { color: #ff4444; }

.drawer-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0,0,0,0.2);
}


/* =============================================
   SKELETON / EMPTY / CTA
   ============================================= */
@keyframes shimmer {
    0% { opacity: 0.4; }
    50% { opacity: 0.15; }
    100% { opacity: 0.4; }
}

.skeleton-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    min-height: 420px;
    animation: shimmer 1.8s ease-in-out infinite;
    box-shadow: var(--glass-edge-light);
}

.empty-state { text-align: center; padding: 80px 20px; color: var(--text-secondary); }
.empty-state.hidden { display: none; }
.empty-state i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state h3 { font-size: 1.3rem; color: var(--text-primary); margin-bottom: 6px; }

.cta-footer {
    text-align: center;
    padding: 48px 20px;
    background: transparent;
    border: none;
    position: relative;
    z-index: 1;
}

.cta-footer h2 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.cta-footer p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 28px; }

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    background: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    cursor: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.cta-button:hover { transform: scale(1.05); box-shadow: 0 0 24px rgba(255, 255, 255, 0.15); }

/* ---- Email CTA Button ---- */
.email-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #000000;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E2E2 100%);
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    will-change: transform, box-shadow;
}

.email-cta-button::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 30%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.email-cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    color: #000000;
}

.email-cta-button:hover::after {
    left: 200%;
}

.email-cta-button i {
    transition: transform 0.3s ease;
}

.email-cta-button:hover i {
    transform: translateX(4px);
}

/* ---- Export Button ---- */
.export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

.export-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-legal { margin-top: 48px; font-size: 0.8rem; color: #555; }


/* =============================================
   PARTNER MODAL
   ============================================= */
.partner-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.partner-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(24px) brightness(0.4);
    -webkit-backdrop-filter: blur(24px) brightness(0.4);
}

.partner-modal-content {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 48px 40px;
    box-shadow: var(--glass-edge-light), 0 32px 64px rgba(0,0,0,0.6);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    max-height: 90vh;
    overflow-y: auto;
}

.partner-modal-content::-webkit-scrollbar { width: 0px; }

.partner-modal.active .partner-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.partner-modal-header {
    margin-bottom: 32px;
}

.partner-tag {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c0c0c0;
    margin-bottom: 16px;
}

.partner-modal-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.1;
    color: var(--text-primary);
}

.partner-modal-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.partner-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.partner-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    background: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    width: 100%;
    margin-top: 8px;
}

.partner-submit-btn:hover {
    transform: translateY(-2px);
    background-color: #e0e0e0;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.partner-submit-btn:active {
    transform: translateY(0);
}

/* ---- Success View ---- */
.partner-success-view {
    text-align: center;
    padding: 40px 20px;
}

.partner-success-view.hidden { display: none; }

.success-icon-wrap {
    margin-bottom: 24px;
}

.success-icon-wrap i {
    font-size: 4rem;
    color: #4ade80;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.partner-success-view h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.partner-success-view p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.partner-done-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.partner-done-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 767px) {
    body, a, button, input, select, .creator-card, .ghost-btn, .cta-button, .modal-close, .dropdown-trigger, .dropdown-option, .drawer-close, .mini-card-remove, .shortlist-header-btn, .shortlist-card-btn { cursor: auto; }
    .velocity-ring { display: none; }
    
    .filter-bar {
        border-radius: var(--radius);
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 16px;
    }
    .filter-bar.scrolled {
        border-radius: var(--radius);
        max-width: 100%;
        padding: 12px;
    }
    .search-input-wrapper { min-width: 100%; }
    .filter-dropdowns {
        flex-direction: column;
        width: 100%;
    }
    .custom-dropdown, .dropdown-trigger, .shortlist-header-btn { width: 100%; justify-content: center; }
    .pill-divider { display: none; }
    
    .shortlist-drawer { width: 100%; } /* transform takes care of the hiding */
    .hero-title { font-size: 2.5rem; }
    .creator-grid { grid-template-columns: 1fr; }
    .card-data { padding: 14px 12px 12px; gap: 10px; }
    .card-stats .count { font-size: 1.2rem; }
    .niche-pill { font-size: 0.6rem; }
    .ghost-btn { padding: 9px 0; font-size: 0.75rem; }
    .roster { padding: 32px 16px; }
    .modal-layout { grid-template-columns: 1fr; gap: 24px; }
    .modal-image { display: none; }
    .modal-content { padding: 24px 20px; }
    .modal-info h2 { font-size: 2rem; }

    .partner-modal-content { padding: 32px 20px; }
    .partner-modal-header h2 { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .filter-dropdowns { flex-direction: column; }
}