/* ============================================================
   MENU HIPERVINCULOS - NICC
   Plugin: nicchipervinculos
   Version: Iconos PNG 3D profesionales
   ============================================================ */

.nicc-menu-hipervinculos {
    width: 100%;
    max-width: 2240px;
    min-width: 500px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 20px auto;
    box-sizing: border-box;
}

.nicc-menu-hipervinculos .menu-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 22px;
}

.nicc-menu-hipervinculos .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.nicc-menu-hipervinculos .menu-item {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border-radius: 16px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(99, 102, 241, 0.1);
    box-shadow:
        0 4px 15px rgba(99, 102, 241, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.03);
    text-decoration: none !important;
}

.nicc-menu-hipervinculos .menu-item:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.25);
    background: linear-gradient(145deg, #f8faff, #e8f0ff);
    box-shadow:
        0 10px 30px rgba(99, 102, 241, 0.18),
        0 5px 12px rgba(0, 0, 0, 0.05);
}

.nicc-menu-hipervinculos .menu-item.full-width {
    grid-column: span 2;
    flex-direction: row;
    text-align: left;
    padding: 20px 24px;
}

.nicc-menu-hipervinculos .item-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
}

.nicc-menu-hipervinculos .item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    transition: all 0.3s ease;
}

.nicc-menu-hipervinculos .menu-item.full-width .item-icon {
    width: 56px;
    height: 56px;
    padding: 8px;
}

.nicc-menu-hipervinculos .item-text {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.4;
}

.nicc-menu-hipervinculos .menu-item.full-width .item-text {
    font-size: 1.05rem;
}

.nicc-menu-hipervinculos .menu-item:hover .item-icon {
    transform: scale(1.08);
    box-shadow:
        0 6px 20px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nicc-menu-hipervinculos .menu-item:hover .item-icon img {
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.25));
    transform: scale(1.05);
}

/* ============================================================
   EMOJI FALLBACK (cuando no hay imagen PNG)
   ============================================================ */
.nicc-menu-hipervinculos .emoji-icon {
    font-size: 2.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 520px) {
    .nicc-menu-hipervinculos {
        width: 100%;
        padding: 20px;
    }

    .nicc-menu-hipervinculos .menu-grid {
        gap: 10px;
    }

    .nicc-menu-hipervinculos .menu-item {
        padding: 18px 14px;
    }

    .nicc-menu-hipervinculos .item-icon {
        width: 52px;
        height: 52px;
        padding: 8px;
    }

    .nicc-menu-hipervinculos .item-text {
        font-size: 0.85rem;
    }

    .nicc-menu-hipervinculos .menu-title {
        font-size: 1.3rem;
    }
}
