/* Marketplace Empty State Styles */

.marketplace-empty-state {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

/* Ensure browse menu has white background and sits at top */
.page-title {
    margin-top: 0 !important;
    background-color: white !important;
    position: relative;
    z-index: 2;
}

.page-title .scroll-wrapper {
    background-color: white !important;
}

/* Animated Background Container */
.empty-state-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 16px;
    padding: 0 16px;
    z-index: 1;
    pointer-events: none;
}

/* Individual Columns */
.empty-state-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    will-change: transform;
}

/* Column Animation - Slow and Infinite */
.empty-state-column:nth-child(1) {
    animation: scrollUp 80s linear infinite;
}

.empty-state-column:nth-child(2) {
    animation: scrollDown 70s linear infinite;
    animation-delay: -10s;
}

.empty-state-column:nth-child(3) {
    animation: scrollUp 75s linear infinite;
    animation-delay: -20s;
}

.empty-state-column:nth-child(4) {
    animation: scrollDown 85s linear infinite;
    animation-delay: -30s;
}

.empty-state-column:nth-child(5) {
    animation: scrollUp 78s linear infinite;
    animation-delay: -40s;
}

/* Keyframe Animations */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Placeholder Boxes */
.empty-state-box {
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

/* Varying Heights for Natural Look */
.empty-state-box:nth-child(4n+1) {
    height: 180px;
}

.empty-state-box:nth-child(4n+2) {
    height: 240px;
}

.empty-state-box:nth-child(4n+3) {
    height: 200px;
}

.empty-state-box:nth-child(4n) {
    height: 280px;
}

/* Foreground Content */
.empty-state-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
}

.empty-state-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.empty-state-description {
    font-size: 1.125rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-state-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: #1a1a1a;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.empty-state-cta:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .empty-state-column:nth-child(n+3) {
        display: none;
    }

    .empty-state-title {
        font-size: 1.75rem;
    }

    .empty-state-description {
        font-size: 1rem;
    }
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .empty-state-column:nth-child(n+4) {
        display: none;
    }

    .empty-state-title {
        font-size: 2rem;
    }
}

/* Desktop: 4 columns */
@media (min-width: 1200px) and (max-width: 1599px) {
    .empty-state-column:nth-child(5) {
        display: none;
    }
}

/* Large Desktop: 5 columns (all visible) */
@media (min-width: 1600px) {
    .empty-state-title {
        font-size: 3rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .empty-state-column {
        animation: none;
    }
}
