/* Match Screenshots Section */
.match-screenshots {
    width: 100%;
    max-width: 1400px;
    background: var(--panel);
    padding: 1.5rem 1rem;
    margin: 2rem auto;
}

.screenshots-header {
    margin-bottom: 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.screenshots-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--txt);
    margin: 0;
}

.screenshots-title i{
    color: var(--accent);
}


.screenshots-count {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
    background: var(--panel-2);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
}

/* Grid */
.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Screenshot Item */
.screenshot-item {
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.screenshot-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--panel-2);
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.screenshot-image-wrapper:hover .screenshot-overlay {
    opacity: 1;
}

.overlay-action {
    width: 3rem;
    height: 3rem;
    background: var(--panel-2);
    color: var(--txt);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.overlay-action:hover {
    background: var(--panel);
    transform: scale(1.1);
}

/* Screenshot Info */
.screenshot-info {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.info-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent);
    color: var(--txt-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.screenshot-author {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--txt);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.screenshot-date {
    font-size: 0.8125rem;
    color: var(--muted);
}

.info-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.action-btn {
    width: 2.25rem;
    height: 2.25rem;
    background: transparent;
    color: var(--muted);
    border: none;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: var(--hover);
    color: var(--txt);
}

.action-btn svg {
    flex-shrink: 0;
}

/* Footer */
.screenshots-footer {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.load-more-btn {
    background: var(--panel-2);
    color: var(--txt);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: var(--hover);
}

.load-more-btn svg {
    transform: rotate(270deg);
}

/* Empty State */
.no-screenshots {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state {
    max-width: 24rem;
    margin: 0 auto;
}

.empty-icon {
    width: 5rem;
    height: 5rem;
    background: var(--panel-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--muted);
}

.empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--txt);
    margin: 0 0 0.5rem 0;
}

.empty-description {
    font-size: 0.9375rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar .avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet */
@media (min-width: 640px) {
    .match-screenshots {
        padding: 2rem 1.5rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .screenshots-title {
        font-size: 1.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .match-screenshots {
        padding: 2.5rem 2rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .screenshot-info {
        padding: 1.25rem;
    }

    .no-screenshots {
        padding: 4rem 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .screenshots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}