/* Premium Custom Scrollbar */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Interactive tweaks */
body { 
    -webkit-tap-highlight-color: transparent; 
    font-family: 'Poppins', sans-serif;
    background-color: #09090b; /* Fallback */
}

/* Premium Glassmorphism & Cards */
.glass-panel {
    background: rgba(39, 39, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pet-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pet-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.pet-card:active {
    transform: translateY(0) scale(0.98);
}

/* Rarity animations & Glow Borders */
@keyframes rarityPulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--pulse-color), 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(var(--pulse-color), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--pulse-color), 0); }
}

.glow-epic { --pulse-color: 168, 85, 247; animation: rarityPulse 3s infinite; border-color: rgba(168, 85, 247, 0.5); }
.glow-legendary { --pulse-color: 234, 179, 8; animation: rarityPulse 3s infinite; border-color: rgba(234, 179, 8, 0.5); }
.glow-mythic { --pulse-color: 239, 68, 68; animation: rarityPulse 3s infinite; border-color: rgba(239, 68, 68, 0.5); }
.glow-divine { --pulse-color: 249, 115, 22; animation: rarityPulse 3s infinite; border-color: rgba(249, 115, 22, 0.5); }

/* Custom Animations */
@keyframes popupSlideIn {
    0% { opacity: 0; transform: translateY(-20px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popupSlideOut {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-20px) scale(0.9); }
}

.popup-enter { animation: popupSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.popup-exit { animation: popupSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Loaders */
.loader-spinner {
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #0ea5e9;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
