/* Neon Theme */
@keyframes neon-pulse {
    0% { box-shadow: 0 0 5px #0ff, 0 0 10px #0ff inset; }
    50% { box-shadow: 0 0 15px #0ff, 0 0 20px #0ff inset; }
    100% { box-shadow: 0 0 5px #0ff, 0 0 10px #0ff inset; }
}

@keyframes neon-bg {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.pet-card.theme-neon {
    background: linear-gradient(45deg, #000033, #0b0b2a, #170b27);
    background-size: 200% 200%;
    animation: neon-bg 8s linear infinite;
    color: #0ff;
    border: 1px solid #0ff;
    box-shadow: 0 0 8px #0ff, 0 0 10px #0ff inset;
}

/* Midnight Theme */
@keyframes midnight-sky-subtle {
    0% { background-color: #010310; }
    50% { background-color: #0a041f; }
    100% { background-color: #010310; }
}

.pet-card.theme-midnight {
    background-color: #010310;
    animation: midnight-sky-subtle 15s ease infinite;
    color: #9eadc8;
    border: 1px solid #2c3e50;
    box-shadow: 0 0 15px rgba(44, 62, 80, 0.3) inset;
}

/* Ember Theme */
@keyframes ember-glow {
    0% { box-shadow: 0 0 5px #ff6b47, 0 0 10px #ff6b47 inset; }
    50% { box-shadow: 0 0 15px #ff6b47, 0 0 20px #ff6b47 inset; }
    100% { box-shadow: 0 0 5px #ff6b47, 0 0 10px #ff6b47 inset; }
}

.pet-card.theme-ember {
    background: linear-gradient(45deg, #3d0000, #1a0000);
    color: #ff7878;
    border: 1px solid rgba(255, 120, 120, 0.4);
    animation: ember-glow 4s ease-in-out infinite;
}

/* Toxic Theme */
@keyframes toxic-pulse {
    0% { box-shadow: 0 0 8px #39ff14; }
    50% { box-shadow: 0 0 20px #39ff14; }
    100% { box-shadow: 0 0 8px #39ff14; }
}

@keyframes toxic-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pet-card.theme-toxic {
    background: linear-gradient(45deg, #091c00, #0d2605, #162300);
    background-size: 200% 200%;
    animation: toxic-bg 8s ease infinite, toxic-pulse 4s ease-in-out infinite;
    color: #39ff14;
    border: 1px solid rgba(57, 255, 20, 0.4);
}

/* Frost Theme */
@keyframes frost-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pet-card.theme-frost {
    background: linear-gradient(135deg, #051a2a, #082641, #031628);
    background-size: 200% 200%;
    animation: frost-shimmer 10s ease infinite;
    color: #a8e6ff;
    border: 1px solid rgba(168, 230, 255, 0.3);
    box-shadow: 0 0 10px rgba(168, 230, 255, 0.2);
}

/* Phantom Theme */
@keyframes phantom-wisps {
    0% { background-position: 0% 50%; opacity: 0.6; }
    25% { opacity: 0.9; }
    50% { background-position: 100% 50%; opacity: 0.6; }
    75% { opacity: 0.9; }
    100% { background-position: 0% 50%; opacity: 0.6; }
}

.pet-card.theme-phantom {
    background: linear-gradient(160deg, #18101f, #2c203a, #120c18);
    background-size: 300% 300%;
    animation: phantom-wisps 20s ease-in-out infinite;
    color: #b0a8c0;
    border: 1px solid rgba(176, 168, 192, 0.25);
    box-shadow: 0 0 12px rgba(44, 32, 58, 0.5) inset;
}

/* Sunset Theme */
@keyframes sunset-colors {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pet-card.theme-sunset {
    background: linear-gradient(135deg, #33001b, #4d0026, #33001b);
    background-size: 400% 400%;
    animation: sunset-colors 15s ease infinite;
    color: #ffccf2;
    border: 1px solid rgba(255, 204, 242, 0.3);
}

/* Galaxy Theme */
@keyframes galaxy-stars {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes galaxy-glow {
    0% { box-shadow: 0 0 10px rgba(138, 43, 226, 0.5); }
    50% { box-shadow: 0 0 20px rgba(138, 43, 226, 0.8); }
    100% { box-shadow: 0 0 10px rgba(138, 43, 226, 0.5); }
}

.pet-card.theme-galaxy {
    background: linear-gradient(135deg, #090019, #170033, #0d001f);
    background-size: 400% 400%;
    animation: galaxy-stars 20s ease infinite, galaxy-glow 5s ease-in-out infinite;
    color: #d8a0ff;
    border: 1px solid rgba(216, 160, 255, 0.3);
}

/* Cosmic Ray Theme */
@keyframes cosmic-ray-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes cosmic-ray-pulse {
    0% { box-shadow: 0 0 7px rgba(157, 112, 255, 0.4), 0 0 12px rgba(157, 112, 255, 0.3) inset; }
    50% { box-shadow: 0 0 15px rgba(157, 112, 255, 0.7), 0 0 20px rgba(157, 112, 255, 0.5) inset; }
    100% { box-shadow: 0 0 7px rgba(157, 112, 255, 0.4), 0 0 12px rgba(157, 112, 255, 0.3) inset; }
}

.pet-card.theme-cosmic-ray {
    background: linear-gradient(120deg, #0a0118, #1a0033, #2c004f, #1a0033, #0a0118);
    background-size: 300% 300%;
    color: #e0cfffa0;
    border: 1px solid rgba(157, 112, 255, 0.5);
    animation: cosmic-ray-bg 18s ease infinite, cosmic-ray-pulse 3s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(224, 207, 255, 0.3);
}

.pet-card button {
    margin: 3px;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.pet-card .interaction-button.beep {
    background-color: #3498db !important;
    color: white !important;
    border: none !important;
}

.pet-card .interaction-button.vibrate {
    background-color: #f39c12 !important;
    color: white !important;
    border: none !important;
}

.pet-card .interaction-button.shock {
    background-color: #e74c3c !important;
    color: white !important;
    border: none !important;
}

.pet-card .interaction-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.pet-card .pet-name {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.pet-card .pet-mood-indicator {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

.pet-card button:not(.interaction-button) {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: inherit;
}

.pet-card button:not(.interaction-button):hover {
    background-color: rgba(255, 255, 255, 0.18);
}
