.zib-app-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.zib-app-archive-header {
    text-align: center;
    margin-bottom: 35px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.zib-app-archive-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.zib-app-archive-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.zib-app-marquee {
    background: #000;
    padding: 6px 14px;
    overflow: hidden;
    border: 2px solid #333;
    border-radius: 10px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    box-shadow: inset 0 0 8px rgba(0,80,0,0.4);
    line-height: 1.2;
    height: 45px;
}

.zib-app-marquee-content {
    display: inline-block;
    white-space: nowrap;
    color: #0f0;
    text-shadow: 0 0 6px #0f0;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
    padding: 2px 0;
    animation: zib-app-marquee 60s linear infinite;
}

.zib-app-marquee-item {
    display: inline;
}

.zib-app-marquee-sep {
    display: inline;
}

@keyframes zib-app-marquee {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.zib-app-nav-item {
    position: relative;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
}

.zib-app-nav-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.zib-app-nav-item.active {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.zib-app-nav-item.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.zib-app-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
    grid-template-columns: repeat(2, 1fr);
}

.zib-app-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.zib-app-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.zib-app-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 769px) {
    .zib-app-columns-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .zib-app-columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .zib-app-grid:not(.zib-app-columns-5):not(.zib-app-columns-4):not(.zib-app-columns-2) {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .zib-app-columns-5,
    .zib-app-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zib-app-grid:not(.zib-app-columns-5):not(.zib-app-columns-4):not(.zib-app-columns-2) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .zib-app-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .zib-app-columns-5,
    .zib-app-columns-4,
    .zib-app-columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.zib-app-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.zib-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.zib-app-card-inner {
    padding: 42px 15px 15px 15px;
}

.zib-app-featured-badge {
    position: absolute;
    top: 25px;
    left: -42px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 6px 46px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(-45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: badgeGlow 2s ease-in-out infinite;
}

.zib-app-featured-badge .featured-icon {
    width: 16px;
    height: 16px;
    animation: iconBounce 0.8s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

.zib-app-featured-badge .badge-text {
    animation: textGlow 1.2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
        opacity: 1;
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.8), 0 0 15px rgba(255, 107, 107, 0.6);
        opacity: 0.95;
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    }
    25% {
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
    }
    50% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
    }
    75% {
        transform: scale(1.15) rotate(-5deg);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1));
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.3);
        opacity: 1;
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 200, 200, 0.8), 0 1px 2px rgba(0, 0, 0, 0.3);
        opacity: 0.9;
    }
}

.zib-app-card.zib-app-card-featured {
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.zib-app-card.zib-app-card-featured::before {
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f, #ff6b6b);
    height: 4px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.zib-app-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.zib-app-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .zib-app-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .zib-app-info {
        width: 100%;
    }
    
    .zib-app-name {
        text-align: center;
        font-size: 15px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .zib-app-meta {
        justify-content: center;
    }
    
    .zib-app-card-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .zib-app-download-stats {
        order: 1;
    }
    
    .zib-app-card-action {
        order: 1;
    }
}

.zib-app-icon-wrapper {
    flex-shrink: 0;
}

.zib-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: #f0f0f0;
}

.zib-app-icon-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.zib-app-icon-placeholder .dashicons {
    font-size: 32px;
}

.zib-app-info {
    flex: 1;
    min-width: 0;
}

.zib-app-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #2d3748;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.zib-app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.zib-app-version,
.zib-app-size,
.zib-app-platforms {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
}

.zib-app-platforms {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 500;
}

.zib-app-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.zib-app-download-stats {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
}

.zib-app-download-stats .dashicons {
    font-size: 14px;
}

.zib-app-card-action {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #0073aa;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.zib-app-card-action:hover {
    color: #006799;
}

.zib-app-card-action .dashicons {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.zib-app-card:hover .zib-app-card-action .dashicons {
    transform: translateX(4px);
}

.zib-app-view-detail {
    white-space: nowrap;
}

.zib-app-modal-download {
    margin-bottom: 20px;
    text-align: center;
}

.zib-app-modal-download h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.zib-app-modal-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.zib-app-modal-download-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: buttonBreathe 3s ease-in-out infinite;
}

.zib-app-modal-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.4s ease;
}

.zib-app-modal-download-btn:hover::before,
.zib-app-modal-download-btn:active::before {
    left: 100%;
}

.zib-app-modal-download-btn:hover,
.zib-app-modal-download-btn:active {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    animation: none;
}

.zib-app-modal-download-btn .dashicons {
    font-size: 26px;
    animation: iconFloat 2s ease-in-out infinite;
}

.zib-app-modal-download-btn:hover .dashicons,
.zib-app-modal-download-btn:active .dashicons {
    animation: iconBounce 0.6s ease-out;
}

.zib-app-modal-download-btn .btn-text {
    display: block;
    animation: textPulse 1.5s ease-in-out infinite;
}

.zib-app-modal-download-btn:hover .btn-text,
.zib-app-modal-download-btn:active .btn-text {
    animation: textShake 0.5s ease-out;
}

.zib-app-modal-download-btn .btn-subtitle {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    font-weight: 400;
    animation: subtitleFade 2s ease-in-out infinite;
}

@keyframes buttonBreathe {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
        transform: scale(1.02);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(2deg);
    }
    75% {
        transform: translateY(3px) rotate(-2deg);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes textShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

@keyframes subtitleFade {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.zib-app-modal-download-btn.zib-app-android-btn {
    background: #4caf50;
    color: #fff;
}

.zib-app-modal-download-btn.zib-app-android-btn:hover {
    background: #43a047;
}

.zib-app-modal-download-btn.zib-app-ios-btn {
    background: #000;
    color: #fff;
}

.zib-app-modal-download-btn.zib-app-ios-btn:hover {
    background: #333;
}

.zib-app-modal-download-btn.zib-app-tv-btn {
    background: #7b1fa2;
    color: #fff;
}

.zib-app-modal-download-btn.zib-app-tv-btn:hover {
    background: #6a1b9a;
}

.zib-app-download-buttons {
    display: flex;
    gap: 8px;
}

.zib-app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.zib-app-android-btn {
    background: #4caf50;
    color: #fff;
}

.zib-app-android-btn:hover {
    background: #43a047;
}

.zib-app-ios-btn {
    background: #000;
    color: #fff;
}

.zib-app-ios-btn:hover {
    background: #333;
}

.zib-app-tv-btn {
    background: #7b1fa2;
    color: #fff;
}

.zib-app-tv-btn:hover {
    background: #6a1b9a;
}

.zib-app-download-btn .dashicons {
    font-size: 14px;
}

.zib-app-no-apps {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.zib-app-no-apps p {
    margin: 0;
    font-size: 16px;
}

.zib-app-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    margin-top: 20px;
    width: 100%;
}

.zib-app-page-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 8px 12px;
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
    flex-wrap: wrap;
}

.zib-app-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    text-decoration: none;
    color: #555;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.zib-app-page-numbers:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

.zib-app-page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    border-color: transparent;
    transform: scale(1.05);
}

.zib-app-page-numbers.dots {
    color: #999;
    cursor: default;
    background: transparent;
    border: none;
    box-shadow: none;
}

.zib-app-page-numbers.dots:hover {
    background: transparent;
    color: #999;
    transform: none;
    box-shadow: none;
}

.zib-app-page-numbers.prev,
.zib-app-page-numbers.next {
    padding: 0 20px;
    gap: 6px;
}

.zib-app-page-numbers.prev .dashicons,
.zib-app-page-numbers.next .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.zib-app-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.zib-app-modal.active {
    display: flex;
}

.zib-app-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.zib-app-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 90%;
    max-height: 90vh;
    width: 600px;
    overflow-y: auto;
    padding: 24px;
}

.zib-app-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    font-size: 20px;
    color: #666;
    line-height: 1;
}

.zib-app-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.zib-app-modal-close::before {
    content: '\00D7';
}

.zib-app-modal-close .dashicons {
    font-size: 20px;
    color: #666;
}

.zib-app-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.zib-app-modal-icon img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
}

.zib-app-modal-info h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.zib-app-modal-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #999;
}

.zib-app-modal-description {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: center;
}

.zib-app-modal-description p {
    margin: 0 0 12px 0;
}

.zib-app-modal-description p:last-child {
    margin-bottom: 0;
}

.zib-app-modal-screenshots h3,
.zib-app-modal-qr h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.zib-app-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.zib-app-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.zib-app-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.zib-app-carousel-slide {
    flex-shrink: 0;
    width: 100%;
}

.zib-app-modal-screenshot {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.zib-app-carousel-prev,
.zib-app-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.zib-app-carousel-prev:hover,
.zib-app-carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.zib-app-carousel-prev {
    display: none;
}

.zib-app-carousel-next {
    display: none;
}

.zib-app-carousel-prev .dashicons,
.zib-app-carousel-next .dashicons {
    font-size: 20px;
}

.zib-app-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.zib-app-carousel-separator {
    opacity: 0.7;
}

.zib-app-modal-qr {
    text-align: center;
}

.zib-app-modal-qr-content {
    display: inline-block;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.zib-app-modal-qr-code {
    width: 180px;
    height: 180px;
    border-radius: 12px;
}

.zib-app-modal-qr-label {
    margin: 12px 0 0 0;
    font-size: 14px;
    color: #666;
}



@media (max-width: 768px) {
    .zib-app-archive-container {
        padding: 15px;
    }
    
    .zib-app-archive-title {
        font-size: 24px;
    }
    
    .zib-app-archive-nav {
        gap: 8px;
    }
    
    .zib-app-nav-item {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .zib-app-marquee {
        height: 38px;
        margin: 15px 0;
    }
    
    .zib-app-marquee-content {
        font-size: 16px;
        animation: zib-app-marquee 60s linear infinite;
    }
    
    .zib-app-card-inner {
        padding: 38px 12px 12px 12px;
    }
    
    .zib-app-featured-badge {
        top: 22px;
        left: -38px;
        padding: 5px 38px;
        font-size: 10px;
        gap: 4px;
    }
    
    .zib-app-featured-badge .featured-icon {
        width: 14px;
        height: 14px;
    }
    
    .zib-app-icon {
        width: 56px;
        height: 56px;
    }
    
    .zib-app-icon-placeholder {
        width: 56px;
        height: 56px;
    }
    
    .zib-app-name {
        font-size: 15px;
    }
    
    .zib-app-download-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .zib-app-page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 12px;
    }
    
    .zib-app-page-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        padding: 6px 10px;
    }
    
    .zib-app-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .zib-app-screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .zib-app-archive-container {
        padding: 10px;
    }
    
    .zib-app-archive-nav {
        gap: 6px;
    }
    
    .zib-app-nav-item {
        padding: 6px 12px;
        font-size: 11px;
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
    
    .zib-app-marquee {
        height: 34px;
        margin: 12px 0;
        padding: 4px 10px;
    }
    
    .zib-app-marquee-content {
        font-size: 14px;
        animation: zib-app-marquee 60s linear infinite;
    }
    
    .zib-app-card-header {
        gap: 10px;
    }
    
    .zib-app-card-inner {
        padding: 34px 10px 10px 10px;
    }
    
    .zib-app-featured-badge {
        top: 18px;
        left: -34px;
        padding: 4px 34px;
        font-size: 9px;
        gap: 3px;
    }
    
    .zib-app-featured-badge .featured-icon {
        width: 12px;
        height: 12px;
    }
    
    .zib-app-icon {
        width: 48px;
        height: 48px;
    }
    
    .zib-app-icon-placeholder {
        width: 48px;
        height: 48px;
    }
    
    .zib-app-icon-placeholder .dashicons {
        font-size: 24px;
    }
    
    .zib-app-name {
        font-size: 14px;
    }
    
    .zib-app-meta {
        gap: 4px;
    }
    
    .zib-app-version,
    .zib-app-size {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .zib-app-card-footer {
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: space-between;
    }
    
    .zib-app-download-buttons {
        margin-left: auto;
    }
    
    .zib-app-download-btn {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .zib-app-page-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        padding: 4px 8px;
    }
    
    .zib-app-page-numbers {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 0 10px;
    }
    
    .zib-app-page-numbers.prev,
    .zib-app-page-numbers.next {
        padding: 0 14px;
    }
    
    .zib-app-modal-content {
        width: 98%;
        padding: 16px;
    }
    
    .zib-app-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .zib-app-modal-info h2 {
        font-size: 18px;
    }
    
    .zib-app-modal-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .zib-app-screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .zib-app-modal-qr-code {
        width: 140px;
        height: 140px;
    }
}

.zib-app-screenshot-full-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.zib-app-screenshot-full-modal.active {
    opacity: 1;
    visibility: visible;
}

.zib-app-screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.zib-app-screenshot-full-modal img {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.zib-app-screenshot-full-modal.active img {
    transform: scale(1);
}

.zib-app-screenshot-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zib-app-screenshot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
