/* Premium Screenshot Gallery Styles */

.screenshot-archive-wrap {
    background: #fcfcfd;
    padding-top: 60px;
}

/* Sleek Hero Section */
.screenshot-hero-sleek {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: 40px;
}

.hero-main-side {
    width: 100%;
}

.hero-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.hero-label-sleek {
    display: inline-block;
    color: #27CFC3;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.hero-header-row h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #111;
    letter-spacing: -1.5px;
}

.hero-main-side p {
    font-size: 16px;
    line-height: 1.5;
    color: #777;
    margin: 0;
    max-width: 600px;
}

.hero-meta-sleek {
    display: flex;
    align-items: flex-start;
}

.meta-item-modern {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.meta-value {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    line-height: 1;
    letter-spacing: -1px;
}

.meta-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Filters */
.screenshot-filters-container {
    margin-bottom: 40px;
    position: sticky;
    top: 100px;
    z-index: 100;
}

.filters-inner {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-group label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #aaa;
    margin-bottom: 0;
    letter-spacing: 1px;
    white-space: nowrap;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.filter-chip:hover {
    background: #fcfcfd;
    border-color: #ccc;
    color: #111;
}

.filter-chip.active {
    background: #27CFC3;
    border-color: #27CFC3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(39, 207, 195, 0.15);
}

/* Grid */
.grid-inner,
.interface-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1100px) {

    .grid-inner,
    .interface-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    .grid-inner,
    .interface-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.screenshot-card-premium {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.screenshot-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.card-media {
    position: relative;
    display: block;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    background: #f9f9fb;
    overflow: hidden;
}

.media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.media-container img.wide-fit {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 24px !important;
    background: transparent;
    box-sizing: border-box !important;
}

.screenshot-card-premium:hover .media-container img {
    transform: scale(1.05);
}

.media-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.screenshot-card-premium:hover .media-hover-overlay {
    opacity: 1;
}

.view-btn {
    background: #fff;
    color: #111;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.screenshot-card-premium:hover .view-btn {
    transform: translateY(0);
}

.card-content {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    flex-grow: 1;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-logo-mini {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.app-logo-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-text {
    display: flex;
    flex-direction: column;
}

.app-name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.app-industry-text {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    line-height: 1;
}

.app-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.mini-colors {
    display: flex;
    gap: 4px;
}

.mini-swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.page-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #666;
    background: #f0f1f4;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* No Results */
.no-results-premium {
    text-align: center;
    padding: 100px 40px;
    background: #fff;
    border-radius: 32px;
    border: 1px solid #eee;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

/* Variant Badge */
.variant-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-clear {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.archive-pagination-premium {
    margin-top: 80px;
    text-align: center;
}

.btn-load-more {
    background: #111;
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #27CFC3;
}

.btn-load-more.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Salient Overrides for Header */
body[data-header-format="default"] #header-outer {
    z-index: 1000;
}