.landing-showcase-main {
    background: transparent;
}

.landing-showcase-app {
    width: 100%;
}

#showcase-panel-community:not(.hidden) {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    #showcase-panel-community:not(.hidden) {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    #showcase-panel-community:not(.hidden) {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.showcase-tab--active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.showcase-masonry {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-start;
}

.showcase-masonry-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
    min-width: 0;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #111827;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.showcase-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.showcase-item-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111827;
    contain: layout style paint;
}

.showcase-item-media-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: scale(var(--crop-scale, 1));
    transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
    transition: transform 0.3s ease;
}

.showcase-item-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: var(--crop-x, 50%) var(--crop-y, 50%);
}

.showcase-item-media--image.is-broken {
    opacity: 0.35;
    background: #1f2937;
}

.showcase-item:hover .showcase-item-media-wrap {
    transform: scale(calc(var(--crop-scale, 1) * 1.08));
}

.showcase-item-badge {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.showcase-item-badge span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.showcase-badge-new {
    background: #047857;
}

.showcase-badge-hot {
    background: #c2410c;
}

.showcase-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.showcase-item:hover .showcase-item-overlay {
    opacity: 1;
}

.showcase-item-overlay-inner {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6), transparent);
    padding: 2.5rem 0.75rem 0.75rem;
}

.showcase-item-prompt {
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.showcase-item-prompt strong {
    color: #f87171;
    font-weight: 600;
}

.showcase-item-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
}

.showcase-item-meta-left {
    min-width: 0;
    flex: 1;
}

.showcase-item-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showcase-item-creator {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .showcase-masonry-col:nth-child(n+3) {
        display: none;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .showcase-masonry-col:nth-child(n+4) {
        display: none;
    }
}

@media (min-width: 1025px) {
    .showcase-masonry-col:nth-child(n+5) {
        display: none;
    }
}
