/* Premium App Archive Styles */

.app-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: #0996f0;
    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;
    display: flex;
    justify-content: center;
}

/* Filter Chips */
.filters-inner {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.filter-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.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: #0996f0;
    border-color: #0996f0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(9, 150, 240, 0.15);
}

/* Load More Button */
.load-more-container {
    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: #0996f0;
}

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

/* 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;
}

.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;
}


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

@media (max-width: 1100px) {
    .app-masonry-grid .grid-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .app-masonry-grid .grid-inner {
        grid-template-columns: 1fr;
    }
}

/* App Card Premium */
.app-card-premium {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.app-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.app-card-link {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-card-media {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #fcfcfd;
}

.app-card-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.app-card-premium:hover .app-card-media::after {
    opacity: 0.3;
}

.app-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.app-logo-wrap {
    width: 100px;
    /* Increased slightly for better prominence */
    height: 100px;
    background: #fff;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-card-premium:hover .app-logo-wrap {
    transform: scale(1.1);
}

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

.app-logo-placeholder {
    font-size: 32px;
    font-weight: 800;
    color: #27CFC3;
}

.app-card-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-card-header {
    margin-bottom: 15px;
}

.app-industry-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #0996f0;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.app-card-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
    color: #111;
    line-height: 1.1;
}

.app-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #777;
    margin: 0 0 15px 0;
}

.app-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.app-stat-badge {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    background: #f0f1f4;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.app-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.app-card-colors {
    display: flex;
    gap: 6px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-view-label {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.app-card-premium:hover .app-view-label {
    color: #0996f0;
}

.app-view-label svg {
    transition: transform 0.3s ease;
}

.app-card-premium:hover .app-view-label svg {
    transform: translateX(4px);
}