body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.random-poke-bg {
    position: fixed;
    bottom: -15vh;
    right: -10vw;
    width: 75vw;
    height: 75vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    transform: rotate(-10deg);
}

.tab-btn.active {
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: white !important;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    border: none;
}

.poke-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

.poke-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
    border-color: #bae6fd;
}

.btn-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.modal-open {
    opacity: 1 !important;
    pointer-events: auto;
}

.modal-content-open {
    transform: scale(1) !important;
}

/* ESCAPARATE PREMIUM (MÁS PEQUEÑO Y COMPACTO) */
.team-container-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px; 
    padding: 6px 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.85));
    border-radius: 9999px;
    border: 2px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15), inset 0 2px 10px rgba(255, 255, 255, 1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-container-wrapper:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 247, 237, 0.95));
    border-color: #f97316; 
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3), inset 0 2px 10px rgba(255, 255, 255, 1);
    transform: scale(1.02);
}

.poke-bubble {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255,255,255,1) 30%, rgba(224,242,254,1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    transition: all 0.2s ease;
}

@media (min-width: 768px) {
    .poke-bubble { width: 36px; height: 36px; }
}

.poke-bubble:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 12px rgba(249, 115, 22, 0.35);
    border-color: #fde047;
    z-index: 10;
}

.poke-sprite {
    max-width: 140%;
    max-height: 140%;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}

.tooltip-name {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.poke-bubble:hover .tooltip-name {
    opacity: 1;
}

/* MAWILE LEVITANDO */
.mawile-mascot {
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.25));
}

@keyframes float {
    0% { transform: translateY(0px) scale(1.15); }
    50% { transform: translateY(-8px) scale(1.15); }
    100% { transform: translateY(0px) scale(1.15); }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 40px;
}

@media (min-width: 768px) {
    .wave-divider svg { height: 60px; }
}