/* ============================================================
   EXITUS / PORTAL FLOW — Mascot System (Zorro Exitus Oficial)
   Integración dinámica, viva y respetuosa con el diseño del login
   ============================================================ */

/* ── 01. Zorro Estudiante Exitus (Comunidad & Campus Digital) ── */
.community-highlight-card {
    position: relative;
    overflow: visible !important;
}

.mascot-community-tag {
    position: absolute;
    right: -16px;
    bottom: -14px;
    width: 68px;
    height: auto;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-community-tag:hover {
    transform: translateY(-5px) scale(1.1) rotate(2deg);
}

.mascot-img-student {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
    animation: mascotStudentSway 5s ease-in-out infinite alternate;
}

@keyframes mascotStudentSway {
    0% { transform: rotate(0deg) translateY(0); }
    100% { transform: rotate(2deg) translateY(-2px); }
}

/* ── 02. Zorro Meteorólogo (Clima Trigger & Modal) ── */
.clima-mini-mascot-badge {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(245, 181, 10, 0.12);
    border: 1px solid rgba(245, 181, 10, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.clima-mini-trigger:hover .clima-mini-mascot-badge {
    transform: scale(1.06);
    border-color: #F5B50A;
}

.clima-mini-mascot-img {
    width: 26px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* En el Modal de Validación de Llegada */
.clima-modal-mascot-companion {
    position: absolute;
    right: 18px;
    bottom: -6px;
    width: 72px;
    height: auto;
    pointer-events: none;
    z-index: 2;
    opacity: 0.95;
    transition: transform 0.3s ease;
}

.clima-day-box-featured {
    overflow: hidden;
}

.clima-day-box-featured:hover .clima-modal-mascot-companion {
    transform: translateY(-4px) scale(1.05);
}

.clima-modal-mascot-companion img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

/* ── 03. Adaptabilidad Responsiva del Sistema Mascot ── */

/* Tablets & Pantallas Medianas (641px - 1024px) */
@media (max-width: 1024px) {
    .mascot-community-tag {
        right: -8px;
        bottom: -10px;
        width: 58px;
    }
}

/* Móviles Generales (<= 640px) */
@media (max-width: 640px) {
    .mascot-community-tag {
        display: none;
    }
}
