* { -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', sans-serif; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0a0f1c; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }
.glass-panel {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.neon-border {
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.2), 0 0 10px rgba(6, 182, 212, 0.08);
}
.neon-border:focus-within {
    box-shadow: 0 0 0 1px rgba(217, 70, 239, 0.5), 0 0 15px rgba(217, 70, 239, 0.2);
}
.glow-btn {
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.35), 0 0 40px rgba(6, 182, 212, 0.15);
}
.pswp {
    --pswp-bg: rgba(0, 0, 0, 0.95);
    --pswp-placeholder-bg: #0a0f1c;
}
.pswp__img {
    border-radius: 8px;
}
.cursor-pointer, .pswp-link {
    touch-action: manipulation;
}
.pswp__top-bar {
    position: static !important;
}
.pswp__button--zoom {
    display: none !important;
}
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}
.pswp__custom-actions {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 60px;
    gap: 4px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    padding: 0 10px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.pswp__custom-actions .pswp__button {
    background: transparent !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    margin: 0 !important;
    text-decoration: none !important;
    width: 60px !important;
    height: 60px !important;
}
.pswp__custom-info {
    position: absolute !important;
    left: 50% !important;
    bottom: 40px !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 15px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}
.variant-btn.active, .quality-btn.active, .ratio-btn.active {
    background: rgba(6,182,212,0.15);
    border-color: rgba(6,182,212,0.5);
    color: #06b6d4;
}
.counter-btn {
    transition: all 0.15s;
}
.counter-btn:hover {
    background: rgba(6,182,212,0.15);
    color: #06b6d4;
}
/* Auth Modal specific styles */
#auth-modal.active {
    display: flex;
}
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 1.5rem 0;
}
.pagination li {
    display: inline;
}
.pagination li a, .pagination li span {
    position: relative;
    display: block;
    padding: 0.5rem 0.85rem;
    line-height: 1.25;
    color: #9ca3af;
    background-color: rgba(31, 41, 55, 0.4);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 10px !important;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.pagination li.active span {
    z-index: 1;
    color: #fff;
    background-color: rgba(6, 182, 212, 0.2);
    border-color: #06b6d4;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}
.pagination li.disabled span {
    color: #374151;
    pointer-events: none;
    background-color: rgba(31, 41, 55, 0.1);
    border-color: rgba(75, 85, 99, 0.1);
}
.pagination li a:hover {
    color: #fff;
    background-color: rgba(31, 41, 55, 0.8);
    border-color: #06b6d4;
}

.shimmer-22 {
    display: inline-block;
    color: #FFD700 !important;
    -webkit-text-fill-color: #FFD700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
    animation: gold-shimmer 1s infinite alternate ease-in-out;
    font-weight: 900;
}

@keyframes gold-shimmer {
    from { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); transform: scale(1); }
    to { text-shadow: 0 0 15px rgba(255, 215, 0, 0.9); transform: scale(1.05); }
}

.logo-text-main {
    transition: all 0.5s ease;
}

@media (max-width: 640px) {
    .pagination li a, .pagination li span {
        padding: 0.4rem 0.6rem;
        font-size: 12px;
    }
}
